expose notmuch_database_new to libraries?

Subject: expose notmuch_database_new to libraries?

Date: Fri, 25 Sep 2015 19:43:03 -0700

To: notmuch

Cc:

From: 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 exposure.

Thanks,

Wael


[0]: https://github.com/notmuch/notmuch/blob/master/notmuch-new.c#L933

-- 
Wael Nasreddine | Senior Full Stack Engineer at Dailymotion | (650) 933-3448

Thread: