X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=include%2Flist.h;h=3d591b635f6a0a65df52d860cc18699ca745896e;hb=refs%2Fheads%2Fupstream-ssl;hp=ffed8266012ebfff2c89dc2971c1cccd8b80a7d8;hpb=21dba12c3e760b1ea1824c06751fdb65e34e0657;p=ircu2.10.12-pk.git diff --git a/include/list.h b/include/list.h index ffed826..3d591b6 100644 --- a/include/list.h +++ b/include/list.h @@ -1,4 +1,4 @@ -/* @file list.h +/** @file list.h * @brief Singly and doubly linked list manipulation interface. * @version $Id$ */ @@ -26,11 +26,6 @@ struct SLink { struct Channel *chptr; /**< List element as a channel. */ struct ConfItem *aconf; /**< List element as a configuration item. */ char *cp; /**< List element as a string. */ - struct { - char *banstr; /**< Ban hostmask. */ - char *who; /**< Name of client that set the ban. */ - time_t when; /**< Timestamp when ban was added. */ - } ban; /**< List element as a ban. */ } value; /**< Value of list element. */ unsigned int flags; /**< Modifier flags for list element. */ }; @@ -52,7 +47,6 @@ struct DLink { extern void free_link(struct SLink *lp); extern struct SLink *make_link(void); -extern struct SLink *find_user_link(struct SLink *lp, struct Client *ptr); extern void init_list(void); extern struct Client *make_client(struct Client *from, int status); extern void free_connection(struct Connection *con); @@ -62,7 +56,7 @@ extern void remove_client_from_list(struct Client *cptr); extern void add_client_to_list(struct Client *cptr); extern struct DLink *add_dlink(struct DLink **lpp, struct Client *cp); extern void remove_dlink(struct DLink **lpp, struct DLink *lp); -extern struct ConfItem *make_conf(void); +extern struct ConfItem *make_conf(int type); extern void free_conf(struct ConfItem *aconf); extern void send_listinfo(struct Client *cptr, char *name);