X-Git-Url: https://jfr.im/git/irc/quakenet/newserv.git/blobdiff_plain/1a96a370b0727c695adf77a4257bcf6d9a4c81c7..ddb996fc994eb24bd0b0632f4aff47817e3a8a40:/authext/authext.h diff --git a/authext/authext.h b/authext/authext.h index adc02205..81e58616 100644 --- a/authext/authext.h +++ b/authext/authext.h @@ -4,6 +4,8 @@ #include "../irc/irc_config.h" #include "../lib/flags.h" +#include + #define MAXAUTHNAMEEXTS 5 struct nick; @@ -15,7 +17,7 @@ typedef struct authname { struct nick *nicks; struct authname *next, *nextbyname; unsigned int namebucket; - flag_t flags; + u_int64_t flags; char name[ACCOUNTLEN+1]; /* These are extensions only used by other modules */ void *exts[MAXAUTHNAMEEXTS]; @@ -30,7 +32,7 @@ authname *newauthname(void); void freeauthname (authname *hp); /* EXT management */ -int registerauthnameext(const char *name); +int registerauthnameext(const char *name, int persistant); int findauthnameext(const char *name); void releaseauthnameext(int index);