]> jfr.im git - solanum.git/blobdiff - authd/authd.h
authd: fix undefined behaviour
[solanum.git] / authd / authd.h
index c94c534c8aa873a00ef4d024d6698fef4ea31319..b44a85d96de555b1d2591a86df82a1af2892133d 100644 (file)
 #ifndef _AUTHD_H
 #define _AUTHD_H
 
-#include <ratbox_lib.h>
+#include <rb_lib.h>
 #include <stdio.h>
 
 #include "setup.h"
-#include "common.h"
+#include "ircd_defs.h"
 
 extern rb_helper *authd_helper;
 
 typedef void (*authd_cmd_handler)(int parc, char *parv[]);
-extern authd_cmd_handler authd_cmd_handlers[255];
+typedef void (*authd_stat_handler)(const char *rid, const char letter);
+typedef void (*authd_reload_handler)(const char letter);
+
+extern authd_cmd_handler authd_cmd_handlers[256];
+extern authd_stat_handler authd_stat_handlers[256];
+extern authd_reload_handler authd_reload_handlers[256];
 
 #endif