Fix mdns_resp_del_service

This commit is contained in:
goldsimon
2017-05-12 13:21:42 +02:00
parent c8b7759e10
commit e80b2eb4cf
2 changed files with 9 additions and 7 deletions

View File

@@ -61,9 +61,10 @@ void mdns_resp_init(void);
err_t mdns_resp_add_netif(struct netif *netif, const char *hostname, u32_t dns_ttl);
err_t mdns_resp_remove_netif(struct netif *netif);
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);
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);
err_t mdns_resp_del_service(struct netif *netif, s8_t slot);
err_t mdns_resp_add_service_txtitem(struct mdns_service *service, const char *txt, u8_t txt_len);
err_t mdns_resp_del_service(struct netif *netif, int slot);
void mdns_resp_netif_settings_changed(struct netif *netif);