Author: Kev <klmitch@mit.edu>
[ircu2.10.12-pk.git] / include / motd.h
index 8bf6638997731f5820beac42165f8d3b497e7de8..ba2204a40ea20817bb176a9ead017e53279db938 100644 (file)
@@ -56,6 +56,11 @@ struct Motd {
 #define MOTD_MAXREMOTE 3
 
 struct MotdCache {
+  struct MotdCache*    next; /* these fields let us read MOTDs only once */
+  struct MotdCache**   prev_p;
+  int                  ref;
+  char*                        path;
+  int                  maxcount;
   struct tm            modtime;
   int                  count;
   char                 motd[1][MOTD_LINESIZE];