From 512f057166af84c11fc7ed5e4768b9dd2fe9f590 Mon Sep 17 00:00:00 2001 From: FreeArtMan Date: Sat, 30 Sep 2017 22:51:45 +0100 Subject: comand rpc sends/recieves packets woohoo --- tbl_qcmd.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tbl_qcmd.h') 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 /* -- cgit v1.2.3