X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=include%2Fs_user.h;h=78035035da577ef33e271961781d71592f054d9c;hb=5fc729d47823a57c8e6e0e3b078522eccd120ca7;hp=7b1fc1800cd3733d8fb4d394ce8b282035e58f93;hpb=275e1f928a44325a7ea1f0803d0ad23dc4e92d93;p=ircu2.10.12-pk.git diff --git a/include/s_user.h b/include/s_user.h index 7b1fc18..7803503 100644 --- a/include/s_user.h +++ b/include/s_user.h @@ -75,11 +75,18 @@ extern int set_nick_name(struct Client* cptr, struct Client* sptr, const char* nick, int parc, char* parv[], unsigned int force); extern void send_umode_out(struct Client* cptr, struct Client* sptr, struct Flags* old, int prop); +extern void send_umode(struct Client *cptr, struct Client *sptr, struct Flags *old, + int sendset); extern int whisper(struct Client* source, const char* nick, const char* channel, const char* text, int is_notice); extern void send_user_info(struct Client* to, char* names, int rpl, InfoFormatter fmt); +#define HIDE_HOSTMASK_FLAG_HIDDENHOST 0x01 +#define HIDE_HOSTMASK_FLAG_ACCOUNT 0x02 +#define HIDE_HOSTMASK_FLAG_FAKEHOST 0x04 +#define HIDE_HOSTMASK_FLAG_FAKEIDENT 0x08 + extern int hide_hostmask(struct Client *cptr, unsigned int flags); extern int apply_fakehost(struct Client *cptr); extern int set_user_mode(struct Client *cptr, struct Client *sptr,