]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-client.h
notmuch search: Add --first and --max-threads options for incremental search.
[notmuch] / notmuch-client.h
index f3396d0df721f5dd8bfa03b3a406d26d8a859412..1081a159db573cc0bcfc23bf7593822a8532f26d 100644 (file)
@@ -66,6 +66,9 @@
 
 #define ARRAY_SIZE(arr) (sizeof (arr) / sizeof (arr[0]))
 
+#define STRNCMP_LITERAL(var, literal) \
+    strncmp ((var), (literal), sizeof (literal) - 1)
+
 typedef int (*command_function_t) (void *ctx, int argc, char *argv[]);
 
 typedef struct command {