X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/518dfa384e0c188a798134f3370c573ca307c51c..5142ae8b113869c992aaffc136ad4afb985c1fd6:/uip/mhparam.c diff --git a/uip/mhparam.c b/uip/mhparam.c index 414255ba..351f0b9b 100644 --- a/uip/mhparam.c +++ b/uip/mhparam.c @@ -47,6 +47,27 @@ char *lockmethod = #endif ; +char *sasl = +#ifdef CYRUS_SASL + "cyrus_sasl"; +#else + ""; +#endif + +char *tls = +#ifdef TLS_SUPPORT + "tls"; +#else + ""; +#endif + +char *mimetypeproc = +#ifdef MIMETYPEPROC + MIMETYPEPROC; +#else + ""; +#endif + struct proc { char *p_name; char **p_field; @@ -63,6 +84,7 @@ static struct proc procs [] = { { "lproc", &lproc }, { "mailproc", &mailproc }, { "mhlproc", &mhlproc }, + { "mimetypeproc", &mimetypeproc }, { "moreproc", &moreproc }, { "msgprot", &msgprot }, { "mshproc", &mshproc }, @@ -80,6 +102,8 @@ static struct proc procs [] = { { "libdir", &mhlibdir }, { "sbackup", &sbackup }, { "lockmethod", &lockmethod }, + { "sasl", &sasl }, + { "tls", &tls }, { NULL, NULL }, }; @@ -201,7 +225,7 @@ p_find(char *str) struct proc *ps; for (ps = procs; ps->p_name; ps++) - if (!mh_strcasecmp (ps->p_name, str)) + if (!strcasecmp (ps->p_name, str ? str : "")) return (*ps->p_field); return NULL;