2 * Copyright (c) 2000-2012 by the citadel.org team
4 * This program is open source software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 3 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 extern int NetQDebugEnabled;
21 #define DBGLOG(LEVEL) if ((LEVEL != LOG_DEBUG) || (NetQDebugEnabled != 0))
23 #define QN_syslog(LEVEL, FORMAT, ...) \
24 DBGLOG(LEVEL) syslog(LEVEL, \
26 CCC->cs_pid, __VA_ARGS__)
28 #define QNM_syslog(LEVEL, FORMAT) \
29 DBGLOG(LEVEL) syslog(LEVEL, \
35 void free_netfilter_list(void);
36 void load_network_filter_list(void);
40 void network_queue_room(struct ctdlroom *, void *);
41 ////void destroy_network_queue_room(void);
42 void network_bounce(struct CtdlMessage *msg, char *reason);
43 int network_usetable(struct CtdlMessage *msg);