]> git.notmuchmail.org Git - notmuch/blobdiff - lib/notmuch-private.h
lib: Make notmuch_database_get_directory return NULL if the directory is not found
[notmuch] / lib / notmuch-private.h
index 34f7ac7c588f74eb80482bd91f7ff773cb1b90b6..bfb41116adcff104edadf639cd95513b225289bb 100644 (file)
@@ -148,6 +148,9 @@ typedef enum _notmuch_private_status {
 
 /* Flags shared by various lookup functions. */
 typedef enum _notmuch_find_flags {
+    /* Lookup without creating any documents.  This is the default
+     * behavior. */
+    NOTMUCH_FIND_LOOKUP = 0,
     /* If set, create the necessary document (or documents) if they
      * are missing.  Requires a read/write database. */
     NOTMUCH_FIND_CREATE = 1<<0,