]> jfr.im git - irc/quakenet/newserv.git/blame - noperserv/noperserv.h
r439@blue (orig r429): slug | 2006-02-23 13:39:37 +0000
[irc/quakenet/newserv.git] / noperserv / noperserv.h
CommitLineData
3e3692bf
CP
1#ifndef __NOPERSERV_H
2#define __NOPERSERV_H
3
4#include "../control/control.h"
5#include "../noperserv/noperserv_db.h"
6#include "../lib/flags.h"
7
8int noperserv_ext;
9
10extern const flag no_userflags[];
11extern const flag no_noticeflags[];
12extern const flag no_commandflags[];
13
14#define NO_NICKS_PER_WHOIS_LINE 3
15
16#define NOGetAuthedUser(user) (no_autheduser *)(user->exts[noperserv_ext])
17#define NOGetAuthLevel(user) user->authlevel
18#define NOGetNoticeLevel(user) user->noticelevel
19#define NOMax(a, b) (a>b?a:b)
20#define NOMin(a, b) (a<b?b:a)
21
22#endif