Classes | Defines | Typedefs | Functions
fetcp.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _FETCP_EVENT_INIT

Defines

#define CALLBACK
#define DLL_EXT_FUNC
#define FETCP_ADD_EVENT_HANDLER   1210
#define FETCP_CALL
#define FETCP_CALLBACK   3
#define FETCP_CONNECT   1221
#define FETCP_DEL_EVENT_HANDLER   1211
#define FETCP_DETECT   1220
#define FETCP_DEV_DISCONNECT_EVENT   2
#define FETCP_DISCONNECT   1222
#define FETCP_ERR_BUFFER_OVERFLOW   -1270
#define FETCP_ERR_CHANGE_SOCKET_PARA   -1236
#define FETCP_ERR_CLOSE_CONNECTION   -1213
#define FETCP_ERR_EMPTY_LIST   -1201
#define FETCP_ERR_GET_CONNECTION_STATE   -1238
#define FETCP_ERR_HND_IS_NEGATIVE   -1222
#define FETCP_ERR_HND_IS_NULL   -1221
#define FETCP_ERR_NEWSOCKET_FAILURE   -1200
#define FETCP_ERR_NO_CONNECTION   -1211
#define FETCP_ERR_NO_HND_FOUND   -1223
#define FETCP_ERR_NO_MEMORY   -1203
#define FETCP_ERR_ODD_PARAMETERSTRING   -1252
#define FETCP_ERR_PARAMETER_OUT_OF_RANGE   -1251
#define FETCP_ERR_POINTER_IS_NULL   -1202
#define FETCP_ERR_RECEIVE_PROCESS   -1232
#define FETCP_ERR_SERVER_ADDR   -1212
#define FETCP_ERR_SERVER_NOT_FOUND   -1205
#define FETCP_ERR_TIMEOUT   -1230
#define FETCP_ERR_TRANSMIT_PROCESS   -1237
#define FETCP_ERR_UNKNOWN_ERRORCODE   -1254
#define FETCP_ERR_UNKNOWN_HND   -1220
#define FETCP_ERR_UNKNOWN_PARAMETER   -1250
#define FETCP_EXT_CALL
#define FETCP_GET_DLL_VERSION   1200
#define FETCP_GET_ERROR_TEXT   1201
#define FETCP_GET_LAST_ERROR   1202
#define FETCP_GET_SOCKET_HND   1226
#define FETCP_GET_SOCKET_LIST   1223
#define FETCP_GET_SOCKET_PARA   1224
#define FETCP_GET_SOCKET_STATE   1227
#define FETCP_RECEIVE   1232
#define FETCP_SET_SOCKET_PARA   1225
#define FETCP_STATE_CLOSE_WAIT   8
#define FETCP_STATE_CLOSED   1
#define FETCP_STATE_CLOSING   9
#define FETCP_STATE_DELETE_TCB   12
#define FETCP_STATE_ESTABLISHED   5
#define FETCP_STATE_FIN_WAIT1   6
#define FETCP_STATE_FIN_WAIT2   7
#define FETCP_STATE_LAST_ACK   10
#define FETCP_STATE_LISTEN   2
#define FETCP_STATE_SYN_RCVD   4
#define FETCP_STATE_SYN_SENT   3
#define FETCP_STATE_TIME_WAIT   11
#define FETCP_THREAD_ID   1
#define FETCP_TRANSCEIVE   1230
#define FETCP_TRANSMIT   1231
#define FETCP_WND_HWND   2

Typedefs

typedef struct _FETCP_EVENT_INIT FETCP_EVENT_INIT
typedef int(CALLBACKLPFN_FETCP_ADD_EVENT_HANDLER )(int, FETCP_EVENT_INIT *)
typedef int(CALLBACKLPFN_FETCP_CONNECT )(char *, int)
typedef int(CALLBACKLPFN_FETCP_DEL_EVENT_HANDLER )(int, FETCP_EVENT_INIT *)
typedef int(CALLBACKLPFN_FETCP_DETECT )(char *, int)
typedef int(CALLBACKLPFN_FETCP_DISCONNECT )(int)
typedef void(CALLBACKLPFN_FETCP_GET_DLL_VERSION )(char *)
typedef int(CALLBACKLPFN_FETCP_GET_ERROR_TEXT )(int, char *)
typedef int(CALLBACKLPFN_FETCP_GET_LAST_ERROR )(int, int *, char *)
typedef int(CALLBACKLPFN_FETCP_GET_SOCKET_HND )(char *, int)
typedef int(CALLBACKLPFN_FETCP_GET_SOCKET_LIST )(int)
typedef int(CALLBACKLPFN_FETCP_GET_SOCKET_PARA )(int, char *, char *)
typedef int(CALLBACKLPFN_FETCP_GET_SOCKET_STATE )(char *, int)
typedef int(CALLBACKLPFN_FETCP_RECEIVE )(int, unsigned char *, int)
typedef int(CALLBACKLPFN_FETCP_SET_SOCKET_PARA )(int, char *, char *)
typedef int(CALLBACKLPFN_FETCP_TRANSCEIVE )(int, unsigned char *, int, unsigned char *, int)
typedef int(CALLBACKLPFN_FETCP_TRANSMIT )(int, unsigned char *, int)

Functions

int DLL_EXT_FUNC FETCP_AddEventHandler (int iSocketHnd, FETCP_EVENT_INIT *pInit)
int DLL_EXT_FUNC FETCP_Connect (char *cHostAdr, int iPortNr)
int DLL_EXT_FUNC FETCP_DelEventHandler (int iSocketHnd, FETCP_EVENT_INIT *pInit)
int DLL_EXT_FUNC FETCP_Detect (char *cHostAdr, int iPortNr)
int DLL_EXT_FUNC FETCP_DisConnect (int iSocketHnd)
void DLL_EXT_FUNC FETCP_GetDLLVersion (char *cVersion)
int DLL_EXT_FUNC FETCP_GetErrorText (int iErrorCode, char *cErrorText)
int DLL_EXT_FUNC FETCP_GetLastError (int iSocketHnd, int *iErrorCode, char *cErrorText)
int DLL_EXT_FUNC FETCP_GetSocketHnd (char *cHostAdr, int iPortNr)
int DLL_EXT_FUNC FETCP_GetSocketList (int iNext)
int DLL_EXT_FUNC FETCP_GetSocketPara (int iSocketHnd, char *cPara, char *cValue)
int DLL_EXT_FUNC FETCP_GetSocketState (char *cHostAdr, int iPortNr)
int DLL_EXT_FUNC FETCP_Receive (int iSocketHnd, unsigned char *cRecProt, int iRecLen)
int DLL_EXT_FUNC FETCP_SetSocketPara (int iSocketHnd, char *cPara, char *cValue)
int DLL_EXT_FUNC FETCP_Transceive (int iSocketHnd, unsigned char *cSendProt, int iSendLen, unsigned char *cRecProt, int iRecLen)
int DLL_EXT_FUNC FETCP_Transmit (int iSocketHnd, unsigned char *cSendProt, int iSendLen)

Define Documentation

#define CALLBACK

Definition at line 44 of file fetcp.h.

#define DLL_EXT_FUNC

Definition at line 43 of file fetcp.h.

#define FETCP_ADD_EVENT_HANDLER   1210

Definition at line 116 of file fetcp.h.

#define FETCP_CALL

Definition at line 46 of file fetcp.h.

#define FETCP_CALLBACK   3

Definition at line 154 of file fetcp.h.

#define FETCP_CONNECT   1221

Definition at line 121 of file fetcp.h.

#define FETCP_DEL_EVENT_HANDLER   1211

Definition at line 117 of file fetcp.h.

#define FETCP_DETECT   1220

Definition at line 120 of file fetcp.h.

Definition at line 157 of file fetcp.h.

#define FETCP_DISCONNECT   1222

Definition at line 122 of file fetcp.h.

#define FETCP_ERR_BUFFER_OVERFLOW   -1270

Definition at line 104 of file fetcp.h.

#define FETCP_ERR_CHANGE_SOCKET_PARA   -1236

Definition at line 93 of file fetcp.h.

#define FETCP_ERR_CLOSE_CONNECTION   -1213

Definition at line 82 of file fetcp.h.

#define FETCP_ERR_EMPTY_LIST   -1201

Definition at line 74 of file fetcp.h.

#define FETCP_ERR_GET_CONNECTION_STATE   -1238

Definition at line 95 of file fetcp.h.

#define FETCP_ERR_HND_IS_NEGATIVE   -1222

Definition at line 87 of file fetcp.h.

#define FETCP_ERR_HND_IS_NULL   -1221

Definition at line 86 of file fetcp.h.

#define FETCP_ERR_NEWSOCKET_FAILURE   -1200

Definition at line 73 of file fetcp.h.

#define FETCP_ERR_NO_CONNECTION   -1211

Definition at line 80 of file fetcp.h.

#define FETCP_ERR_NO_HND_FOUND   -1223

Definition at line 88 of file fetcp.h.

#define FETCP_ERR_NO_MEMORY   -1203

Definition at line 76 of file fetcp.h.

#define FETCP_ERR_ODD_PARAMETERSTRING   -1252

Definition at line 100 of file fetcp.h.

Definition at line 99 of file fetcp.h.

#define FETCP_ERR_POINTER_IS_NULL   -1202

Definition at line 75 of file fetcp.h.

#define FETCP_ERR_RECEIVE_PROCESS   -1232

Definition at line 92 of file fetcp.h.

#define FETCP_ERR_SERVER_ADDR   -1212

Definition at line 81 of file fetcp.h.

#define FETCP_ERR_SERVER_NOT_FOUND   -1205

Definition at line 77 of file fetcp.h.

#define FETCP_ERR_TIMEOUT   -1230

Definition at line 91 of file fetcp.h.

#define FETCP_ERR_TRANSMIT_PROCESS   -1237

Definition at line 94 of file fetcp.h.

#define FETCP_ERR_UNKNOWN_ERRORCODE   -1254

Definition at line 101 of file fetcp.h.

#define FETCP_ERR_UNKNOWN_HND   -1220

Definition at line 85 of file fetcp.h.

#define FETCP_ERR_UNKNOWN_PARAMETER   -1250

Definition at line 98 of file fetcp.h.

#define FETCP_EXT_CALL

Definition at line 45 of file fetcp.h.

#define FETCP_GET_DLL_VERSION   1200

Definition at line 111 of file fetcp.h.

#define FETCP_GET_ERROR_TEXT   1201

Definition at line 112 of file fetcp.h.

#define FETCP_GET_LAST_ERROR   1202

Definition at line 113 of file fetcp.h.

#define FETCP_GET_SOCKET_HND   1226

Definition at line 126 of file fetcp.h.

#define FETCP_GET_SOCKET_LIST   1223

Definition at line 123 of file fetcp.h.

#define FETCP_GET_SOCKET_PARA   1224

Definition at line 124 of file fetcp.h.

#define FETCP_GET_SOCKET_STATE   1227

Definition at line 127 of file fetcp.h.

#define FETCP_RECEIVE   1232

Definition at line 132 of file fetcp.h.

#define FETCP_SET_SOCKET_PARA   1225

Definition at line 125 of file fetcp.h.

#define FETCP_STATE_CLOSE_WAIT   8

Definition at line 143 of file fetcp.h.

#define FETCP_STATE_CLOSED   1

Definition at line 136 of file fetcp.h.

#define FETCP_STATE_CLOSING   9

Definition at line 144 of file fetcp.h.

#define FETCP_STATE_DELETE_TCB   12

Definition at line 147 of file fetcp.h.

#define FETCP_STATE_ESTABLISHED   5

Definition at line 140 of file fetcp.h.

#define FETCP_STATE_FIN_WAIT1   6

Definition at line 141 of file fetcp.h.

#define FETCP_STATE_FIN_WAIT2   7

Definition at line 142 of file fetcp.h.

#define FETCP_STATE_LAST_ACK   10

Definition at line 145 of file fetcp.h.

#define FETCP_STATE_LISTEN   2

Definition at line 137 of file fetcp.h.

#define FETCP_STATE_SYN_RCVD   4

Definition at line 139 of file fetcp.h.

#define FETCP_STATE_SYN_SENT   3

Definition at line 138 of file fetcp.h.

#define FETCP_STATE_TIME_WAIT   11

Definition at line 146 of file fetcp.h.

#define FETCP_THREAD_ID   1

Definition at line 152 of file fetcp.h.

#define FETCP_TRANSCEIVE   1230

Definition at line 130 of file fetcp.h.

#define FETCP_TRANSMIT   1231

Definition at line 131 of file fetcp.h.

#define FETCP_WND_HWND   2

Definition at line 153 of file fetcp.h.


Typedef Documentation

Definition at line 243 of file fetcp.h.

typedef int(CALLBACK* LPFN_FETCP_CONNECT)(char *, int)

Definition at line 248 of file fetcp.h.

Definition at line 244 of file fetcp.h.

typedef int(CALLBACK* LPFN_FETCP_DETECT)(char *, int)

Definition at line 247 of file fetcp.h.

typedef int(CALLBACK* LPFN_FETCP_DISCONNECT)(int)

Definition at line 249 of file fetcp.h.

typedef void(CALLBACK* LPFN_FETCP_GET_DLL_VERSION)(char *)

Definition at line 238 of file fetcp.h.

typedef int(CALLBACK* LPFN_FETCP_GET_ERROR_TEXT)(int, char *)

Definition at line 239 of file fetcp.h.

typedef int(CALLBACK* LPFN_FETCP_GET_LAST_ERROR)(int, int *, char *)

Definition at line 240 of file fetcp.h.

typedef int(CALLBACK* LPFN_FETCP_GET_SOCKET_HND)(char *, int)

Definition at line 254 of file fetcp.h.

Definition at line 251 of file fetcp.h.

typedef int(CALLBACK* LPFN_FETCP_GET_SOCKET_PARA)(int, char *, char *)

Definition at line 252 of file fetcp.h.

typedef int(CALLBACK* LPFN_FETCP_GET_SOCKET_STATE)(char *, int)

Definition at line 250 of file fetcp.h.

typedef int(CALLBACK* LPFN_FETCP_RECEIVE)(int, unsigned char *, int)

Definition at line 259 of file fetcp.h.

typedef int(CALLBACK* LPFN_FETCP_SET_SOCKET_PARA)(int, char *, char *)

Definition at line 253 of file fetcp.h.

typedef int(CALLBACK* LPFN_FETCP_TRANSCEIVE)(int, unsigned char *, int, unsigned char *, int)

Definition at line 257 of file fetcp.h.

typedef int(CALLBACK* LPFN_FETCP_TRANSMIT)(int, unsigned char *, int)

Definition at line 258 of file fetcp.h.


Function Documentation

int DLL_EXT_FUNC FETCP_AddEventHandler ( int  iSocketHnd,
FETCP_EVENT_INIT pInit 
)
int DLL_EXT_FUNC FETCP_Connect ( char *  cHostAdr,
int  iPortNr 
)
int DLL_EXT_FUNC FETCP_DelEventHandler ( int  iSocketHnd,
FETCP_EVENT_INIT pInit 
)
int DLL_EXT_FUNC FETCP_Detect ( char *  cHostAdr,
int  iPortNr 
)
int DLL_EXT_FUNC FETCP_DisConnect ( int  iSocketHnd)
void DLL_EXT_FUNC FETCP_GetDLLVersion ( char *  cVersion)
int DLL_EXT_FUNC FETCP_GetErrorText ( int  iErrorCode,
char *  cErrorText 
)
int DLL_EXT_FUNC FETCP_GetLastError ( int  iSocketHnd,
int *  iErrorCode,
char *  cErrorText 
)
int DLL_EXT_FUNC FETCP_GetSocketHnd ( char *  cHostAdr,
int  iPortNr 
)
int DLL_EXT_FUNC FETCP_GetSocketList ( int  iNext)
int DLL_EXT_FUNC FETCP_GetSocketPara ( int  iSocketHnd,
char *  cPara,
char *  cValue 
)
int DLL_EXT_FUNC FETCP_GetSocketState ( char *  cHostAdr,
int  iPortNr 
)
int DLL_EXT_FUNC FETCP_Receive ( int  iSocketHnd,
unsigned char *  cRecProt,
int  iRecLen 
)
int DLL_EXT_FUNC FETCP_SetSocketPara ( int  iSocketHnd,
char *  cPara,
char *  cValue 
)
int DLL_EXT_FUNC FETCP_Transceive ( int  iSocketHnd,
unsigned char *  cSendProt,
int  iSendLen,
unsigned char *  cRecProt,
int  iRecLen 
)
int DLL_EXT_FUNC FETCP_Transmit ( int  iSocketHnd,
unsigned char *  cSendProt,
int  iSendLen 
)


rfid_drivers
Author(s): Raul Perula-Martinez
autogenerated on Thu Apr 2 2015 03:06:15