X-Git-Url: https://jfr.im/git/irc/quakenet/newserv.git/blobdiff_plain/3294b10b165b8f9c1e7896b89015e9eccd14db24..28aa186de14dc4fa7488866e70beb6ae933dde79:/localuser/localuser.h diff --git a/localuser/localuser.h b/localuser/localuser.h index 2227a7f1..7787b349 100644 --- a/localuser/localuser.h +++ b/localuser/localuser.h @@ -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