From e4b5445b3ca844e568a84abbf931a026a6ca6226 Mon Sep 17 00:00:00 2001 From: Test_User Date: Wed, 3 May 2023 22:57:53 -0400 Subject: C HaxServ --- commands.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 commands.h (limited to 'commands.h') diff --git a/commands.h b/commands.h new file mode 100644 index 0000000..610ed89 --- /dev/null +++ b/commands.h @@ -0,0 +1,14 @@ +#include + +#include "types.h" +#include "table.h" + +struct command_def { + int (*func)(struct string sender, struct string original_message, struct string to, uint64_t argc, struct string *argv); + struct string privs; + uint8_t local_only; +}; + +extern struct table user_commands; + +extern int init_user_commands(void); -- cgit v1.2.3