struct iovec;
struct Client;
+struct StatDesc;
struct MsgCounts {
int alloc;
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 */