]> jfr.im git - irc/quakenet/newserv.git/blob - helpmod2/htopic.h
Large reorganisation of all Makefiles, including new configure script.
[irc/quakenet/newserv.git] / helpmod2 / htopic.h
1 /* H topic system */
2
3 #ifndef HTOPIC_H
4 #define HTOPIC_H
5
6 typedef struct htopic_struct
7 {
8 sstring *entry;
9 struct htopic_struct *next;
10 } htopic;
11
12 htopic *htopic_add(htopic**, const char*, int);
13 htopic *htopic_del(htopic**, htopic*);
14 void htopic_del_all(htopic**);
15
16 htopic *htopic_get(htopic*, int);
17
18 const char *htopic_construct(htopic*);
19
20 int htopic_count(htopic*);
21 int htopic_len(htopic*);
22
23 #endif