1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
|
// Copyright (c) 2018-2018 Josh Blum
// SPDX-License-Identifier: BSL-1.0
#include "SoapyMDNSEndpoint.hpp"
#include <SoapySDR/Logger.hpp>
SoapyMDNSEndpoint::SoapyMDNSEndpoint(void):
_impl(nullptr)
{
return;
}
SoapyMDNSEndpoint::~SoapyMDNSEndpoint(void)
{
return;
}
void SoapyMDNSEndpoint::printInfo(void)
{
//we usually can build avahi support on linux, so only warn on linux
#ifdef __linux__
SoapySDR::log(SOAPY_SDR_WARNING, "SoapyRemote compiled without DNS-SD support!");
#endif //__linux__
}
bool SoapyMDNSEndpoint::status(void)
{
return true;
}
void SoapyMDNSEndpoint::registerService(const std::string &, const std::string &, const int)
{
return;
}
std::map<std::string, std::map<int, std::string>> SoapyMDNSEndpoint::getServerURLs(const int, const long)
{
return {};
}
|