_mdns_append_string() function
appends single string to a packet, incrementing the index
Syntax
static inline uint8_t _mdns_append_string(uint8_t *packet,
uint16_t *index,
const char *string);
Arguments
index
offset in the packet
string
the string to append
Return value
length of added data: 0 on error or length of the string + 1 on success
![]()
static inline uint8_t _mdns_append_string(uint8_t *packet, uint16_t *index, const char *string)
_mdns_append_string() is called by 1 function and calls 1 function:
![]()
_mdns_append_string()
_mdns_append_string():
![]()
_mdns_append_string()