CLI: add missing file notmuch-client-init

This file should have been created in commit 5a8d174f, but wasn't.
This commit is contained in:
David Bremner 2021-05-15 08:14:37 -03:00
parent 121f9ddad3
commit ccd2ef3871

18
notmuch-client-init.c Normal file
View file

@ -0,0 +1,18 @@
#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 ();
}