]> jfr.im git - irc/quakenet/newserv.git/blob - helpmod2/hconf.h
CHANSERV: fix issue where chanserv_relay doesn't wait for db to be loaded before...
[irc/quakenet/newserv.git] / helpmod2 / hconf.h
1 /* H configuration (database) file */
2 #ifndef HCONF_H
3 #define HCONF_H
4
5 #include "huser.h"
6 #include "hchannel.h"
7 #include "haccount.h"
8 #include "hban.h"
9 #include "hlamer.h"
10 #include "hterm.h"
11 #include "hstat.h"
12 #include "hticket.h"
13
14 int helpmod_config_read(const char *);
15 int helpmod_config_write(const char *);
16
17 int helpmod_config_read_account(FILE *);
18 int helpmod_config_write_account(FILE *, haccount*);
19
20 int helpmod_config_read_channel(FILE *);
21 int helpmod_config_write_channel(FILE *, hchannel*);
22
23 int helpmod_config_read_ban(FILE *);
24 int helpmod_config_write_ban(FILE *, hban*);
25
26 int helpmod_config_read_hlc_profile(FILE *);
27 int helpmod_config_write_hlc_profile(FILE *, hlc_profile*);
28
29 int helpmod_config_read_term(FILE *, hterm**);
30 int helpmod_config_write_term(FILE *, hterm*);
31
32 int helpmod_config_read_chanstats(FILE *, hstat_channel*);
33 int helpmod_config_write_chanstats(FILE *, hstat_channel*);
34
35 int helpmod_config_read_stats(FILE *, hstat_account*);
36 int helpmod_config_write_stats(FILE *, hstat_account*);
37
38 int helpmod_config_read_globals(FILE *);
39 int helpmod_config_write_globals(FILE *);
40
41 int helpmod_config_read_report(FILE *);
42 int helpmod_config_write_report(FILE *, hchannel*);
43
44 int helpmod_config_read_ticket(FILE *);
45 int helpmod_config_write_ticket(FILE *, hticket*, hchannel*);
46
47 int helpmod_config_read_version(FILE *);
48 int helpmod_config_write_version(FILE *);
49
50 void helpmod_config_scheduled_events(void);
51
52 /* FILEFORMAT
53
54 Any line starting with '%' is considered a comment and ignored
55 Empty lines between sections are allowed
56 White space is allowed in the entries
57
58 */
59
60 #endif