From d136a1e2cffe954d83495c0f8e45d5ce97583e90 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Sun, 15 Nov 2009 20:36:51 -0800 Subject: Add _notmuch_message_get_in_reply_to. The existing notmuch_message_get_header is *almost* good enough for this, except that we also need to remove the '<' and '>' delimiters. We'll probably want to implement this function with database storage in the future rather than loading the email message. --- lib/notmuch-private.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/notmuch-private.h') diff --git a/lib/notmuch-private.h b/lib/notmuch-private.h index 74edf24..c4b6639 100644 --- a/lib/notmuch-private.h +++ b/lib/notmuch-private.h @@ -172,6 +172,9 @@ _notmuch_message_create_for_message_id (const void *talloc_owner, const char *message_id, notmuch_private_status_t *status); +const char * +_notmuch_message_get_in_reply_to (notmuch_message_t *message); + notmuch_private_status_t _notmuch_message_add_term (notmuch_message_t *message, const char *prefix_name, -- cgit v1.2.3