11 #include "network/Zeroconf.h" 12 #include "threads/CriticalSection.h" 13 #include "threads/Thread.h" 35 const std::string& fcr_type,
36 const std::string& fcr_name,
38 const std::vector<std::pair<std::string, std::string> >& txt);
40 bool doForceReAnnounceService(
const std::string& fcr_identifier);
41 bool doRemoveService(
const std::string& fcr_ident);
43 virtual void doStop();
47 void ProcessResults();
51 static void DNSSD_API registerCallback(DNSServiceRef sdref,
52 const DNSServiceFlags flags,
53 DNSServiceErrorType errorCode,
61 CCriticalSection m_data_guard;
64 DNSServiceRef serviceRef;
65 TXTRecordRef txtRecordRef;
68 typedef std::map<std::string, struct tServiceRef> tServiceMap;
69 tServiceMap m_services;
70 DNSServiceRef m_service;
bool IsZCdaemonRunning()
Definition: ZeroconfMDNS.cpp:61
Definition: ZeroconfMDNS.h:22
this class provides support for zeroconf while the different zeroconf implementations have asynchrono...
Definition: Zeroconf.h:28
bool doPublishService(const std::string &fcr_identifier, const std::string &fcr_type, const std::string &fcr_name, unsigned int f_port, const std::vector< std::pair< std::string, std::string > > &txt)
Definition: ZeroconfMDNS.cpp:80