-/* $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)
struct cacheline
{
- char data[CACHELINELEN];
+ char *data;
rb_dlink_node linenode;
};
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