]> jfr.im git - irc/quakenet/newserv.git/blob - helpmod2/hqueue.h
Large reorganisation of all Makefiles, including new configure script.
[irc/quakenet/newserv.git] / helpmod2 / hqueue.h
1 /* H channel queue functions */
2 #ifndef HQUEUE_H
3 #define HQUEUE_H
4
5 #include "hchannel.h"
6 #include "huser.h"
7 #include "helpmod.h"
8
9 enum
10 {
11 HQ_DONE,
12 HQ_NEXT,
13 HQ_ON,
14 HQ_OFF,
15 HQ_MAINTAIN,
16 HQ_LIST,
17 HQ_SUMMARY,
18 HQ_RESET,
19 HQ_NONE
20 };
21
22 void helpmod_queue_handler (huser *, channel *, hchannel *, int, char*, int, char**);
23
24 /* called from hooks */
25 void hqueue_handle_queue(hchannel *, huser*);
26
27 int hqueue_get_position(hchannel*, huser*);
28
29 int hqueue_average_time(hchannel *);
30
31 void hqueue_advance(hchannel *, huser *, int);
32
33 #endif