aboutsummaryrefslogtreecommitdiff
path: root/iauth/a_log_def.h
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2020-05-25 20:09:04 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2020-05-25 20:09:04 +0200
commit4440a86cfa359b8e40a484a2cd46d33db5455d8a (patch)
treef5c0c59aebf0058ae97e7ef8b5fb8017f459a05a /iauth/a_log_def.h
downloadircd-4440a86cfa359b8e40a484a2cd46d33db5455d8a.tar.gz
Initial
Diffstat (limited to 'iauth/a_log_def.h')
-rw-r--r--iauth/a_log_def.h41
1 files changed, 41 insertions, 0 deletions
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 */