diff options
author | Carl Worth <cworth@cworth.org> | 2009-10-23 05:41:17 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2009-10-23 05:48:52 -0700 |
commit | 17548e314a8f190765ca714d626068c5afef2cb4 (patch) | |
tree | 636d4fe4fddc93bd9c15eee96ba010e577ed2bb9 /notmuch-private.h | |
parent | 868d3b30683e40af723a8c94141172bd78d2b118 (diff) |
Add internal functions for manipulating a new notmuch_message_t
This will support the add_message function in incrementally creating
state in a new notmuch_message_t. The new functions are
_notmuch_message_set_filename
_notmuch_message_add_thread_id
_notmuch_message_ensure_thread_id
_notmuch_message_set_date
_notmuch_message_sync
Diffstat (limited to 'notmuch-private.h')
-rw-r--r-- | notmuch-private.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/notmuch-private.h b/notmuch-private.h index c8f53a7..8060254 100644 --- a/notmuch-private.h +++ b/notmuch-private.h @@ -132,6 +132,24 @@ _notmuch_message_remove_term (notmuch_message_t *message, const char *prefix_name, const char *value); +void +_notmuch_message_set_filename (notmuch_message_t *message, + const char *filename); + +void +_notmuch_message_add_thread_id (notmuch_message_t *message, + const char *thread_id); + +void +_notmuch_message_ensure_thread_id (notmuch_message_t *message); + +void +_notmuch_message_set_date (notmuch_message_t *message, + const char *date); + +void +_notmuch_message_sync (notmuch_message_t *message); + /* message-file.c */ /* XXX: I haven't decided yet whether these will actually get exported |