]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-client.h
notmuch: Add a new "notmuch config" command for querying configuration.
[notmuch] / notmuch-client.h
index bd75211ee136b301c0ba9a6b5101c5163dc81720..d530578ad9bd0dc8cfe2dc328c25dc86ac09efd2 100644 (file)
@@ -113,6 +113,9 @@ notmuch_search_tags_command (void *ctx, int argc, char *argv[]);
 int
 notmuch_part_command (void *ctx, int argc, char *argv[]);
 
+int
+notmuch_config_command (void *ctx, int argc, char *argv[]);
+
 const char *
 notmuch_time_relative_date (const void *ctx, time_t then);
 
@@ -174,7 +177,7 @@ void
 notmuch_config_set_user_primary_email (notmuch_config_t *config,
                                       const char *primary_email);
 
-char **
+const char **
 notmuch_config_get_user_other_email (notmuch_config_t *config,
                                     size_t *length);
 
@@ -183,7 +186,7 @@ notmuch_config_set_user_other_email (notmuch_config_t *config,
                                     const char *other_email[],
                                     size_t length);
 
-char **
+const char **
 notmuch_config_get_new_tags (notmuch_config_t *config,
                             size_t *length);
 void