X-Git-Url: https://jfr.im/git/irc/quakenet/newserv.git/blobdiff_plain/8cea37dff5c54ce9ee6bc71e8865550ae0db3e5e..0d6366b6a61a69b26dc0cde44eb85e3293c6659d:/authext/authext.h diff --git a/authext/authext.h b/authext/authext.h index 0e9a7f6f..81e58616 100644 --- a/authext/authext.h +++ b/authext/authext.h @@ -1,8 +1,11 @@ #ifndef __AUTHEXT_H #define __AUTHEXT_H +#include "../irc/irc_config.h" #include "../lib/flags.h" +#include + #define MAXAUTHNAMEEXTS 5 struct nick; @@ -14,7 +17,8 @@ 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]; } authname; @@ -28,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);