38 #ifndef LWIP_HDR_APPS_MDNS_H
39 #define LWIP_HDR_APPS_MDNS_H
48 #if LWIP_MDNS_RESPONDER
55 #define MDNS_PROBING_CONFLICT 0
56 #define MDNS_PROBING_SUCCESSFUL 1
58 #define MDNS_LABEL_MAXLEN 63
64 typedef void (*service_get_txt_fn_t)(
struct mdns_service *service,
void *txt_userdata);
70 typedef void (*mdns_name_result_cb_t)(
struct netif*
netif,
u8_t result);
72 void mdns_resp_init(
void);
74 void mdns_resp_register_name_result_cb(mdns_name_result_cb_t cb);
78 err_t mdns_resp_rename_netif(
struct netif *
netif,
const char *hostname);
80 s8_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);
84 err_t mdns_resp_add_service_txtitem(
struct mdns_service *service,
const char *txt,
u8_t txt_len);
97 #define mdns_resp_netif_settings_changed(netif) mdns_resp_announce(netif)
uint32_t u32_t
Definition: arch.h:129
uint8_t u8_t
Definition: arch.h:125
uint16_t u16_t
Definition: arch.h:127
int8_t s8_t
Definition: arch.h:126
s8_t err_t
Definition: err.h:96
char name[2]
Definition: netif.h:347