mirror of
https://github.com/emqx/neuron.git
synced 2026-10-22 01:05:56 +08:00
Revert "Add function neu_plugin_send_lic_cmd"
This reverts commit 4aff210d0e.
This commit is contained in:
@@ -114,8 +114,6 @@ void neu_plugin_send_write_cmd(neu_plugin_t *plugin, uint32_t event_id,
|
||||
neu_node_id_t node_id,
|
||||
neu_taggrp_config_t *grp_configs,
|
||||
neu_data_val_t * data);
|
||||
void neu_plugin_send_lic_cmd(neu_plugin_t *plugin, uint32_t event_id,
|
||||
const char *license_fname, const char *key);
|
||||
void neu_plugin_response_trans_data(neu_plugin_t * plugin,
|
||||
neu_taggrp_config_t *grp_config,
|
||||
neu_data_val_t *data, uint32_t event_id);
|
||||
|
||||
@@ -301,18 +301,6 @@ void neu_plugin_send_write_cmd(neu_plugin_t *plugin, uint32_t event_id,
|
||||
PLUGIN_SEND_CMD(plugin, NEU_REQRESP_WRITE_DATA, write_req, event_id)
|
||||
}
|
||||
|
||||
void neu_plugin_send_lic_cmd(neu_plugin_t *plugin, uint32_t event_id,
|
||||
const char *license_fname, const char *key)
|
||||
{
|
||||
|
||||
neu_reqresp_get_lic_val_t lic_req = {
|
||||
.lic_fname = license_fname,
|
||||
.key_name = key,
|
||||
};
|
||||
|
||||
PLUGIN_SEND_CMD(plugin, NEU_REQRESP_GET_LIC_VAL, lic_req, event_id)
|
||||
}
|
||||
|
||||
static inline int plugin_notify_tags_event(neu_plugin_t * plugin,
|
||||
uint32_t event_id,
|
||||
neu_event_type_e type,
|
||||
|
||||
Reference in New Issue
Block a user