summaryrefslogtreecommitdiffstats
path: root/nserver/src/ncmd.h
diff options
context:
space:
mode:
Diffstat (limited to 'nserver/src/ncmd.h')
-rw-r--r--nserver/src/ncmd.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/nserver/src/ncmd.h b/nserver/src/ncmd.h
new file mode 100644
index 0000000..75ac357
--- /dev/null
+++ b/nserver/src/ncmd.h
@@ -0,0 +1,14 @@
+#ifndef _ncmd_h
+#define _ncmd_h
+
+#include <string.h>
+
+#include <dbg.h>
+
+#define CMD_MIN_SIZE 5
+#define CMD_MAX_SIZE 120
+
+int sanitize(char *cmd);
+char *check_cmd(char *cmd);
+
+#endif