summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2009-07-25 17:32:55 (GMT)
committerRemko Tronçon <git@el-tramo.be>2009-07-25 17:32:55 (GMT)
commit9f51e6c6279ae7fb541774ac4bf9debfa61395c1 (patch)
treed47cc48f4c162b09bf23b8ebf069a7855609b2b8 /Swiften/LinkLocal/AppleDNSSDService.cpp
parentd2807a77d39bd1a359f5b85869113ed83e01c204 (diff)
downloadswift-9f51e6c6279ae7fb541774ac4bf9debfa61395c1.zip
swift-9f51e6c6279ae7fb541774ac4bf9debfa61395c1.tar.bz2
Move LinkLocalServiceID->DNSSDServiceID.
Diffstat (limited to 'Swiften/LinkLocal/AppleDNSSDService.cpp')
-rw-r--r--Swiften/LinkLocal/AppleDNSSDService.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Swiften/LinkLocal/AppleDNSSDService.cpp b/Swiften/LinkLocal/AppleDNSSDService.cpp
index bf66e50..a052eb1 100644
--- a/Swiften/LinkLocal/AppleDNSSDService.cpp
+++ b/Swiften/LinkLocal/AppleDNSSDService.cpp
@@ -70,7 +70,7 @@ void AppleDNSSDService::unregisterService() {
registerSDRef = NULL;
}
-void AppleDNSSDService::startResolvingService(const LinkLocalServiceID& service) {
+void AppleDNSSDService::startResolvingService(const DNSSDServiceID& service) {
boost::lock_guard<boost::mutex> lock(sdRefsMutex);
DNSServiceRef resolveSDRef;
@@ -87,7 +87,7 @@ void AppleDNSSDService::startResolvingService(const LinkLocalServiceID& service)
interruptSelect();
}
-void AppleDNSSDService::stopResolvingService(const LinkLocalServiceID& service) {
+void AppleDNSSDService::stopResolvingService(const DNSSDServiceID& service) {
boost::lock_guard<boost::mutex> lock(sdRefsMutex);
ServiceSDRefMap::iterator i = resolveSDRefs.find(service);
@@ -238,7 +238,7 @@ void AppleDNSSDService::handleServiceDiscovered(DNSServiceRef, DNSServiceFlags f
return;
}
else {
- LinkLocalServiceID service(serviceName, regtype, replyDomain, interfaceIndex);
+ DNSSDServiceID service(serviceName, regtype, replyDomain, interfaceIndex);
if (flags & kDNSServiceFlagsAdd) {
MainEventLoop::postEvent(boost::bind(boost::ref(onServiceAdded), service), shared_from_this());
}
@@ -258,7 +258,7 @@ void AppleDNSSDService::handleServiceRegistered(DNSServiceRef, DNSServiceFlags,
haveError = true;
}
else {
- MainEventLoop::postEvent(boost::bind(boost::ref(onServiceRegistered), LinkLocalServiceID(name, regtype, domain, 0)), shared_from_this());
+ MainEventLoop::postEvent(boost::bind(boost::ref(onServiceRegistered), DNSSDServiceID(name, regtype, domain, 0)), shared_from_this());
}
}