Author: Isomer <isomer@coders.net>
[ircu2.10.12-pk.git] / include / s_user.h
index 274bf4a6511b517a07a922dba8805c56003a3c18..fec38e238f7e0fd10718d881659c9329fc0d55d0 100644 (file)
@@ -14,6 +14,7 @@ struct Client;
 struct User;
 struct Gline;
 struct Channel;
+struct MsgBuf;
 
 /*
  * Macros
@@ -49,7 +50,7 @@ struct Channel;
 
 extern struct SLink *opsarray[];
 
-typedef char* (*InfoFormatter)(struct Client* who, char* buf);
+typedef void (*InfoFormatter)(struct Client* who, struct MsgBuf* buf);
 
 /*
  * Prototypes
@@ -62,11 +63,11 @@ extern int          register_user(struct Client* cptr, struct Client* sptr,
 
 extern void         user_count_memory(size_t* count_out, size_t* bytes_out);
 
-extern int user_set_away(struct User* user, char* message);
 extern int do_nick_name(char* nick);
 extern int set_nick_name(struct Client* cptr, struct Client* sptr,
                          const char* nick, int parc, char* parv[]);
-extern void send_umode_out(struct Client* cptr, struct Client* sptr, int old);
+extern void send_umode_out(struct Client* cptr, struct Client* sptr, int old,
+                          int prop);
 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,