mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-12-05 00:29:22 +01:00
The MDNS component has been refactored from a single monolithic file mdns.c into a set of focused modules with clear responsibilities. This restructuring maintains the same functionality while improving code organization, maintainability, and testability. In the stage#2 we will focus on module based tests In the stage#3 we will focus on small scale refators and optimizations
33 lines
511 B
C
33 lines
511 B
C
/*
|
|
* SPDX-FileCopyrightText: 2025 Espressif Systems (Shanghai) CO LTD
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
#pragma once
|
|
|
|
#include <stddef.h>
|
|
#include "mdns_private.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/**
|
|
* @brief Lock mdns service
|
|
*/
|
|
void mdns_priv_service_lock(void);
|
|
|
|
/**
|
|
* @brief Unlock mdns service
|
|
*/
|
|
void mdns_priv_service_unlock(void);
|
|
|
|
/**
|
|
* @brief Send the given action to the service queue
|
|
*/
|
|
bool mdns_priv_queue_action(mdns_action_t *action);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|