X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/3b0e9fa20ed055db5d862caaff4cef4b3b58c0bc..e8e3ef0dfb6fbe28c07e34599f0f48336792b4b3:/include/client.h diff --git a/include/client.h b/include/client.h index 07cf716..41ee5af 100644 --- a/include/client.h +++ b/include/client.h @@ -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 @@ -307,16 +306,8 @@ struct ListClient { unsigned int hash_indice; unsigned int users_min, users_max; - - /* It would be nice to add other modifiers, - * but not for 1.1 --nenolod - */ -}; - -struct Metadata -{ - const char *name; - const char *value; + time_t created_min, created_max, topic_min, topic_max; + int operspy; }; /* @@ -624,5 +615,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 */