X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/fb87421d0e13c6e62a7c7a62a597e3b53ef772ed..d4eab91a9941a9c9eb20f5253115686de8e26af4:/include/client.h diff --git a/include/client.h b/include/client.h index 07cf716..b70e0d0 100644 --- a/include/client.h +++ b/include/client.h @@ -313,12 +313,6 @@ struct ListClient */ }; -struct Metadata -{ - const char *name; - const char *value; -}; - /* * status macros. */ @@ -624,5 +618,6 @@ 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 */