Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals

net.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  $RCSfile: net.h,v $
00003                              -------------------
00004     cvs         : $Id: net.h,v 1.6 2005/01/13 17:30:36 aquamaniac Exp $
00005     begin       : Mon Feb 09 2004
00006     copyright   : (C) 2004 by Martin Preuss
00007     email       : martin@libchipcard.de
00008 
00009  ***************************************************************************
00010  *                                                                         *
00011  *   This library is free software; you can redistribute it and/or         *
00012  *   modify it under the terms of the GNU Lesser General Public            *
00013  *   License as published by the Free Software Foundation; either          *
00014  *   version 2.1 of the License, or (at your option) any later version.    *
00015  *                                                                         *
00016  *   This library is distributed in the hope that it will be useful,       *
00017  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
00018  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU     *
00019  *   Lesser General Public License for more details.                       *
00020  *                                                                         *
00021  *   You should have received a copy of the GNU Lesser General Public      *
00022  *   License along with this library; if not, write to the Free Software   *
00023  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston,                 *
00024  *   MA  02111-1307  USA                                                   *
00025  *                                                                         *
00026  ***************************************************************************/
00027 
00028 #ifndef GWEN_NET_H
00029 #define GWEN_NET_H
00030 
00031 
00032 #include <gwenhywfar/netconnection.h>
00033 
00034 #ifdef __cplusplus
00035 extern "C" {
00036 #endif
00037 
00038 GWENHYWFAR_API
00039 GWEN_TYPE_UINT32 GWEN_Net_GetLibraryId();
00040 
00041 GWENHYWFAR_API
00042 void GWEN_Net_AddConnectionToPool(GWEN_NETCONNECTION *conn);
00043 
00049 GWENHYWFAR_API
00050 GWEN_NETCONNECTION_WORKRESULT GWEN_Net_HeartBeat(int timeout);
00051 
00052 
00053 GWENHYWFAR_API
00054 GWEN_NETCONNECTION_LIST *GWEN_Net_GetConnectionPool();
00055 
00056 
00057 GWENHYWFAR_API
00058 int GWEN_Net_HasActiveConnections();
00059 
00060 GWENHYWFAR_API
00061 int GWEN_Net_HasListeningConnections();
00062 
00063 
00064 GWENHYWFAR_API
00065 void GWEN_Net_Dump();
00066 
00067 
00068 #ifdef __cplusplus
00069 }
00070 #endif
00071 
00072 
00073 #endif /* GWEN_NET_H */
00074 

Generated on Thu Oct 13 04:23:10 2005 for gwenhywfar by  doxygen 1.4.1