X-Git-Url: https://jfr.im/git/irc/evilnet/x3.git/blobdiff_plain/a32da4c70ca85b879f8162469ae37ffeca500b99..17e4d28ec48db02784eebbf107b79d4331848090:/src/nickserv.h?ds=inline diff --git a/src/nickserv.h b/src/nickserv.h index 34345e8..93d66fb 100644 --- a/src/nickserv.h +++ b/src/nickserv.h @@ -1,7 +1,7 @@ /* nickserv.h - Nick/authentiction service * Copyright 2000-2004 srvx Development Team * - * This file is part of srvx. + * This file is part of x3. * * srvx is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -38,8 +38,9 @@ struct svccmd; #define HI_FLAG_NODELETE 0x00000080 #define HI_FLAG_NETWORK_HELPER 0x00000100 #define HI_FLAG_BOT 0x00000200 +#define HI_FLAG_AUTOHIDE 0x00000400 /* Flag characters for the above. First char is LSB, etc. */ -#define HANDLE_FLAGS "SphgscfnHb" +#define HANDLE_FLAGS "SphgscfnHbx" /* HI_STYLE_* go into handle_info.userlist_style */ #define HI_STYLE_DEF 'd' @@ -128,6 +129,8 @@ int nickserv_modify_handle_flags(struct userNode *user, struct userNode *bot, co int oper_has_access(struct userNode *user, struct userNode *bot, unsigned int min_level, unsigned int quiet); void nickserv_show_oper_accounts(struct userNode *user, struct svccmd *cmd); +struct handle_info *loc_auth(char *handle, char *password); + /* auth_funcs are called when a user gets a new handle_info. They are * called *after* user->handle_info has been updated. */ typedef void (*auth_func_t)(struct userNode *user, struct handle_info *old_handle); @@ -156,4 +159,6 @@ void reg_allowauth_func(allowauth_func_t func); typedef void (*failpw_func_t)(struct userNode *user, struct handle_info *handle); void reg_failpw_func(failpw_func_t func); +void send_func_list(struct userNode *user); + #endif