aboutsummaryrefslogtreecommitdiff
path: root/database.cc
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2009-10-21 15:53:38 -0700
committerCarl Worth <cworth@cworth.org>2009-10-21 15:56:33 -0700
commitdefd216487bb6549d6e866fe578d2c3d3de77fd6 (patch)
tree6a24e3ecf499f806042eb49eea7a195053f6e24c /database.cc
parent0bbfa570147d2f0aa9d7e2afa1109526efdb353f (diff)
Add notmuch_message_add_tag and notmuch_message_remove_tag
With these two added, we now have enough functionality in the library to implement "notmuch restore".
Diffstat (limited to 'database.cc')
-rw-r--r--database.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/database.cc b/database.cc
index e46fe5d..b598662 100644
--- a/database.cc
+++ b/database.cc
@@ -64,6 +64,8 @@ thread_id_generate (thread_id_t *thread_id)
}
}
+/* XXX: We should drop this function and convert all callers to call
+ * _notmuch_message_add_term instead. */
static void
add_term (Xapian::Document doc,
const char *prefix_name,