diff options
| author | David Bremner <david@tethera.net> | 2021-05-12 20:22:18 -0300 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2021-05-14 06:40:37 -0300 |
| commit | 5a8d174f6797844580b52857a6254c25ce532d1c (patch) | |
| tree | 202442b6ba8d8d52058e202f8ed8457f06457390 /notmuch-client.h | |
| parent | b1b679858868d1a004b67a1a6eccb6c9d3f755e9 (diff) | |
CLI: centralize initialization in notmuch_client_init
Initially make sure gmime_filter_reply initialization is
thread-safe (assuming notmuch_client_init is only called once).
For tidyness, also put talloc initialization in the new function.
Diffstat (limited to 'notmuch-client.h')
| -rw-r--r-- | notmuch-client.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/notmuch-client.h b/notmuch-client.h index 270553ad..8227fea4 100644 --- a/notmuch-client.h +++ b/notmuch-client.h @@ -250,6 +250,10 @@ json_quote_chararray (const void *ctx, const char *str, const size_t len); char * json_quote_str (const void *ctx, const char *str); +/* notmuch-client-init.c */ + +void notmuch_client_init (void); + /* notmuch-config.c */ typedef enum { |
