Add feature to clone message element
This commit is contained in:
@ -52,6 +52,13 @@ static void* capwap_80211_stationqos_element_parsing(capwap_message_elements_han
|
||||
return data;
|
||||
}
|
||||
|
||||
/* */
|
||||
static void* capwap_80211_stationqos_element_clone(void* data) {
|
||||
ASSERT(data != NULL);
|
||||
|
||||
return capwap_clone(data, sizeof(struct capwap_80211_stationqos_element));
|
||||
}
|
||||
|
||||
/* */
|
||||
static void capwap_80211_stationqos_element_free(void* data) {
|
||||
ASSERT(data != NULL);
|
||||
@ -63,5 +70,6 @@ static void capwap_80211_stationqos_element_free(void* data) {
|
||||
struct capwap_message_elements_ops capwap_element_80211_stationqos_ops = {
|
||||
.create_message_element = capwap_80211_stationqos_element_create,
|
||||
.parsing_message_element = capwap_80211_stationqos_element_parsing,
|
||||
.free_parsed_message_element = capwap_80211_stationqos_element_free
|
||||
.clone_message_element = capwap_80211_stationqos_element_clone,
|
||||
.free_message_element = capwap_80211_stationqos_element_free
|
||||
};
|
||||
|
Reference in New Issue
Block a user