summaryrefslogtreecommitdiffstats
path: root/eurephiadm/commands.h
diff options
context:
space:
mode:
authorDavid Sommerseth <dazo@users.sourceforge.net>2010-11-09 18:45:46 +0100
committerDavid Sommerseth <dazo@users.sourceforge.net>2010-11-09 18:45:46 +0100
commitb895db8cef71822a98ce60886113a9ba34e51fa8 (patch)
tree38ee843bd833550f3d95b0702309e6f3218c7968 /eurephiadm/commands.h
parent83a6d2aee10e81862dbd1d6526ccbab93ef9afbe (diff)
downloadeurephia-b895db8cef71822a98ce60886113a9ba34e51fa8.tar.gz
eurephia-b895db8cef71822a98ce60886113a9ba34e51fa8.tar.xz
eurephia-b895db8cef71822a98ce60886113a9ba34e51fa8.zip
eurephiadm: Added a buildinfo command
This just adds some gathered information about the build, useful for debugging later on. Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
Diffstat (limited to 'eurephiadm/commands.h')
-rw-r--r--eurephiadm/commands.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/eurephiadm/commands.h b/eurephiadm/commands.h
index 8a15bcd..c4a0b1b 100644
--- a/eurephiadm/commands.h
+++ b/eurephiadm/commands.h
@@ -92,6 +92,9 @@ int cmd_AdminAccess(eurephiaCTX *, eurephiaSESSION *, eurephiaVALUES *cfg, int a
void help_EditConfig();
int cmd_EditConfig(eurephiaCTX *, eurephiaSESSION *, eurephiaVALUES *cfg, int argc, char **argv);
+void help_BuildInfo();
+int cmd_BuildInfo(eurephiaCTX *, eurephiaSESSION *, eurephiaVALUES *cfg, int argc, char **argv);
+
/**
* Declaration of all valid commands
* {command, need_session, acclvl, arghints,
@@ -138,6 +141,9 @@ static const eurephiadm_functions cmdline_functions[] = {
{"config", 1, "config", "[-s|-d] <key> [<val>] | [-l]",
"Add, delete or show one config setting", help_EditConfig, cmd_EditConfig},
+ {"buildinfo", 0, "buildinfo", NULL,
+ "Show information related to the eurephia build", help_BuildInfo, cmd_BuildInfo},
+
// End of records marker
{NULL, 0, NULL, NULL,
NULL, NULL, NULL}