]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - include/cache.h
dlink -> rb_dlink
[irc/rqf/shadowircd.git] / include / cache.h
index a3485ecc3b55bf87dc0236fbb1265f55bd1bb2c4..02705e8b1715ce18223775128ef496da739bf2be 100644 (file)
@@ -9,8 +9,6 @@
 
 #define CACHELINELEN   81
 #define CACHEFILELEN   30
-/* two servernames, a gecos, three spaces, ":1", '\0' */
-#define LINKSLINELEN   (HOSTLEN + HOSTLEN + REALLEN + 6)
 
 #define HELP_USER      0x001
 #define HELP_OPER      0x002
@@ -20,26 +18,24 @@ struct Client;
 struct cachefile
 {
        char name[CACHEFILELEN];
-       dlink_list contents;
+       rb_dlink_list contents;
        int flags;
 };
 
 struct cacheline
 {
        char data[CACHELINELEN];
-       dlink_node linenode;
+       rb_dlink_node linenode;
 };
 
 extern struct cachefile *user_motd;
 extern struct cachefile *oper_motd;
 extern struct cacheline *emptyline;
-extern dlink_list links_cache_list;
 
 extern char user_motd_changed[MAX_DATE_STRING];
 
 extern void init_cache(void);
 extern struct cachefile *cache_file(const char *, const char *, int);
-extern void cache_links(void *unused);
 extern void free_cachefile(struct cachefile *);
 
 extern void load_help(void);
@@ -47,5 +43,9 @@ extern void load_help(void);
 extern void send_user_motd(struct Client *);
 extern void send_oper_motd(struct Client *);
 
+struct Dictionary;
+extern struct Dictionary *help_dict_oper;
+extern struct Dictionary *help_dict_user;
+
 #endif