mirror of
https://github.com/espressif/esp-mqtt.git
synced 2025-11-15 14:59:38 +01:00
28 lines
565 B
C
28 lines
565 B
C
/*
|
|
* 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>
|
|
*/
|
|
#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
|
|
*
|
|
* @return the allocated transport_handle_t, or NULL if the handle can not be allocated
|
|
*/
|
|
transport_handle_t transport_tcp_init();
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|