00001 /*************************************************************************** 00002 $RCSfile$ 00003 ------------------- 00004 cvs : $Id: connection_l.h 137 2005-11-03 13:07:50Z aquamaniac $ 00005 begin : Mon Mar 01 2004 00006 copyright : (C) 2004 by Martin Preuss 00007 email : martin@libchipcard.de 00008 00009 *************************************************************************** 00010 * Please see toplevel file COPYING for license details * 00011 ***************************************************************************/ 00012 00013 00014 #ifndef CHIPCARD_SERVER2_CONN_L_H 00015 #define CHIPCARD_SERVER2_CONN_L_H 00016 00017 #include <gwenhywfar/netlayer.h> 00018 00019 00020 typedef enum { 00021 LCS_Connection_Type_Unknown=0, 00022 LCS_Connection_Type_Driver, 00023 LCS_Connection_Type_Client, 00024 LCS_Connection_Type_Service 00025 } LCS_CONNECTION_TYPE; 00026 00027 #include "server_l.h" 00028 00029 00030 void LCS_Connection_TakeOver(GWEN_NETLAYER *conn); 00031 void LCS_Connection_SetType(GWEN_NETLAYER *conn, 00032 LCS_CONNECTION_TYPE t); 00033 LCS_CONNECTION_TYPE LCS_Connection_GetType(const GWEN_NETLAYER *conn); 00034 00035 int LCS_Connection_IsOfType(GWEN_NETLAYER *conn); 00036 00037 void LCS_Connection_SetServer(GWEN_NETLAYER *conn, 00038 LCS_SERVER *cs); 00039 LCS_SERVER *LCS_Connection_GetServer(const GWEN_NETLAYER *conn); 00040 00041 00042 #endif /* CHIPCARD_SERVER2_CONN_L_H */ 00043
1.5.3