aboutsummaryrefslogtreecommitdiff
path: root/lib/message-private.h
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2016-06-12 22:05:50 -0300
committerDavid Bremner <david@tethera.net>2016-09-21 18:14:24 -0300
commitb8bb6d796458732622f80464dd808b3e02f57d9d (patch)
treeb9c301e7aeb3ddb4e9b773eaedc9ea24ee302611 /lib/message-private.h
parent8b03ee1d5a310f82718281362d105ff09e30148f (diff)
lib: basic message-property API
Initially, support get, set and removal of single key/value pair, as well as removing all properties.
Diffstat (limited to 'lib/message-private.h')
-rw-r--r--lib/message-private.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/message-private.h b/lib/message-private.h
new file mode 100644
index 00000000..74199256
--- /dev/null
+++ b/lib/message-private.h
@@ -0,0 +1,16 @@
+#ifndef MESSAGE_PRIVATE_H
+#define MESSAGE_PRIVATE_H
+
+notmuch_string_map_t *
+_notmuch_message_property_map (notmuch_message_t *message);
+
+notmuch_bool_t
+_notmuch_message_frozen (notmuch_message_t *message);
+
+void
+_notmuch_message_remove_terms (notmuch_message_t *message, const char *prefix);
+
+void
+_notmuch_message_invalidate_metadata (notmuch_message_t *message, const char *prefix_name);
+
+#endif