mdns: allow explicit txt value length

* Original commit: espressif/esp-idf@b4e0088b68
This commit is contained in:
Jiacheng Guo authored and suren-gabrielyan-espressif committed 2022-05-27 17:44:24 +04:00
1 parent 73b1763029
commit 2ddaee2b6e
4 files changed
+140 -31

No files matched your search

@@ -277,7 +277,8 @@ typedef struct {
typedef struct mdns_txt_linked_item_s {
const char * key; /*!< item key name */
const char * value; /*!< item value string */
char * value; /*!< item value string */
uint8_t value_len; /*!< item value length */
struct mdns_txt_linked_item_s * next; /*!< next result, or NULL for the last result in the list */
} mdns_txt_linked_item_t;
@@ -426,6 +427,7 @@ typedef struct {
mdns_srv_item_t * service;
char * key;
char * value;
uint8_t value_len;
} srv_txt_set;
struct {
mdns_srv_item_t * service;