mirror of
https://github.com/arendst/Tasmota.git
synced 2025-04-25 15:27:17 +00:00
27 lines
887 B
C
27 lines
887 B
C
#include "be_constobj.h"
|
|
|
|
static be_define_const_map_slots(be_class_tcpclient_map) {
|
|
{ be_const_key(deinit, -1), be_const_func(wc_tcp_deinit) },
|
|
{ be_const_key(close, -1), be_const_func(wc_tcp_close) },
|
|
{ be_const_key(connected, 0), be_const_func(wc_tcp_connected) },
|
|
{ be_const_key(_X2Ep, -1), be_const_var(0) },
|
|
{ be_const_key(available, 8), be_const_func(wc_tcp_available) },
|
|
{ be_const_key(init, -1), be_const_func(wc_tcp_init) },
|
|
{ be_const_key(readbytes, -1), be_const_func(wc_tcp_readbytes) },
|
|
{ be_const_key(connect, -1), be_const_func(wc_tcp_connect) },
|
|
{ be_const_key(write, -1), be_const_func(wc_tcp_write) },
|
|
{ be_const_key(read, 3), be_const_func(wc_tcp_read) },
|
|
};
|
|
|
|
static be_define_const_map(
|
|
be_class_tcpclient_map,
|
|
10
|
|
);
|
|
|
|
BE_EXPORT_VARIABLE be_define_const_class(
|
|
be_class_tcpclient,
|
|
1,
|
|
NULL,
|
|
tcpclient
|
|
);
|