X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=lib%2Fnotmuch-private.h;h=77011063d1995e73a8d26a8689daf18a40c1a1f0;hp=3721431e02e005e697d7e3e15f11a48a6a2edc44;hb=8b03ee1d5a310f82718281362d105ff09e30148f;hpb=92d8eae8f182e4eebc87d76f8d4f37e6c018883a diff --git a/lib/notmuch-private.h b/lib/notmuch-private.h index 3721431e..77011063 100644 --- a/lib/notmuch-private.h +++ b/lib/notmuch-private.h @@ -196,6 +196,10 @@ void _notmuch_database_log (notmuch_database_t *notmuch, const char *format, ...); +void +_notmuch_database_log_append (notmuch_database_t *notmuch, + const char *format, ...); + unsigned long _notmuch_database_new_revision (notmuch_database_t *notmuch); @@ -537,6 +541,20 @@ _notmuch_string_list_append (notmuch_string_list_t *list, void _notmuch_string_list_sort (notmuch_string_list_t *list); +/* string-map.c */ +typedef struct _notmuch_string_map notmuch_string_map_t; + +notmuch_string_map_t * +_notmuch_string_map_create (const void *ctx); + +void +_notmuch_string_map_append (notmuch_string_map_t *map, + const char *key, + const char *value); + +const char * +_notmuch_string_map_get (notmuch_string_map_t *map, const char *key); + /* tags.c */ notmuch_tags_t *