coreHTTP
v1.0.0
HTTP/1.1 Client Library
|
|
Go to the documentation of this file.
28 #ifndef TRANSPORT_INTERFACE_H_
29 #define TRANSPORT_INTERFACE_H_
154 struct NetworkContext;
171 size_t bytesToRecv );
186 const void * pBuffer,
187 size_t bytesToSend );
195 typedef struct TransportInterface
struct NetworkContext NetworkContext_t
The NetworkContext is an incomplete type. An implementation of this interface must define struct Netw...
Definition: transport_interface.h:155
TransportSend_t send
Definition: transport_interface.h:198
int32_t(* TransportSend_t)(NetworkContext_t *pNetworkContext, const void *pBuffer, size_t bytesToSend)
Transport interface for sending data over the network.
Definition: transport_interface.h:185
int32_t(* TransportRecv_t)(NetworkContext_t *pNetworkContext, void *pBuffer, size_t bytesToRecv)
Transport interface for receiving data on the network.
Definition: transport_interface.h:169
NetworkContext_t * pNetworkContext
Definition: transport_interface.h:199
TransportRecv_t recv
Definition: transport_interface.h:197
The transport layer interface.
Definition: transport_interface.h:196