X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=include%2Fs_auth.h;h=e286d1e7a3f4e30e36ef162f4618fe01ffed9175;hb=refs%2Fheads%2Fupstream;hp=2831088816bd63a7518ab6bd46c582710e599996;hpb=bd863fec8b3422931140f07b89fe7255907eeae9;p=ircu2.10.12-pk.git diff --git a/include/s_auth.h b/include/s_auth.h index 2831088..e286d1e 100644 --- a/include/s_auth.h +++ b/include/s_auth.h @@ -36,7 +36,7 @@ struct StatDesc; extern void start_auth(struct Client *); extern int auth_ping_timeout(struct Client *); extern int auth_set_pong(struct AuthRequest *auth, unsigned int cookie); -extern int auth_set_user(struct AuthRequest *auth, const char *username, const char *userinfo); +extern int auth_set_user(struct AuthRequest *auth, const char *username, const char *hostname, const char *servername, const char *userinfo); extern int auth_set_nick(struct AuthRequest *auth, const char *nickname); extern int auth_set_password(struct AuthRequest *auth, const char *password); extern int auth_cap_start(struct AuthRequest *auth); @@ -45,6 +45,7 @@ extern void destroy_auth_request(struct AuthRequest *req); extern int auth_spawn(int argc, char *argv[]); extern void auth_send_exit(struct Client *cptr); +extern void auth_send_xreply(struct Client *sptr, const char *routing, const char *reply); extern void auth_mark_closing(void); extern void auth_close_unused(void); extern void report_iauth_conf(struct Client *cptr, const struct StatDesc *sd, char *param);