rename files to snake_case

This commit is contained in:
badaix 2019-10-12 18:28:29 +02:00
parent ea3921d8b7
commit a30f548a31
87 changed files with 181 additions and 212 deletions

View file

@ -0,0 +1,37 @@
#ifndef BROWSEMDNS_H
#define BROWSEMDNS_H
#include <string>
enum IPVersion
{
IPv4 = 0,
IPv6 = 1
};
struct mDNSResult
{
IPVersion ip_version;
int iface_idx;
std::string ip;
std::string host;
uint16_t port;
bool valid;
};
class BrowsemDNS
{
public:
virtual bool browse(const std::string& serviceName, mDNSResult& result, int timeout) = 0;
};
#if defined(HAS_AVAHI)
#include "browse_avahi.hpp"
typedef BrowseAvahi BrowseZeroConf;
#elif defined(HAS_BONJOUR)
#include "browseBonjour.h"
typedef BrowseBonjour BrowseZeroConf;
#endif
#endif