mdns: Remove legacy esp_event API

* Original commit: espressif/esp-idf@e46aa515bd
This commit is contained in:
David Cermak
2022-02-17 10:40:32 +01:00
committed by suren-gabrielyan-espressif
parent 82e2a5dcc1
commit 5909e9e54c
6 changed files with 17 additions and 28 deletions

View File

@ -11,7 +11,6 @@ extern "C" {
#endif
#include <esp_netif.h>
#include "esp_event.h"
#define MDNS_TYPE_A 0x0001
#define MDNS_TYPE_PTR 0x000C
@ -717,18 +716,6 @@ esp_err_t mdns_query_a(const char * host_name, uint32_t timeout, esp_ip4_addr_t
esp_err_t mdns_query_aaaa(const char * host_name, uint32_t timeout, esp_ip6_addr_t * addr);
#endif
/**
* @brief System event handler
* This method controls the service state on all active interfaces and applications are required
* to call it from the system event handler for normal operation of mDNS service.
*
* Please note that hostname must not contain domain name, as mDNS uses '.local' domain.
*
* @param ctx The system event context
* @param event The system event
*/
esp_err_t mdns_handle_system_event(void *ctx, system_event_t *event) __attribute__((deprecated));
#ifdef __cplusplus
}
#endif