Implemented initial support for zombie mode by Jan Krüger <jk@jk.gs>
[ircu2.10.12-pk.git] / include / s_user.h
index 7b1fc1800cd3733d8fb4d394ce8b282035e58f93..78035035da577ef33e271961781d71592f054d9c 100644 (file)
@@ -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,