summaryrefslogtreecommitdiffstats
path: root/notmuch-client-init.c
blob: 60db6ba4a2377df243afa0a116cea55f8b132a4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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 ();
}