]> jfr.im git - irc/quakenet/newserv.git/blobdiff - localuser/localuser.h
glines: Include target nick in error message for block command.
[irc/quakenet/newserv.git] / localuser / localuser.h
index 2227a7f1523cecca397924cccef2d558c8b56c30..7787b349d9fec2bfa2dd26e8e190b28a2ba02b73 100644 (file)
@@ -33,13 +33,15 @@ void sendnickburst(int hooknum, void *arg);
 int handleprivatemsgcmd(void *source, int cargc, char **cargv);
 int handleprivatenoticecmd(void *source, int cargc, char **cargv);
 int handlemessageornotice(void *source, int cargc, char **cargv, int isnotice);
-void sendmessagetouser(nick *source, nick *target, char *format, ... );
-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, unsigned long accid, flag_t accountflags, time_t authTS);
+void sendmessagetouser(nick *source, nick *target, char *format, ... ) __attribute__ ((format (printf, 3, 4)));
+void sendsecuremessagetouser(nick *source, nick *target, char *servername, char *format, ... ) __attribute__ ((format (printf, 4, 5)));
+void sendnoticetouser(nick *source, nick *target, char *format, ... ) __attribute__ ((format (printf, 3, 4)));
+void killuser(nick *source, nick *target, char *format, ... ) __attribute__ ((format (printf, 3, 4)));
+void localusersetaccount(nick *np, char *accname, unsigned long accid, u_int64_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);
+void localusersetaccountflags(authname *anp, u_int64_t accountflags);
+void localuseraddcloaktarget(nick *np, nick *target);
+void localuserclearcloaktargets(nick *np);
 
 #endif