connection_l.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  $RCSfile$
00003                              -------------------
00004     cvs         : $Id: connection_l.h 376 2007-05-01 12:46:06Z christian $
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_Master
00026 } LCS_CONNECTION_TYPE;
00027 
00028 #include "server_l.h"
00029 
00030 
00031 void LCS_Connection_TakeOver(GWEN_NETLAYER *conn);
00032 void LCS_Connection_SetType(GWEN_NETLAYER *conn,
00033                             LCS_CONNECTION_TYPE t);
00034 LCS_CONNECTION_TYPE LCS_Connection_GetType(const GWEN_NETLAYER *conn);
00035 
00036 int LCS_Connection_IsOfType(GWEN_NETLAYER *conn);
00037 
00038 void LCS_Connection_SetServer(GWEN_NETLAYER *conn,
00039                               LCS_SERVER *cs);
00040 LCS_SERVER *LCS_Connection_GetServer(const GWEN_NETLAYER *conn);
00041 
00042 
00043 #endif /* CHIPCARD_SERVER2_CONN_L_H */
00044 

Generated on Sat Sep 22 04:43:21 2007 for libchipcard2 by  doxygen 1.5.3