]> jfr.im git - solanum.git/blobdiff - authd/authd.h
Use rb_dlink_list_length... == 0, not !rb_dlink_list_length
[solanum.git] / authd / authd.h
index 07c746ca6fedcbe01f3dd3c2e7251a853585f5e7..f9e7e2f28e7064261c2143814efc2744fd274929 100644 (file)
 #include "setup.h"
 #include "ircd_defs.h"
 
+typedef enum exit_reasons
+{
+       EX_ERROR = 1,
+       EX_DNS_ERROR = 2,
+       EX_PROVIDER_ERROR = 3,
+} exit_reasons;
+
 typedef void (*provider_opts_handler_t)(const char *, int, const char **);
 
 struct auth_opts_handler
@@ -40,7 +47,7 @@ struct auth_opts_handler
 extern rb_helper *authd_helper;
 
 typedef void (*authd_cmd_handler)(int parc, char *parv[]);
-typedef void (*authd_stat_handler)(const char *rid, const char letter);
+typedef void (*authd_stat_handler)(uint32_t rid, const char letter);
 typedef void (*authd_reload_handler)(const char letter);
 
 extern authd_cmd_handler authd_cmd_handlers[256];