unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* expose notmuch_database_new to libraries?
@ 2015-09-26  2:43 Wael M. Nasreddine
  2015-09-26  7:35 ` Jani Nikula
  0 siblings, 1 reply; 2+ messages in thread
From: Wael M. Nasreddine @ 2015-09-26  2:43 UTC (permalink / raw)
  To: notmuch

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-09-26  7:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-26  2:43 expose notmuch_database_new to libraries? Wael M. Nasreddine
2015-09-26  7:35 ` Jani Nikula

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).