X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fmhparam.c;h=2c61e608076236bb2042a0b4d414215412dc7686;hb=refs%2Fheads%2Fmaster;hp=6ac0a2200d353eae2f6935c2f864e1bafd91c799;hpb=cf1205b5cbea2f0cd6ea710ec16c637df85b647c;p=mmh diff --git a/uip/mhparam.c b/uip/mhparam.c index 6ac0a22..e02bf49 100644 --- a/uip/mhparam.c +++ b/uip/mhparam.c @@ -28,6 +28,8 @@ static struct swit switches[] = { { NULL, 0 } }; +char *version=VERSION; + struct proc { char *p_name; char **p_field; @@ -41,8 +43,8 @@ char *empty = ""; */ static struct proc procs [] = { { "#--Version--", &empty }, - { "version", &version_num }, - { "version-str", &version_str }, + { "version", &version }, + { "lib-version", &lib_version }, { "#--Path-and-File-Names--", &empty }, { "mypath", &mypath }, @@ -76,7 +78,6 @@ static struct proc procs [] = { { "mimetypequery-component", &mimetypequery }, { "nmhstorage-component", &nmhstorage }, { "nsequence-component", &nsequence }, - { "psequence-component", &psequence }, { "usequence-component", &usequence }, { "#--Mmh-specific-Mail-Header-Names--", &empty }, @@ -98,6 +99,7 @@ static struct proc procs [] = { { "replgroupcomps", &replgroupcomps }, { "mhlformat", &mhlformat }, { "mhlreply", &mhlreply }, + { "scanformat", &scanformat }, { "#--Default-Sequence-Names--", &empty }, { "seq-all", &seq_all }, @@ -106,7 +108,6 @@ static struct proc procs [] = { { "seq-first", &seq_first }, { "seq-last", &seq_last }, { "seq-next", &seq_next }, - { "previous-sequence", &seq_prev }, { "unseen-sequence", &seq_unseen }, { "sequence-negation", &seq_neg }, @@ -204,7 +205,7 @@ main(int argc, char **argv) components = compp > 1; for (i = 0; i < compp; i++) { - register char *value; + char *value; value = context_find(comps[i]); if (!value)