extern UserMessageHandler umhandlers[MAXLOCALUSER+1];
-nick *registerlocaluser(char *nickname, char *ident, char *host, char *realname, char *authname, flag_t umodes, UserMessageHandler hander);
+#define registerlocaluser(nickname, ident, host, realname, authname, umodes, handler) registerlocaluserflags(nickname, ident, host, realname, authname, 0, 0, umodes, handler)
+nick *registerlocaluserflags(char *nickname, char *ident, char *host, char *realname, char *authname, unsigned long authid, flag_t accountflags, flag_t umodes, UserMessageHandler hander);
int renamelocaluser(nick *np, char *newnick);
int deregisterlocaluser(nick *np, char *reason);
UserMessageHandler hooklocaluserhandler(nick *np, UserMessageHandler newhandler);
void sendsecuremessagetouser(nick *source, nick *target, char *servername, char *format, ... );
void sendnoticetouser(nick *source, nick *target, char *format, ... );
void killuser(nick *source, nick *target, char *format, ... );
-void localusersetaccount(nick *np, char *accname);
+void localusersetaccount(nick *np, char *accname, unsigned long accid, flag_t accountflags, time_t authTS);
void localusersetumodes(nick *np, flag_t newmodes);
+void sethostuser(nick *target, char *ident, char *host);
+void localusersetaccountflags(authname *anp, flag_t accountflags);
#endif