]> git.notmuchmail.org Git - notmuch/blobdiff - lib/notmuch-private.h
lib: private string map (associative array) API
[notmuch] / lib / notmuch-private.h
index 682b03d82b09b05a9c4ffbd0d8fee00968e7ce46..77011063d1995e73a8d26a8689daf18a40c1a1f0 100644 (file)
@@ -544,6 +544,17 @@ _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 *