39#ifndef LWIP_HDR_APPS_MDNS_H
40#define LWIP_HDR_APPS_MDNS_H
49#if LWIP_MDNS_RESPONDER
56#define MDNS_PROBING_CONFLICT 0
57#define MDNS_PROBING_SUCCESSFUL 1
59#define MDNS_LABEL_MAXLEN 63
60#define MDNS_DOMAIN_MAXLEN 256
72 u8_t skip_compression;
84 struct mdns_rr_info
info;
96typedef void (*service_get_txt_fn_t)(
struct mdns_service *service,
void *txt_userdata);
106void mdns_resp_init(
void);
108void mdns_resp_register_name_result_cb(mdns_name_result_cb_t
cb);
113int mdns_resp_netif_active(
struct netif *
netif);
115s8_t mdns_resp_add_service(
struct netif *
netif,
const char *
name,
const char *service,
enum mdns_sd_proto
proto,
u16_t port, service_get_txt_fn_t txt_fn,
void *txt_userdata);
119err_t mdns_resp_add_service_txtitem(
struct mdns_service *service,
const char *txt,
u8_t txt_len);
133#define mdns_resp_netif_settings_changed(netif) mdns_resp_announce(netif)
136typedef void (*search_result_fn_t)(
struct mdns_answer *answer,
const char *varpart,
int varlen,
int flags,
void *
arg);
138#define MDNS_SEARCH_RESULT_FIRST 1
139#define MDNS_SEARCH_RESULT_LAST 2
141err_t mdns_search_service(
const char *
name,
const char *service,
enum mdns_sd_proto
proto,
142 struct netif *
netif, search_result_fn_t result_fn,
void *
arg,
144void mdns_search_stop(
u8_t request_id);
GLuint GLuint GLsizei GLenum type
GLuint GLsizei GLsizei * length
static HMODULE MODULEINFO DWORD cb