From 4440a86cfa359b8e40a484a2cd46d33db5455d8a Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Mon, 25 May 2020 20:09:04 +0200 Subject: Initial --- iauth/a_log_def.h | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 iauth/a_log_def.h (limited to 'iauth/a_log_def.h') diff --git a/iauth/a_log_def.h b/iauth/a_log_def.h new file mode 100644 index 0000000..e50df0b --- /dev/null +++ b/iauth/a_log_def.h @@ -0,0 +1,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 */ -- cgit v1.2.3