]> git.notmuchmail.org Git - notmuch/blobdiff - lib/string-list.c
lib: use phrase search for anything not ending in '*'
[notmuch] / lib / string-list.c
index 43ebe4993e8f26db6441f46e7af5dc6b42886d0e..9c3ae7ef2a30eb6127cb3b180f2385ee5da0d5ea 100644 (file)
@@ -42,6 +42,12 @@ _notmuch_string_list_create (const void *ctx)
     return list;
 }
 
+int
+_notmuch_string_list_length (notmuch_string_list_t *list)
+{
+    return list->length;
+}
+
 void
 _notmuch_string_list_append (notmuch_string_list_t *list,
                             const char *string)