X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fmhbuild.c;h=cfe776fe9c816741b37eac374bdd4539726352f0;hp=b16e8c96b4948c7d56ae109d93f83a6885bbfc48;hb=1bb1f6c3f38b05060bf699ea2743f7386889bf63;hpb=4885712264980e6cbc2039f9158027bee9213475 diff --git a/uip/mhbuild.c b/uip/mhbuild.c index b16e8c9..cfe776f 100644 --- a/uip/mhbuild.c +++ b/uip/mhbuild.c @@ -20,6 +20,7 @@ #include #include #include +#include #ifdef HAVE_SYS_WAIT_H # include @@ -58,11 +59,15 @@ static struct swit switches[] = { { "rcache policy", 0 }, #define WCACHESW 15 { "wcache policy", 0 }, -#define VERSIONSW 16 +#define CONTENTIDSW 16 + { "contentid", 0 }, +#define NCONTENTIDSW 17 + { "nocontentid", 0 }, +#define VERSIONSW 18 { "version", 0 }, -#define HELPSW 17 +#define HELPSW 19 { "help", 0 }, -#define DEBUGSW 18 +#define DEBUGSW 20 { "debug", -5 }, { NULL, 0 } }; @@ -84,6 +89,7 @@ int verbosw = 0; int ebcdicsw = 0; int listsw = 0; int rfc934sw = 0; +int contentidsw = 1; /* * Temporary files @@ -218,6 +224,13 @@ main (int argc, char **argv) sizesw = 0; continue; + case CONTENTIDSW: + contentidsw = 1; + continue; + case NCONTENTIDSW: + contentidsw = 0; + continue; + case VERBSW: verbosw++; continue;