2021-05-28 21:37:06 +01:00
|
|
|
#include "be_constobj.h"
|
|
|
|
|
|
|
|
static be_define_const_map_slots(m_libwebserver_map) {
|
2021-06-23 21:02:44 +01:00
|
|
|
{ be_const_key(state, 5), be_const_func(w_webserver_state) },
|
|
|
|
{ be_const_key(member, 9), be_const_func(w_webserver_member) },
|
2021-05-28 22:13:19 +01:00
|
|
|
{ be_const_key(content_button, -1), be_const_func(w_webserver_content_button) },
|
2021-06-23 21:02:44 +01:00
|
|
|
{ be_const_key(content_start, -1), be_const_func(w_webserver_content_start) },
|
|
|
|
{ be_const_key(content_send, -1), be_const_func(w_webserver_content_send) },
|
|
|
|
{ be_const_key(content_flush, -1), be_const_func(w_webserver_content_flush) },
|
|
|
|
{ be_const_key(redirect, 8), be_const_func(w_webserver_redirect) },
|
2021-05-29 08:21:44 +01:00
|
|
|
{ be_const_key(content_send_style, -1), be_const_func(w_webserver_content_send_style) },
|
2021-06-23 21:02:44 +01:00
|
|
|
{ be_const_key(arg, -1), be_const_func(w_webserver_arg) },
|
2021-05-28 22:13:19 +01:00
|
|
|
{ be_const_key(content_stop, -1), be_const_func(w_webserver_content_stop) },
|
2021-06-23 21:02:44 +01:00
|
|
|
{ be_const_key(arg_name, -1), be_const_func(w_webserver_arg_name) },
|
|
|
|
{ be_const_key(has_arg, -1), be_const_func(w_webserver_has_arg) },
|
2021-05-29 08:21:44 +01:00
|
|
|
{ be_const_key(arg_size, -1), be_const_func(w_webserver_argsize) },
|
2021-06-23 21:02:44 +01:00
|
|
|
{ be_const_key(check_privileged_access, 11), be_const_func(w_webserver_check_privileged_access) },
|
|
|
|
{ be_const_key(on, 3), be_const_func(w_webserver_on) },
|
2021-05-28 21:37:06 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
static be_define_const_map(
|
|
|
|
m_libwebserver_map,
|
2021-06-23 21:02:44 +01:00
|
|
|
15
|
2021-05-28 21:37:06 +01:00
|
|
|
);
|
|
|
|
|
|
|
|
static be_define_const_module(
|
|
|
|
m_libwebserver,
|
|
|
|
"webserver"
|
|
|
|
);
|
|
|
|
|
|
|
|
BE_EXPORT_VARIABLE be_define_const_native_module(webserver, NULL);
|