37 #ifndef LWIP_HDR_MDNS_H
38 #define LWIP_HDR_MDNS_H
43 #if LWIP_MDNS_RESPONDER
50 #define MDNS_LABEL_MAXLEN 63
56 typedef void (*service_get_txt_fn_t)(
struct mdns_service *service,
void *txt_userdata);
58 void mdns_resp_init(
void);
63 err_t mdns_resp_add_service(
struct netif *
netif,
const char *name,
const char *service,
enum mdns_sd_proto proto,
u16_t port,
u32_t dns_ttl, service_get_txt_fn_t txt_fn,
void *txt_userdata);
64 err_t mdns_resp_add_service_txtitem(
struct mdns_service *service,
const char *txt,
u8_t txt_len);
65 void mdns_resp_netif_settings_changed(
struct netif *
netif);