notmuch/notmuch-client-init.c
David Bremner ccd2ef3871 CLI: add missing file notmuch-client-init
This file should have been created in commit 5a8d174f, but wasn't.
2021-05-15 08:14:37 -03:00

18 lines
315 B
C

#include "notmuch-client.h"
#include "gmime-filter-reply.h"
/* Caller is responsible for only calling this once */
void
notmuch_client_init (void)
{
#if ! GLIB_CHECK_VERSION (2, 35, 1)
g_type_init ();
#endif
g_mime_init ();
g_mime_filter_reply_module_init ();
talloc_enable_null_tracking ();
}