]>
jfr.im git - irc/quakenet/newserv.git/blob - helpmod2/haccount.h
7 #include "../lib/sstring.h"
9 #include "../nick/nick.h"
16 H_ALL_PRIVMSG
= 1 << 0,
17 H_ALL_NOTICE
= 1 << 1,
20 H_AUTO_VOICE
= 1 << 4,
21 H_NO_CMD_ERROR
= 1 << 5,
25 #define H_ACCFLAGS_DEFAULT (0)
27 #define HACCOUNT_CONF_COUNT 5
29 typedef struct haccount_struct
38 struct haccount_struct
*next
;
41 extern struct haccount_struct
*haccounts
;
43 haccount
*haccount_get_by_name(const char*);
44 haccount
*haccount_add(const char*, hlevel
);
45 int haccount_del(haccount
*);
47 void haccount_clear_inactives(void);
49 void haccount_set_level(haccount
*, hlevel
);
51 const char *haccount_get_state(haccount
*, int);
52 const char *haccount_get_sname(int);
54 int haccount_count(hlevel
);