- The big forward port. I probably broke lots of stuff, so please look over any
[ircu2.10.12-pk.git] / include / motd.h
index ba2204a40ea20817bb176a9ead017e53279db938..130ce162bbd63d71699fdbd1d5c001de08ac2f03 100644 (file)
 
 struct Client;
 struct TRecord;
+struct StatDesc;
 
 struct Motd {
   struct Motd*         next;
   int                  type;
-  union {
-    char*              hostmask;
-    int                        class;
-  }                    id;
+  /* Used for classname if it is a class. */
+  char*                hostmask;
   char*                        path;
   int                  maxcount;
   struct MotdCache*    cache;
@@ -87,6 +86,8 @@ void motd_add(const char *hostmask, const char *path);
 void motd_clear(void);
 
 /* This is called to report T-lines */
-void motd_report(struct Client *to);
+void motd_report(struct Client *to, struct StatDesc *sd, int stat,
+                 char *param);
+void motd_memory_count(struct Client *cptr);
 
 #endif /* INCLUDED_motd_h */