added structure for future fun-commands
[NeonServV5.git] / src / modcmd.h
index 4c8da64da1942b6304bb9ed7a8c97fba6d6bbc5b..4ba89a96a4090ed2df73fc3f135673c589242bf6 100644 (file)
@@ -32,6 +32,8 @@
 #define CMDFLAG_OPLOG                   0x0200
 #define CMDFLAG_EMPTY_ARGS              0x0400
 #define CMDFLAG_REQUIRED                0x0800
+#define CMDFLAG_TEMPONARY_BIND          0x1000
+#define CMDFLAG_FUNCMD                  0x2000
 
 struct ClientSocket;
 struct UserNode;
@@ -91,4 +93,7 @@ void bind_set_channel_access(int botid, char *cmd, char *chanaccess);
 struct cmd_binding *find_cmd_binding(int botid, char *cmd);
 void bind_unbound_required_functions(int botid);
 
+void register_command_alias(int botid, char *alias);
+struct cmd_binding *getAllBinds(struct cmd_binding *last);
+
 #endif
\ No newline at end of file