coreMQTT  v1.0.1
MQTT 3.1.1 Client Library
transport_interface.h File Reference

Transport interface definitions to send and receive data over the network. More...

#include <stdint.h>
#include <stddef.h>

Go to the source code of this file.

Data Structures

struct  TransportInterface_t
 The transport layer interface. More...
 

Typedefs

typedef struct NetworkContext NetworkContext_t
 The NetworkContext is an incomplete type. An implementation of this interface must define struct NetworkContext for the system requirements. This context is passed into the network interface functions.
 
typedef int32_t(* TransportRecv_t) (NetworkContext_t *pNetworkContext, void *pBuffer, size_t bytesToRecv)
 Transport interface for receiving data on the network. More...
 
typedef int32_t(* TransportSend_t) (NetworkContext_t *pNetworkContext, const void *pBuffer, size_t bytesToSend)
 Transport interface for sending data over the network. More...
 

Detailed Description

Transport interface definitions to send and receive data over the network.