added first command requesting asynchronous data (adduser)
[NeonServV5.git] / modcmd.h
index 5c76a6ad5e94b31fd8cb62ecf90cabe88918f788..aac4119e42b735c1411f8900c2ff372e17ecd059 100644 (file)
--- a/modcmd.h
+++ b/modcmd.h
@@ -32,6 +32,7 @@ struct cmd_binding {
     struct cmd_function *func;
     unsigned int flags;
     char *parameters;
+    int gaccess;
     
     struct cmd_binding *next;
 };
@@ -52,5 +53,8 @@ int changeChannelTrigger(int botid, struct ChanNode *chan, char *new_trigger);
 int bind_cmd_to_function(int botid, char *cmd, struct cmd_function *func);
 int bind_cmd_to_command(int botid, char *cmd, char *func);
 int unbind_cmd(int botid, char *cmd);
+struct ClientSocket *getTextBot();
+void bind_set_parameters(int botid, char *cmd, char *parameters);
+void bind_set_gaccess(int botid, char *cmd, int gaccess);
 
 #endif
\ No newline at end of file