X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-client.h;h=08d0a15b79675a6b45397295bf429f9ca3c68aa3;hp=77766de2cb56cda4bb8ac019426e16380c380839;hb=b2a9fcd5cfd1bf84321b8bf53b37e7fb98618d6e;hpb=63ef5cd07320f70db84d94cc88c4fd3ead534a87 diff --git a/notmuch-client.h b/notmuch-client.h index 77766de2..08d0a15b 100644 --- a/notmuch-client.h +++ b/notmuch-client.h @@ -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;