[PATCH v2 1/5] lib/cli: Make notmuch_database_get_directory return a status code

2012-05-13 Thread Austin Clements
Previously, notmuch_database_get_directory had no way to indicate how it had failed. This changes its prototype to return a status code and set an out-argument to the retrieved directory, like similar functions in the library API. This does *not* change its currently broken behavior of creating

[PATCH v2 1/5] lib/cli: Make notmuch_database_get_directory return a status code

2012-05-13 Thread Austin Clements
Previously, notmuch_database_get_directory had no way to indicate how it had failed. This changes its prototype to return a status code and set an out-argument to the retrieved directory, like similar functions in the library API. This does *not* change its currently broken behavior of creating