Allow /stats to accept long names for the displayed statistics.
[ircu2.10.12-pk.git] / include / s_debug.h
index 9b3f5e3c8a9440b9f5dbbc4effedab175b7769a4..35e84d0053c97e70a50cebab2e67f125106f5cd3 100644 (file)
@@ -49,7 +49,7 @@ struct StatDesc;
 
 extern void vdebug(int level, const char *form, va_list vl);
 extern void debug(int level, const char *form, ...);
-extern void send_usage(struct Client *cptr, struct StatDesc *sd, int stat,
+extern void send_usage(struct Client *cptr, const struct StatDesc *sd,
                        char *param);
 
 #else /* !DEBUGMODE */
@@ -61,7 +61,7 @@ extern void send_usage(struct Client *cptr, struct StatDesc *sd, int stat,
 
 extern const char* debug_serveropts(void);
 extern void debug_init(int use_tty);
-extern void count_memory(struct Client *cptr, struct StatDesc *sd, int stat,
+extern void count_memory(struct Client *cptr, const struct StatDesc *sd,
                          char *param);
 
 #endif /* INCLUDED_s_debug_h */