aboutsummaryrefslogtreecommitdiff
path: root/lib/notmuch.h
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2009-11-21 22:10:18 +0100
committerCarl Worth <cworth@cworth.org>2009-11-21 22:10:18 +0100
commit637f99d8f3f45867d0a856503f9f302333824c07 (patch)
tree725fe7c08aa5ac076616e7f8dab8a4c0063ed221 /lib/notmuch.h
parentf379aa52845f5594aa6cc2e7cf131d5f57202bbf (diff)
Rename NOTMUCH_DATABASE_MODE_WRITABLE to NOTMUCH_DATABASE_MODE_READ_WRITE
And correspondingly, READONLY to READ_ONLY.
Diffstat (limited to 'lib/notmuch.h')
-rw-r--r--lib/notmuch.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/notmuch.h b/lib/notmuch.h
index 89ed7ad..bbeec55 100644
--- a/lib/notmuch.h
+++ b/lib/notmuch.h
@@ -137,14 +137,14 @@ typedef struct _notmuch_tags notmuch_tags_t;
notmuch_database_t *
notmuch_database_create (const char *path);
-/* XXX: I think I'd like this to take an extra argument of
- * notmuch_status_t* for returning a status value on failure. */
-
typedef enum {
- NOTMUCH_DATABASE_MODE_READONLY = 0,
- NOTMUCH_DATABASE_MODE_WRITABLE
+ NOTMUCH_DATABASE_MODE_READ_ONLY = 0,
+ NOTMUCH_DATABASE_MODE_READ_Write
} notmuch_database_mode_t;
+/* XXX: I think I'd like this to take an extra argument of
+ * notmuch_status_t* for returning a status value on failure. */
+
/* Open an existing notmuch database located at 'path'.
*
* The database should have been created at some time in the past,