X-Git-Url: https://jfr.im/git/solanum.git/blobdiff_plain/9b24cbdecc72337e825764f39cdf59ca23f41788..ffa79a95165d6b55c614201f36d3bef2d49fdd76:/authd/authd.h diff --git a/authd/authd.h b/authd/authd.h index 07c746ca..f9e7e2f2 100644 --- a/authd/authd.h +++ b/authd/authd.h @@ -28,6 +28,13 @@ #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];