mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-11 05:57:05 +03:00
21 lines
408 B
C++
21 lines
408 B
C++
#pragma once
|
|
|
|
#include <map>
|
|
#include <string>
|
|
|
|
namespace bell {
|
|
|
|
class MDNSService {
|
|
public:
|
|
static void* registerService(
|
|
const std::string &serviceName,
|
|
const std::string &serviceType,
|
|
const std::string &serviceProto,
|
|
const std::string &serviceHost,
|
|
int servicePort,
|
|
const std::map<std::string, std::string> txtData
|
|
);
|
|
static void unregisterService(void* service);
|
|
};
|
|
|
|
} // namespace bell
|