]> jfr.im git - solanum.git/blobdiff - include/cache.h
Merge branch 'master' into authd-framework-2
[solanum.git] / include / cache.h
index 4bf7ae512ffbf6ebeb70d204e7a232d1b9cd2c65..095354d8e54cfde0ceb98b61638c648774beb561 100644 (file)
@@ -1,10 +1,10 @@
-/* $Id: cache.h 24250 2007-08-22 19:15:08Z androsyn $ */
 #ifndef INCLUDED_CACHE_H
 #define INCLUDED_CACHE_H
 
+#include "rb_dictionary.h"
+
 #define HELP_MAX       100
 
-#define CACHELINELEN   81
 #define CACHEFILELEN   30
 /* two servernames, a gecos, three spaces, ":1", '\0' */
 #define LINKSLINELEN   (HOSTLEN + HOSTLEN + REALLEN + 6)
@@ -23,7 +23,7 @@ struct cachefile
 
 struct cacheline
 {
-       char data[CACHELINELEN];
+       char *data;
        rb_dlink_node linenode;
 };
 
@@ -45,8 +45,7 @@ void send_user_motd(struct Client *);
 void send_oper_motd(struct Client *);
 void cache_user_motd(void);
 
-struct Dictionary;
-extern struct Dictionary *help_dict_oper;
-extern struct Dictionary *help_dict_user;
+extern rb_dictionary *help_dict_oper;
+extern rb_dictionary *help_dict_user;
 #endif