2
* tcpreen.h - header for tcpreen.c
3
* $Id: tcpreen.h,v 1.6 2003/01/26 09:09:08 rdenisc Exp $
6
/***********************************************************************
7
* Copyright (C) 2002-2003 R�mi Denis-Courmont. *
8
* This program is free software; you can redistribute and/or modify *
9
* it under the terms of the GNU General Public License as published *
10
* by the Free Software Foundation; version 2 of the license. *
12
* This program is distributed in the hope that it will be useful, *
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
15
* See the GNU General Public License for more details. *
17
* You should have received a copy of the GNU General Pulic License *
18
* along with this program; if not, you can get it from: *
19
* http://www.gnu.org/copyleft/gpl.html *
20
***********************************************************************/
22
#ifndef __TCPREEN_TCPREEN_H
24
# define _TCPREEN_TCPREEN_H
25
# ifdef HAVE_SYS_TYPES_H
26
# include <sys/types.h> /* uid_t */
30
# include "socketinfo.h"
35
tcpreen_listen_both=0x01,
36
tcpreen_connect_both=0x02,
37
tcpreen_reversed=0x03, /* warning */
47
struct sockhostinfo server, bridge;
48
DataLogListMaker *logmaker;
50
long bytelimit, totalclients;
54
int bridge_main (const struct bridgeconf *conf);