28#ifndef TRANSPORT_INTERFACE_H_
29#define TRANSPORT_INTERFACE_H_
182struct NetworkContext;
215 size_t bytesToRecv );
236 const void * pBuffer,
237 size_t bytesToSend );
245typedef struct TransportInterface
int32_t(* TransportRecv_t)(NetworkContext_t *pNetworkContext, void *pBuffer, size_t bytesToRecv)
Transport interface for receiving data on the network.
Definition: transport_interface.h:213
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:235
struct NetworkContext NetworkContext_t
The NetworkContext is an incomplete type. An implementation of this interface must define struct Netw...
Definition: transport_interface.h:183
The transport layer interface.
Definition: transport_interface.h:246
TransportSend_t send
Definition: transport_interface.h:248
TransportRecv_t recv
Definition: transport_interface.h:247
NetworkContext_t * pNetworkContext
Definition: transport_interface.h:249