diff options
author | Carl Worth <cworth@cworth.org> | 2009-10-24 22:14:31 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2009-10-24 22:14:31 -0700 |
commit | 0e72d6a9ecf392ec65a23b7c81d33025eaee3e1a (patch) | |
tree | 85bddd5b0e484e143975e3e63f85cc3bf963f8b0 /notmuch.h | |
parent | 309c0e1cc5757e153263b580e60f613f45df630e (diff) |
notmuch_database_create: Document idea to (optionally) return a status
The current problem is that when this function fails the caller
doesn't get any information about what the particular failure
was, (something in the filesystem? or in Xapian?). We should fix
that.
Diffstat (limited to 'notmuch.h')
-rw-r--r-- | notmuch.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -144,6 +144,9 @@ notmuch_database_default_path (void); 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. */ + /* Open a an existing notmuch database located at 'path'. * * The database should have been created at some time in the past, |