Re: expose notmuch_database_new to libraries?

2015-09-26 Thread Jani Nikula
On Sat, 26 Sep 2015, "Wael M. Nasreddine" wrote: > I have a use case where I'd like to call 'notmuch new' > programmatically via the bindings (custom Go bindings). Is it at all > possible to expose notmuch_new_command[0] through lib/notmuch.h? The > logic of

expose notmuch_database_new to libraries?

2015-09-25 Thread Wael M. Nasreddine
Hello, I have a use case where I'd like to call 'notmuch new' programmatically via the bindings (custom Go bindings). Is it at all possible to expose notmuch_new_command[0] through lib/notmuch.h? The logic of notmuch_new_command would probably have to extracted to lib/database.cc for the