mirror of https://github.com/arendst/Tasmota.git
20 lines
478 B
C
20 lines
478 B
C
|
#include "be_constobj.h"
|
||
|
|
||
|
static be_define_const_map_slots(m_libmqtt_map) {
|
||
|
{ be_const_key(unsubscribe, -1), be_const_ctype_func(be_mqtt_unsubscribe) },
|
||
|
{ be_const_key(subscribe, -1), be_const_ctype_func(be_mqtt_subscribe) },
|
||
|
{ be_const_key(publish, 1), be_const_func(be_mqtt_publish) },
|
||
|
};
|
||
|
|
||
|
static be_define_const_map(
|
||
|
m_libmqtt_map,
|
||
|
3
|
||
|
);
|
||
|
|
||
|
static be_define_const_module(
|
||
|
m_libmqtt,
|
||
|
"mqtt"
|
||
|
);
|
||
|
|
||
|
BE_EXPORT_VARIABLE be_define_const_native_module(mqtt);
|