- The big forward port. I probably broke lots of stuff, so please look over any
[ircu2.10.12-pk.git] / include / msgq.h
index ae92211096980258e262e8ccef2d3a4c60fdc604..b7b5535dd5e93ab05d8a193fc75e590500f33bcd 100644 (file)
@@ -35,6 +35,7 @@
 struct iovec;
 
 struct Client;
+struct StatDesc;
 
 struct MsgCounts {
   int alloc;
@@ -92,8 +93,10 @@ extern void msgq_append(struct Client *dest, struct MsgBuf *mb,
                        const char *format, ...);
 extern void msgq_clean(struct MsgBuf *mb);
 extern void msgq_add(struct MsgQ *mq, struct MsgBuf *mb, int prio);
-extern void msgq_count_memory(size_t *msg_alloc, size_t *msg_used,
-                             size_t *msgbuf_alloc, size_t *msgbuf_used);
+extern void msgq_count_memory(struct Client *cptr,
+                              size_t *msg_alloc, size_t *msg_used);
+extern void msgq_histogram(struct Client *cptr, struct StatDesc *sd, int stat,
+                           char *param);
 extern unsigned int msgq_bufleft(struct MsgBuf *mb);
 
 #endif /* INCLUDED_msgq_h */