aboutsummaryrefslogtreecommitdiffstats
path: root/tbl_qcmd.h
diff options
context:
space:
mode:
authorFreeArtMan <dos21h@gmail.com>2017-09-30 22:51:45 +0100
committerFreeArtMan <dos21h@gmail.com>2017-09-30 22:51:45 +0100
commit512f057166af84c11fc7ed5e4768b9dd2fe9f590 (patch)
treebe57349725502ad9ef14d70a4e32ff3ffb2bea94 /tbl_qcmd.h
parent8c97104aa6fac4a7ed54d97bbcb1aed5e2398713 (diff)
downloadagni-512f057166af84c11fc7ed5e4768b9dd2fe9f590.tar.gz
agni-512f057166af84c11fc7ed5e4768b9dd2fe9f590.zip
comand rpc sends/recieves packets woohoo
Diffstat (limited to 'tbl_qcmd.h')
-rw-r--r--tbl_qcmd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tbl_qcmd.h b/tbl_qcmd.h
index 6bf799a..8898612 100644
--- a/tbl_qcmd.h
+++ b/tbl_qcmd.h
@@ -11,6 +11,7 @@
#include "util.h"
#include "irc_parse.h"
+#include "nbrpc_call.h"
#define EXEC_CURRENT 0 //executes in current thread
#define EXEC_SEPERATE 1 //executes in seperate thread
@@ -192,7 +193,7 @@ Output:
>=0 - index in list of commands
-1 - somethign whent wrong
*/
-int tbl_exec_run(tbl_exec *tbl, char *cmd, void **resp);
+int tbl_exec_run(tbl_exec *tbl, char *cmd, char *user, char *mask, char *server, void **resp);//in future to change cmd to some dict structure
/*