/* * ---------------------------------------------------------------- * Night Light IRC Proxy - Bitmasks * ---------------------------------------------------------------- * Copyright (C) 1997-2003 Jonas Kvinge * All rights reserved. * * 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 2 of the License, 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., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * * Last modified by: * Jonas Kvinge (09.07.2003) * */ #ifdef BITMASKS_H #warning "bitmasks.h already included." #else #define BITMASKS_H #define BITMASK_MAIN 1 #define BITMASK_ERROR 2 #define BITMASK_DEBUG 4 #define BITMASK_EXTRA 8 #define BITMASK_CONF BITMASK_EXTRA #define BITMASK_DEBUG001 1 #define BITMASK_DEBUG002 2 #define BITMASK_DEBUG003 4 #define BITMASK_DEBUG004 8 #define BITMASK_DEBUG005 16 #define BITMASK_DEBUG006 32 #define BITMASK_DEBUG007 64 #define BITMASK_DEBUG008 128 #define BITMASK_DEBUG009 256 #define BITMASK_DEBUG010 512 #define BITMASK_DEBUG011 1024 #define BITMASK_DEBUG012 2048 #define BITMASK_DEBUG013 4096 #define BITMASK_DEBUG014 8192 #define BITMASK_DEBUG015 16384 #define BITMASK_DEBUG016 32768 #define BITMASK_DEBUG017 65536 #define BITMASK_DEBUG018 131072 #define BITMASK_DEBUG_GENERAL BITMASK_DEBUG001 #define BITMASK_DEBUG_FUNCTION BITMASK_DEBUG002 #define BITMASK_DEBUG_FLAGS BITMASK_DEBUG003 #define BITMASK_DEBUG_MEMORY BITMASK_DEBUG004 #define BITMASK_DEBUG_FD BITMASK_DEBUG005 #define BITMASK_DEBUG_SYSCALLS BITMASK_DEBUG006 #define BITMASK_DEBUG_STRCALLS BITMASK_DEBUG007 #define BITMASK_DEBUG_IRCCALLS BITMASK_DEBUG008 #define BITMASK_DEBUG_MAIN BITMASK_DEBUG009 #define BITMASK_DEBUG_ARES BITMASK_DEBUG010 #define BITMASK_DEBUG_CONF BITMASK_DEBUG011 #define BITMASK_DEBUG_LISTEN BITMASK_DEBUG012 #define BITMASK_DEBUG_CLIENT BITMASK_DEBUG013 #define BITMASK_DEBUG_CONN BITMASK_DEBUG014 #define BITMASK_DEBUG_IDENTD BITMASK_DEBUG015 #define BITMASK_DEBUG_OPTIONS (BITMASK_DEBUG001 \ |BITMASK_DEBUG002 \ |BITMASK_DEBUG003 \ |BITMASK_DEBUG004 \ |BITMASK_DEBUG005 \ |BITMASK_DEBUG006 \ |BITMASK_DEBUG007 \ |BITMASK_DEBUG008 \ |BITMASK_DEBUG009 \ |BITMASK_DEBUG010 \ |BITMASK_DEBUG011 \ |BITMASK_DEBUG012 \ |BITMASK_DEBUG013 \ |BITMASK_DEBUG014 \ |BITMASK_DEBUG015 \ |BITMASK_DEBUG016 \ |BITMASK_DEBUG017 \ |BITMASK_DEBUG018 \ ) #endif