]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-client.h
notmuch: Add a version (0.1 initially) with a new --version option.
[notmuch] / notmuch-client.h
index 77766de2cb56cda4bb8ac019426e16380c380839..08d0a15b79675a6b45397295bf429f9ca3c68aa3 100644 (file)
@@ -51,6 +51,9 @@
 
 #define unused(x) x __attribute__ ((unused))
 
+#define STRINGIFY(s) STRINGIFY_(s)
+#define STRINGIFY_(s) #s
+
 /* There's no point in continuing when we've detected that we've done
  * something wrong internally (as opposed to the user passing in a
  * bogus value).
@@ -123,6 +126,9 @@ notmuch_status_t
 show_message_body (const char *filename,
                   void (*show_part) (GMimeObject *part, int *part_count));
 
+char *
+json_quote_str (const void *ctx, const char *str);
+
 /* notmuch-config.c */
 
 typedef struct _notmuch_config notmuch_config_t;