X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=lib-lua%2Fmadmutt.cpkg;h=aefb74ff0612251fceec7ae294fd48e399a3cc2f;hp=9d1ffd7f4299372949a468d96909918b6d955e31;hb=892df7e70376da43374d834b8a825ea2d59efd06;hpb=cc707c1e986b60f2c1c1932d0789038d465a7a59;ds=sidebyside diff --git a/lib-lua/madmutt.cpkg b/lib-lua/madmutt.cpkg index 9d1ffd7..aefb74f 100644 --- a/lib-lua/madmutt.cpkg +++ b/lib-lua/madmutt.cpkg @@ -77,7 +77,7 @@ static const char *luaM_path_post(const char *val) # define HCACHE_BACKEND "unknown" #endif -@package madmutt { +@package MCore { const string_t version = VERSION; const string_t sysconfdir = SYSCONFDIR; const string_t bindir = BINDIR; @@ -86,7 +86,6 @@ static const char *luaM_path_post(const char *val) path_t dotlock = BINDIR "/mutt_dotlock"; path_t editor = getenv("VISUAL") ?: getenv("EDITOR") ?: "vi"; - path_t sendmail = SENDMAIL " -eom -oi"; path_t shell = madmutt_init_shell(); quadopt_t quit = M_YES; @@ -94,6 +93,13 @@ static const char *luaM_path_post(const char *val) bool beep_new = 0; const string_t pwd(void) = madmutt_pwd(); -} ml_core; +} MCore; + +@package MTransport { + path_t sendmail = SENDMAIL " -eom -oi"; + + string_t dsn_notify = NULL; + string_t dsn_return = NULL; +} MTransport; /* vim:set ft=c: */