Committer : entrope
CVSROOT : /cvsroot/undernet-ircu
Module : ircu2.10
Commit time: 2004-09-21 22:52:31 UTC
Modified files:
include/list.h
Log message:
Doxyfy list.h, removing the unused delist_conf() function.
---------------------- diff included ----------------------
Index: ircu2.10/include/list.h
diff -u ircu2.10/include/list.h:1.6 ircu2.10/include/list.h:1.7
--- ircu2.10/include/list.h:1.6 Wed Feb 13 16:20:40 2002
+++ ircu2.10/include/list.h Tue Sep 21 15:52:20 2004
@@ -1,7 +1,7 @@
/*
* list.h
*
- * $Id: list.h,v 1.6 2002/02/14 00:20:40 ghostwolf Exp $
+ * $Id: list.h,v 1.7 2004/09/21 22:52:20 entrope Exp $
*/
#ifndef INCLUDED_list_h
#define INCLUDED_list_h
@@ -15,12 +15,13 @@
struct Channel;
struct ConfItem;
-/*
+/*
* Structures
*/
+/** Node in a singly linked list. */
struct SLink {
- struct SLink *next;
+ struct SLink *next; /**< Next element in list. */
union {
struct Client *cptr;
struct Channel *chptr;
@@ -31,18 +32,19 @@
char *who;
time_t when;
} ban;
- } value;
- unsigned int flags;
+ } value; /**< Value of list element. */
+ unsigned int flags; /**< Modifier flags for list element. */
};
+/** Node in a doubly linked list. */
struct DLink {
- struct DLink* next;
- struct DLink* prev;
+ struct DLink* next; /**< Next element in list. */
+ struct DLink* prev; /**< Previous element in list. */
union {
struct Client* cptr;
struct Channel* chptr;
char* ch;
- } value;
+ } value; /**< Value of list element. */
};
/*
@@ -62,7 +64,6 @@
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 void delist_conf(struct ConfItem *aconf);
extern void free_conf(struct ConfItem *aconf);
extern void send_listinfo(struct Client *cptr, char *name);
----------------------- End of diff -----------------------