aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/notmuch-private.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <hohndel@infradead.org>2010-04-24 11:20:53 -0700
committerGravatar Carl Worth <cworth@cworth.org>2010-04-26 11:44:49 -0700
commit57561414d76297c16b4b6f3da570f14b4ddf020c (patch)
treea1a35db1cd248a0e3bc4bfbda6dd832199e76be3 /lib/notmuch-private.h
parentb66ff567f6b65c7aafa1216294900303ad3aa4d4 (diff)
Add authors member to message
message->authors contains the author's name (as we want to print it) get / set methods are declared in notmuch-private.h Signed-off-by: Dirk Hohndel <hohndel@infradead.org>
Diffstat (limited to 'lib/notmuch-private.h')
-rw-r--r--lib/notmuch-private.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/notmuch-private.h b/lib/notmuch-private.h
index 94cce1bc..6e83cc37 100644
--- a/lib/notmuch-private.h
+++ b/lib/notmuch-private.h
@@ -275,6 +275,16 @@ _notmuch_message_talloc_copy_data (notmuch_message_t *message);
void
_notmuch_message_clear_data (notmuch_message_t *message);
+/* Set the author member of 'message' - this is the representation used
+ * when displaying the message */
+void
+notmuch_message_set_author (notmuch_message_t *message, const char *author);
+
+/* Get the author member of 'message' */
+const char *
+notmuch_message_get_author (notmuch_message_t *message);
+
+
/* index.cc */
notmuch_status_t