tcptable.h

Go to the documentation of this file.
00001 /*
00002  ** Copyright 2005 - INL
00003  ** Written by Eric Leblond <regit@inl.fr>
00004  ** INL http://www.inl.fr
00005  **
00006  ** $Id: tcptable.h 4847 2008-06-13 14:48:31Z regit $
00007  **
00008  ** This program is free software; you can redistribute it and/or modify
00009  ** it under the terms of the GNU General Public License as published by
00010  ** the Free Software Foundation, version 3 of the License.
00011  **
00012  ** This program is distributed in the hope that it will be useful,
00013  ** but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015  ** GNU General Public License for more details.
00016  **
00017  ** You should have received a copy of the GNU General Public License
00018  ** along with this program; if not, write to the Free Software
00019  ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
00020  */
00021 
00022 #ifndef TCPTABLE_H
00023 #define TCPTABLE_H
00024 
00025 int tcptable_init(conntable_t ** ct);
00026 int tcptable_read(nuauth_session_t * session, conntable_t * ct);
00027 void tcptable_add(conntable_t * ct, conn_t * c);
00028 void tcptable_free(conntable_t * ct);
00029 int tcptable_hash(conn_t * c);
00030 conn_t *tcptable_find(conntable_t * ct, conn_t * c);
00031 
00032 #endif

Generated on Thu Nov 20 04:00:34 2008 for NuFW by  doxygen 1.4.7