mirror of
https://github.com/emqx/neuron.git
synced 2026-10-20 16:05:10 +08:00
Add new cmd/data structure type license key value passing
1. Add structure type get_lic_val_cmd_t 2. Add structure type lic_val_resp_t
This commit is contained in:
@@ -155,6 +155,14 @@ typedef struct grp_config_changed_cmd {
|
||||
neu_node_id_t dst_node_id;
|
||||
} grp_config_changed_cmd_t;
|
||||
|
||||
/* MSG_CMD_GET_LIC_VAL */
|
||||
typedef struct {
|
||||
adapter_id_t sender_id;
|
||||
uint32_t req_id;
|
||||
const char * lic_fname; // don't take ownership
|
||||
const char * key_name; // don't take ownership
|
||||
} get_lic_val_cmd_t;
|
||||
|
||||
/* MSG_EVENT_GROUP_CONFIG_CHANGED */
|
||||
typedef struct grp_config_changed_event {
|
||||
neu_taggrp_config_t *grp_config;
|
||||
@@ -184,6 +192,15 @@ typedef struct write_data_resp {
|
||||
uint32_t req_id;
|
||||
} write_data_resp_t;
|
||||
|
||||
/* MSG_DATA_LIC_RESP */
|
||||
typedef struct {
|
||||
adapter_id_t recver_id;
|
||||
uint32_t req_id;
|
||||
const char * lic_fname; // don't take ownership
|
||||
const char * key_name; // don't take ownership
|
||||
neu_data_val_t *val;
|
||||
} lic_val_resp_t;
|
||||
|
||||
typedef struct message message_t;
|
||||
|
||||
// get size of message
|
||||
|
||||
Reference in New Issue
Block a user