mirror of
https://github.com/arendst/Tasmota.git
synced 2025-04-26 15:57:16 +00:00
32 lines
1.1 KiB
C
32 lines
1.1 KiB
C
#include "be_constobj.h"
|
|
|
|
static be_define_const_map_slots(be_class_webclient_map) {
|
|
{ be_const_key(url_encode, 3), be_const_func(wc_urlencode) },
|
|
{ be_const_key(POST, -1), be_const_func(wc_POST) },
|
|
{ be_const_key(dot_p, -1), be_const_var(0) },
|
|
{ be_const_key(begin, 5), be_const_func(wc_begin) },
|
|
{ be_const_key(set_useragent, 2), be_const_func(wc_set_useragent) },
|
|
{ be_const_key(set_auth, 12), be_const_func(wc_set_auth) },
|
|
{ be_const_key(close, -1), be_const_func(wc_close) },
|
|
{ be_const_key(add_header, 9), be_const_func(wc_addheader) },
|
|
{ be_const_key(get_size, -1), be_const_func(wc_getsize) },
|
|
{ be_const_key(deinit, -1), be_const_func(wc_deinit) },
|
|
{ be_const_key(set_timeouts, -1), be_const_func(wc_set_timeouts) },
|
|
{ be_const_key(GET, 13), be_const_func(wc_GET) },
|
|
{ be_const_key(init, -1), be_const_func(wc_init) },
|
|
{ be_const_key(dot_w, -1), be_const_var(1) },
|
|
{ be_const_key(get_string, 11), be_const_func(wc_getstring) },
|
|
};
|
|
|
|
static be_define_const_map(
|
|
be_class_webclient_map,
|
|
15
|
|
);
|
|
|
|
BE_EXPORT_VARIABLE be_define_const_class(
|
|
be_class_webclient,
|
|
2,
|
|
NULL,
|
|
webclient
|
|
);
|