From 417edbce2abde566e94d8986b487293d55e173c0 Mon Sep 17 00:00:00 2001 From: FreeArtMan Date: Thu, 4 May 2017 22:21:39 +0100 Subject: Added new commands CMD,SHA1. Added support of params for commands. Fixed some bugs with uninitialised buffers --- config_cmds.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'config_cmds.h') diff --git a/config_cmds.h b/config_cmds.h index 125708b..8488cc0 100644 --- a/config_cmds.h +++ b/config_cmds.h @@ -15,6 +15,8 @@ typedef struct single_cmd_def #include "cmd_ping.h" #include "cmd_loadavg.h" #include "cmd_rusage.h" +#include "cmd_cmd.h" +#include "cmd_sha1.h" single_cmd_def confgi_cmd_list[] = { @@ -24,6 +26,8 @@ single_cmd_def confgi_cmd_list[] = {"PING",cmd_ping}, {"LOADAVG",cmd_loadavg}, {"RUSE",cmd_rusage}, + {"CMD",cmd_cmd}, + {"SHA1",cmd_sha1}, {NULL,NULL} }; -- cgit v1.2.3