]> diplodocus.org Git - nmh/blobdiff - uip/mhparam.c
Beginnings of a new library API.
[nmh] / uip / mhparam.c
index a3f4d78ca8da9eac32b80504c2076549c8e9783c..9b5fa069634f873b28614f6dd71ec1e2a9c9a9ad 100644 (file)
@@ -29,8 +29,10 @@ DEFINE_SWITCH_ENUM(MHPARAM);
 DEFINE_SWITCH_ARRAY(MHPARAM, switches);
 #undef X
 
-extern char *mhetcdir;
+extern char *mhbindir;
 extern char *mhlibexecdir;
+extern char *mhetcdir;
+extern char *mhdocdir;
 
 static char *sbackup = BACKUP_PREFIX;
 
@@ -111,9 +113,11 @@ static struct proc procs [] = {
      { "version",          &version_num },
      { "whatnowproc",      &whatnowproc },
      { "whomproc",         &whomproc },
-     { "etcdir",           &mhetcdir },
-     { "libdir",           &mhlibexecdir },
+     { "bindir",           &mhbindir },
      { "libexecdir",       &mhlibexecdir },
+     { "libdir",           &mhlibexecdir },
+     { "etcdir",           &mhetcdir },
+     { "docdir",           &mhdocdir },
      { "localmbox",       &localmbox },
      { "sbackup",          &sbackup },
      { "datalocking",      &datalocking },