File: watch.h

package info (click to toggle)
ratbox-services 1.2.4%2Brepack-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 11,760 kB
  • ctags: 6,989
  • sloc: ansic: 76,435; sh: 17,527; cpp: 3,029; perl: 1,048; makefile: 740; pascal: 607; yacc: 256; lex: 232
file content (26 lines) | stat: -rw-r--r-- 995 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* $Id: watch.h 23367 2007-01-06 13:59:49Z leeh $ */
#ifndef INCLUDED_watch_h
#define INCLUDED_watch_h

#define WATCH_OPERSERV		0x00000001
#define WATCH_GLOBAL		0x00000002
#define WATCH_OPERBOT		0x00000004
#define WATCH_JUPESERV		0x00000008
#define WATCH_CSADMIN		0x00000010
#define WATCH_CSOPER		0x00000020
#define WATCH_CSREGISTER	0x00000040
#define WATCH_USADMIN		0x00000080
#define WATCH_USOPER		0x00000100
#define WATCH_USREGISTER	0x00000200
#define WATCH_NSADMIN		0x00000400
#define WATCH_NSREGISTER	0x00000800
#define WATCH_BANSERV		0x00001000
#define WATCH_AUTH		0x00002000
#define WATCH_ALL		(WATCH_OPERSERV | WATCH_GLOBAL | WATCH_OPERBOT | WATCH_JUPESERV |\
				 WATCH_CSADMIN | WATCH_CSOPER | WATCH_CSREGISTER | WATCH_USADMIN |\
				 WATCH_USOPER | WATCH_USREGISTER | WATCH_NSADMIN | WATCH_NSREGISTER |\
				 WATCH_BANSERV | WATCH_AUTH)
void PRINTFLIKE(5, 6) watch_send(unsigned int flag, struct client *client_p,
				struct lconn *conn_p, int oper, const char *format, ...);

#endif