25 |
|
#ifndef INCLUDED_resv_h |
26 |
|
#define INCLUDED_resv_h |
27 |
|
|
28 |
– |
struct ResvChannel |
29 |
– |
{ |
30 |
– |
dlink_node node; |
31 |
– |
struct ResvChannel *hnext; |
32 |
– |
time_t hold; /* Hold action until this time (calendar time) */ |
33 |
– |
time_t setat; |
34 |
– |
char name[CHANNELLEN + 1]; |
35 |
– |
char *reason; |
36 |
– |
unsigned int flags; |
37 |
– |
}; |
38 |
– |
|
28 |
|
extern dlink_list nresv_items; |
29 |
|
extern dlink_list resv_channel_list; |
30 |
|
|
31 |
< |
extern struct ConfItem *create_channel_resv(char *, char *, int); |
32 |
< |
extern struct ConfItem *create_nick_resv(char *, char *, int); |
31 |
> |
extern struct MaskItem *create_channel_resv(char *, char *, int); |
32 |
> |
extern struct MaskItem *create_nick_resv(char *, char *, int); |
33 |
|
|
34 |
< |
extern int delete_channel_resv(struct ResvChannel *); |
34 |
> |
extern int delete_channel_resv(struct MaskItem *); |
35 |
|
|
36 |
|
extern void clear_conf_resv(void); |
37 |
|
extern void report_resv(struct Client *); |
38 |
|
|
39 |
|
extern int valid_wild_card_simple(const char *); |
40 |
< |
extern struct ResvChannel *match_find_resv(const char *); |
40 |
> |
extern struct MaskItem *match_find_resv(const char *); |
41 |
|
#endif /* INCLUDED_resv_h */ |