Tasmota/lib/libesp32/Berry/generate/be_fixed_webserver.h

34 lines
1.5 KiB
C
Raw Normal View History

2021-05-28 21:37:06 +01:00
#include "be_constobj.h"
static be_define_const_map_slots(m_libwebserver_map) {
{ be_const_key(has_arg, -1), be_const_func(w_webserver_has_arg) },
{ be_const_key(HTTP_MANAGER, -1), be_const_int(3) },
{ be_const_key(content_start, 12), be_const_func(w_webserver_content_start) },
{ be_const_key(args, -1), be_const_func(w_webserver_args) },
{ be_const_key(HTTP_USER, -1), be_const_int(1) },
{ be_const_key(content_stop, -1), be_const_func(w_webserver_content_stop) },
{ be_const_key(arg, 10), be_const_func(w_webserver_arg) },
{ be_const_key(HTTP_ADMIN, -1), be_const_int(2) },
{ be_const_key(content_send_style, -1), be_const_func(w_webserver_content_send_style) },
{ be_const_key(content_flush, 14), be_const_func(w_webserver_content_flush) },
{ be_const_key(state, -1), be_const_func(w_webserver_state) },
{ be_const_key(content_button, -1), be_const_func(w_webserver_content_button) },
{ be_const_key(HTTP_OFF, -1), be_const_int(0) },
{ be_const_key(on, 5), be_const_func(w_webserver_on) },
{ be_const_key(content_send, -1), be_const_func(w_webserver_content_send) },
{ be_const_key(HTTP_MANAGER_RESET_ONLY, 16), be_const_int(4) },
{ be_const_key(check_privileged_access, -1), be_const_func(w_webserver_check_privileged_access) },
};
static be_define_const_map(
m_libwebserver_map,
17
);
static be_define_const_module(
m_libwebserver,
"webserver"
);
BE_EXPORT_VARIABLE be_define_const_native_module(webserver, NULL);