]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - include/cache.h
Remove ^M on line endings.
[irc/rqf/shadowircd.git] / include / cache.h
index b303f34f99b626a3d77e1cf8121d162ceab1aca3..4bf7ae512ffbf6ebeb70d204e7a232d1b9cd2c65 100644 (file)
@@ -1,52 +1,52 @@
-/* $Id: cache.h 24250 2007-08-22 19:15:08Z androsyn $ */\r
-#ifndef INCLUDED_CACHE_H\r
-#define INCLUDED_CACHE_H\r
-\r
-#define HELP_MAX       100\r
-\r
-#define CACHELINELEN   81\r
-#define CACHEFILELEN   30\r
-/* two servernames, a gecos, three spaces, ":1", '\0' */\r
-#define LINKSLINELEN   (HOSTLEN + HOSTLEN + REALLEN + 6)\r
-\r
-#define HELP_USER      0x001\r
-#define HELP_OPER      0x002\r
-\r
-struct Client;\r
-\r
-struct cachefile\r
-{\r
-       char name[CACHEFILELEN];\r
-       rb_dlink_list contents;\r
-       int flags;\r
-};\r
-\r
-struct cacheline\r
-{\r
-       char data[CACHELINELEN];\r
-       rb_dlink_node linenode;\r
-};\r
-\r
-extern struct cachefile *user_motd;\r
-extern struct cachefile *oper_motd;\r
-extern struct cacheline *emptyline;\r
-\r
-extern char user_motd_changed[MAX_DATE_STRING];\r
-extern rb_dlink_list links_cache_list;\r
-\r
-void init_cache(void);\r
-struct cachefile *cache_file(const char *, const char *, int);\r
-void cache_links(void *unused);\r
-void free_cachefile(struct cachefile *);\r
-\r
-void load_help(void);\r
-\r
-void send_user_motd(struct Client *);\r
-void send_oper_motd(struct Client *);\r
-void cache_user_motd(void);\r
-\r
-struct Dictionary;\r
-extern struct Dictionary *help_dict_oper;\r
-extern struct Dictionary *help_dict_user;\r
-#endif\r
-\r
+/* $Id: cache.h 24250 2007-08-22 19:15:08Z androsyn $ */
+#ifndef INCLUDED_CACHE_H
+#define INCLUDED_CACHE_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)
+
+#define HELP_USER      0x001
+#define HELP_OPER      0x002
+
+struct Client;
+
+struct cachefile
+{
+       char name[CACHEFILELEN];
+       rb_dlink_list contents;
+       int flags;
+};
+
+struct cacheline
+{
+       char data[CACHELINELEN];
+       rb_dlink_node linenode;
+};
+
+extern struct cachefile *user_motd;
+extern struct cachefile *oper_motd;
+extern struct cacheline *emptyline;
+
+extern char user_motd_changed[MAX_DATE_STRING];
+extern rb_dlink_list links_cache_list;
+
+void init_cache(void);
+struct cachefile *cache_file(const char *, const char *, int);
+void cache_links(void *unused);
+void free_cachefile(struct cachefile *);
+
+void load_help(void);
+
+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;
+#endif
+