]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - include/client.h
mkpasswd: Default to MD5-based crypt instead of SHA-based.
[irc/rqf/shadowircd.git] / include / client.h
index 07cf7165ce0d12ebeff1c0325087a22bbbc74a91..da61c85b75dd8f3c3e06ffb6d7fa0d49c7412b19 100644 (file)
@@ -22,7 +22,6 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
  *  USA
  *
- *  $Id: client.h 3446 2007-05-14 22:21:16Z jilles $
  */
 
 #ifndef INCLUDED_client_h
@@ -284,7 +283,7 @@ struct LocalUser
 
        struct PrivilegeSet *privset;           /* privset... */
 
-       struct rb_event_t *override_timeout_event;
+       struct ev_entry *override_timeout_event;
 };
 
 struct PreClient
@@ -313,12 +312,6 @@ struct ListClient
         */
 };
 
-struct Metadata
-{
-       const char *name;
-       const char *value;
-};
-
 /*
  * status macros.
  */
@@ -624,5 +617,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 */