]> andersk Git - moira.git/commitdiff
added miscellaneous menu
authormar <mar>
Wed, 5 Oct 1988 13:14:39 +0000 (13:14 +0000)
committermar <mar>
Wed, 5 Oct 1988 13:14:39 +0000 (13:14 +0000)
clients/moira/menus.c

index 875b93c3b20fd5821ba77d1f046747ca49f3a3e5..d6bbba3a7b833a9f36d2e6bf822c1dfd9aab3fef 100644 (file)
@@ -542,6 +542,32 @@ Menu printer_menu = {
   }
 };
 
+
+/*
+ * Miscellaneous Menu
+ */
+
+Menu misc_menu = {
+    NULLFUNC,
+    NULLFUNC,
+    "Miscellaneous Menu",
+    4,
+    {
+       SIMPLEFUNC("statistics", "Show database statistics", TableStats),
+       SIMPLEFUNC("clients", "Show active SMS clients", ShowClients),
+       { ShowValue, NULLMENU, 2, {
+           {"getval", "Show a database variable value"},
+           {"name", "variable name: "},
+       } },
+       { ShowAlias, NULLMENU, 3, {
+           {"getalias", "Show an alias relation"},
+           {"name", "Alias name: "},
+           {"type", "Alias type: "},
+       } },
+    }
+};
+
+
 /* ------------------------- Root Menu ------------------------- */
 
 /* 
@@ -552,7 +578,7 @@ Menu sms_top_menu = {
   NULLFUNC,
   NULLFUNC,
   "Sms Database Manipulation",
-  8,
+  9,
   {
     SUBMENU("cluster","Cluster Menu",&cluster_menu),
     SUBMENU("filesys","Filesystem Menu", &filesys_menu),
@@ -561,6 +587,7 @@ Menu sms_top_menu = {
     SUBMENU("nfs","NFS Physical Menu", &nfsphys_menu),
     SUBMENU("user","User Menu", &user_menu),
     SUBMENU("printer", "Printer Menu", &printer_menu),
-    SUBMENU("dcm", "DCM Menu", &dcm_menu)
+    SUBMENU("dcm", "DCM Menu", &dcm_menu),
+    SUBMENU("misc", "Miscellaneous Menu", &misc_menu)
   }
 };  
This page took 0.058219 seconds and 5 git commands to generate.