]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - include/client.h
Add help extban.
[irc/rqf/shadowircd.git] / include / client.h
index 38a0ca9c03db91fdf3857597acf43cc25b2675f2..b70e0d0083c1a613648776e071d50c281a2a8085 100644 (file)
@@ -84,6 +84,8 @@ struct User
        char *away;             /* pointer to away message */
        int refcnt;             /* Number of times this block is referenced */
 
+       struct Dictionary *metadata;
+
        char suser[NICKLEN+1];
 };
 
@@ -613,4 +615,9 @@ extern char *generate_uid(void);
 void allocate_away(struct Client *);
 void free_away(struct Client *);
 
+extern struct Metadata *user_metadata_add(struct Client *target, const char *name, const char *value, int propegate);
+extern void user_metadata_delete(struct Client *target, const char *name, int propegate);
+extern struct Metadata *user_metadata_find(struct Client *target, const char *name);
+extern void user_metadata_clear(struct Client *target);
+
 #endif /* INCLUDED_client_h */