Files
esp-mqtt/lib/include/transport_tcp.h

28 lines
565 B
C
Raw Normal View History

2018-02-17 11:42:41 +07:00
/*
* This file is subject to the terms and conditions defined in
* file 'LICENSE', which is part of this source code package.
* Tuan PM <tuanpm at live dot com>
*/
2018-02-16 02:40:16 +07:00
#ifndef _TRANSPORT_TCP_H_
#define _TRANSPORT_TCP_H_
#include "transport.h"
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Create TCP transport, the transport handle must be release transport_destroy callback
2018-02-16 02:40:16 +07:00
*
* @return the allocated transport_handle_t, or NULL if the handle can not be allocated
2018-02-16 02:40:16 +07:00
*/
transport_handle_t transport_tcp_init();
#ifdef __cplusplus
}
#endif
#endif