File: a_log_def.h

package info (click to toggle)
ircd-irc2 2.11.1p1%2Bdfsg-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 2,920 kB
  • ctags: 3,075
  • sloc: ansic: 36,365; sh: 3,245; makefile: 372
file content (41 lines) | stat: -rw-r--r-- 1,688 bytes parent folder | download | duplicates (10)
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/************************************************************************
 *   IRC - Internet Relay Chat, iauth/a_log_def.h
 *   Copyright (C) 1998 Christophe Kalt
 *
 *   This program is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation; either version 1, or (at your option)
 *   any later version.
 *
 *   This program is distributed in the hope that it will be useful,
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *   GNU General Public License for more details.
 *
 *   You should have received a copy of the GNU General Public License
 *   along with this program; if not, write to the Free Software
 *   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */

#if defined(IAUTH_DEBUG)
# define DebugLog(x)	sendto_log x
#else
# define DebugLog(x)
#endif

#define	ALOG_FLOG	0x01	/* file log */
#define	ALOG_IRCD	0x02	/* notice sent to ircd (then sent to &AUTH) */

#define	ALOG_DCONF	0x000100	/* debug: configuration file */
#define	ALOG_DMISC	0x000200	/* debug: misc stuff */
#define	ALOG_DIO	0x000400	/* debug: IO stuff */
#define	ALOG_DSPY	0x001000	/* debug: show ircd stream */
#define	ALOG_DIRCD	0x002000	/* debug: errors reported by ircd */

#define	ALOG_D931	0x010000	/* debug: module rfc931 */
#define	ALOG_DSOCKS	0x020000	/* debug: module socks */
#define	ALOG_DSOCKSC	0x040000	/* debug: module socks cache */
#define	ALOG_DPIPE	0x080000	/* debug: module pipe */
#define	ALOG_DLHEX	0x100000	/* debug: module pipe */

#define	ALOG_DALL	0x1F3700	/* any debug flag */