├── .gitignore ├── CMakeLists.txt ├── Clients ├── BonjourExample │ ├── BonjourExample.cpp │ ├── BonjourExample.sln │ ├── BonjourExample.vcproj │ ├── stdafx.cpp │ └── stdafx.h ├── ClientCommon.c ├── ClientCommon.h ├── DNS-SD.VisualStudio │ ├── DNS-SD.manifest │ ├── DNS-SD64.manifest │ ├── dns-sd.rc │ ├── dns-sd.sdk.rc │ ├── dns-sd.sdk.vcproj │ ├── dns-sd.vcproj │ ├── dns-sd.vcxproj │ ├── dns-sd.vcxproj.filters │ └── resource.h ├── DNS-SD.xcodeproj │ └── project.pbxproj ├── DNSServiceBrowser-Info.plist ├── DNSServiceBrowser.NET │ ├── App.ico │ ├── AssemblyInfo.cs │ ├── DNSServiceBrowser.NET.csproj │ ├── DNSServiceBrowser.cs │ └── DNSServiceBrowser.resx ├── DNSServiceBrowser.VB │ ├── DNSServiceBrowser.Designer.vb │ ├── DNSServiceBrowser.VB.vbproj │ ├── DNSServiceBrowser.resx │ ├── DNSServiceBrowser.vb │ └── My Project │ │ ├── Application.Designer.vb │ │ ├── Application.myapp │ │ ├── AssemblyInfo.vb │ │ ├── Resources.Designer.vb │ │ ├── Resources.resx │ │ ├── Settings.Designer.vb │ │ └── Settings.settings ├── DNSServiceBrowser.m ├── DNSServiceBrowser.nib │ ├── classes.nib │ ├── info.nib │ └── objects.nib ├── DNSServiceReg-Info.plist ├── DNSServiceReg.m ├── DNSServiceReg.nib │ ├── classes.nib │ ├── info.nib │ └── objects.nib ├── ExplorerPlugin │ ├── About.cpp │ ├── About.h │ ├── ClassFactory.cpp │ ├── ClassFactory.h │ ├── ExplorerBar.cpp │ ├── ExplorerBar.h │ ├── ExplorerBarWindow.cpp │ ├── ExplorerBarWindow.h │ ├── ExplorerPlugin.cpp │ ├── ExplorerPlugin.def │ ├── ExplorerPlugin.h │ ├── ExplorerPlugin.rc │ ├── ExplorerPlugin.vcproj │ ├── ExplorerPlugin.vcxproj │ ├── ExplorerPlugin.vcxproj.filters │ ├── ExplorerPluginLocRes.rc │ ├── ExplorerPluginLocRes.vcproj │ ├── ExplorerPluginLocRes.vcxproj │ ├── ExplorerPluginLocRes.vcxproj.filters │ ├── ExplorerPluginRes.rc │ ├── ExplorerPluginRes.vcproj │ ├── ExplorerPluginRes.vcxproj │ ├── ExplorerPluginRes.vcxproj.filters │ ├── LoginDialog.cpp │ ├── LoginDialog.h │ ├── ReadMe.txt │ ├── Resource.h │ ├── StdAfx.cpp │ ├── StdAfx.h │ ├── res │ │ ├── ExplorerPlugin.manifest │ │ ├── ExplorerPlugin64.manifest │ │ ├── about.bmp │ │ ├── button-2k.ico │ │ ├── button-xp.ico │ │ ├── cold.ico │ │ ├── hot.ico │ │ └── logo.bmp │ ├── resource_dll.h │ ├── resource_loc_res.h │ └── resource_res.h ├── FirefoxExtension │ ├── CDNSSDService.cpp │ ├── CDNSSDService.h │ ├── CDNSSDServiceModule.cpp │ ├── DNSSDService.sln │ ├── FirefoxExtension.rc │ ├── FirefoxExtension.vcproj │ ├── FirefoxExtension.vcxproj │ ├── FirefoxExtension.vcxproj.filters │ ├── IDNSSDService.h │ ├── IDNSSDService.idl │ ├── extension │ │ ├── chrome.manifest │ │ ├── components │ │ │ └── IDNSSDService.xpt │ │ ├── content │ │ │ ├── _internal_bonjour4firefox.png │ │ │ ├── _internal_listImage.png │ │ │ ├── bonjour4firefox.css │ │ │ ├── bonjour4firefox.xul │ │ │ ├── browserOverlay.xul │ │ │ └── overlay.js │ │ ├── defaults │ │ │ └── preferences │ │ │ │ └── bonjour4firefox.js │ │ ├── install.rdf │ │ ├── locale │ │ │ └── en-US │ │ │ │ ├── bonjour4firefox.dtd │ │ │ │ └── bonjour4firefox.properties │ │ ├── readme.txt │ │ ├── skin-darwin │ │ │ ├── _internal_toobar-button.png │ │ │ └── overlay.css │ │ └── skin │ │ │ ├── _internal_toobar-button.png │ │ │ └── overlay.css │ ├── readme.txt │ └── resource.h ├── Java │ ├── BrowserApp.java │ ├── BrowserApp.manifest │ ├── DNSSDUnitTest.java │ ├── JavaSamples.vcproj │ ├── JavaSamples.vcxproj │ ├── SimpleChat.java │ ├── SimpleChat.manifest │ ├── SwingBrowseListener.java │ ├── SwingDomainListener.java │ ├── SwingQueryListener.java │ └── nmakefile ├── Makefile ├── PrinterSetupWizard │ ├── About.cpp │ ├── About.h │ ├── FirstPage.cpp │ ├── FirstPage.h │ ├── FourthPage.cpp │ ├── FourthPage.h │ ├── Logger.cpp │ ├── Logger.h │ ├── PrinterSetupWizard.ncb │ ├── PrinterSetupWizard.rc │ ├── PrinterSetupWizard.vcproj │ ├── PrinterSetupWizard.vcxproj │ ├── PrinterSetupWizard.vcxproj.filters │ ├── PrinterSetupWizardApp.cpp │ ├── PrinterSetupWizardApp.h │ ├── PrinterSetupWizardLocRes.rc │ ├── PrinterSetupWizardLocRes.vcproj │ ├── PrinterSetupWizardLocRes.vcxproj │ ├── PrinterSetupWizardLocRes.vcxproj.filters │ ├── PrinterSetupWizardRes.rc │ ├── PrinterSetupWizardRes.vcproj │ ├── PrinterSetupWizardRes.vcxproj │ ├── PrinterSetupWizardRes.vcxproj.filters │ ├── PrinterSetupWizardSheet.cpp │ ├── PrinterSetupWizardSheet.h │ ├── ReadMe.txt │ ├── SecondPage.cpp │ ├── SecondPage.h │ ├── ThirdPage.cpp │ ├── ThirdPage.h │ ├── UtilTypes.h │ ├── res │ │ ├── Info.ico │ │ ├── NetworkPrinter.ico │ │ ├── Print.ico │ │ ├── PrinterSetupWizard.ico │ │ ├── PrinterSetupWizard.manifest │ │ ├── PrinterSetupWizard.rc2 │ │ ├── PrinterSetupWizard64.manifest │ │ ├── PrinterSetupWizardLocRes.rc2 │ │ ├── PrinterSetupWizardRes.rc2 │ │ ├── Thumbs.db │ │ ├── about.bmp │ │ ├── banner_icon.bmp │ │ └── watermark.bmp │ ├── resource.h │ ├── resource_exe.h │ ├── resource_loc_res.h │ ├── resource_res.h │ ├── stdafx.cpp │ ├── stdafx.h │ └── tcpxcv.h ├── ReadMe.txt ├── SimpleChat.NET │ ├── App.ico │ ├── AssemblyInfo.cs │ ├── SimpleChat.NET.csproj │ ├── SimpleChat.cs │ └── SimpleChat.resx ├── SimpleChat.VB │ ├── My Project │ │ ├── Application.Designer.vb │ │ ├── Application.myapp │ │ ├── AssemblyInfo.vb │ │ ├── Resources.Designer.vb │ │ ├── Resources.resx │ │ ├── Settings.Designer.vb │ │ └── Settings.settings │ ├── SimpleChat.Designer.vb │ ├── SimpleChat.VB.vbproj │ ├── SimpleChat.resx │ └── SimpleChat.vb ├── dns-sd.c ├── dnsctl.c └── mDNSNetMonitor.VisualStudio │ ├── mDNSNetMonitor.manifest │ ├── mDNSNetMonitor.rc │ ├── mDNSNetMonitor.vcproj │ ├── mDNSNetMonitor.vcxproj │ ├── mDNSNetMonitor.vcxproj.filters │ └── resource.h ├── Documents ├── Attach mDNSResponder to Xcode.rtfd │ ├── 52D711AF-4055-4867-A494-7E31552BB9E1.png │ ├── Screen Shot 2015-09-16 at 3.36.23 PM.png │ ├── Screen Shot 2015-09-16 at 3.46.14 PM.png │ ├── TXT.rtf │ └── unknown.png └── Start mDNSResponder in Xcode.rtfd │ ├── A944EB40-AEFD-4CA1-BF10-E8F52835CA8C.png │ ├── Screen Shot 2015-09-16 at 4.22.37 PM.png │ └── TXT.rtf ├── LICENSE ├── Makefile ├── PrivateDNS.txt ├── README.txt ├── cmake └── dnssd-config.cmake ├── mDNSCore ├── CryptoAlg.c ├── CryptoAlg.h ├── DNSCommon.c ├── DNSCommon.h ├── DNSDigest.c ├── Implementer Notes.txt ├── anonymous.c ├── anonymous.h ├── dnsproxy.c ├── dnsproxy.h ├── dnssec.c ├── dnssec.h ├── mDNS.c ├── mDNSDebug.h ├── mDNSEmbeddedAPI.h ├── nsec.c ├── nsec.h ├── nsec3.c ├── nsec3.h ├── uDNS.c └── uDNS.h ├── mDNSMacOSX ├── BLE.c ├── BLE.h ├── BonjourEvents-Info.plist ├── BonjourEvents.c ├── CUPolicy.c ├── CryptoSupport.c ├── CryptoSupport.h ├── DNSProxySupport.c ├── DNSSECSupport.c ├── DNSSECSupport.h ├── DNSServiceDiscovery.c ├── DNSServiceDiscovery.h ├── DNSServiceDiscoveryDefines.h ├── DNSServiceDiscoveryReply.defs ├── DNSServiceDiscoveryRequest.defs ├── LaunchDaemonInfo-Tiger.helper.plist ├── LaunchDaemonInfo-Tiger.plist ├── LaunchDaemonInfo.dnsextd.plist ├── LaunchDaemonInfo.helper.plist ├── LaunchDaemonInfo.plist ├── LegacyNATTraversal.c ├── Metrics.h ├── Metrics.m ├── P2PPacketFilter.c ├── P2PPacketFilter.h ├── PreferencePane │ ├── Artwork │ │ ├── add_idle.tiff │ │ ├── add_pressed.tiff │ │ ├── failure.tiff │ │ ├── inprogress.tiff │ │ ├── remove_disabled.tiff │ │ ├── remove_idle.tiff │ │ ├── remove_pressed.tiff │ │ └── success.tiff │ ├── BonjourPref.icns │ ├── BonjourPref.tiff │ ├── ConfigurationAuthority.c │ ├── ConfigurationAuthority.h │ ├── ConfigurationRights.h │ ├── DNSServiceDiscoveryPref.h │ ├── DNSServiceDiscoveryPref.m │ ├── English.lproj │ │ ├── DNSServiceDiscoveryPref.nib │ │ │ ├── classes.nib │ │ │ ├── info.nib │ │ │ └── keyedobjects.nib │ │ └── InfoPlist.strings │ ├── Info-PreferencePane.plist │ ├── PrivilegedOperations.c │ ├── PrivilegedOperations.h │ ├── ddnswriteconfig.m │ └── installtool ├── Private │ ├── com.apple.mDNSResponder.plist │ ├── dns_sd_private.h │ ├── dns_services.c │ ├── dns_services.h │ ├── dns_xpc.h │ ├── dnsctl_server.c │ ├── xpc_services.c │ └── xpc_services.h ├── README.privsep ├── SymptomReporter.c ├── VPNService.c ├── base.xcconfig ├── com.apple.dnsextd.plist ├── com.apple.mDNSResponder.plist ├── com.apple.mDNSResponderHelper.plist ├── com.apple.networking.mDNSResponder ├── coreBLE.h ├── coreBLE.m ├── daemon.c ├── dnsctl-entitlements.plist ├── helper-entitlements.plist ├── helper-error.h ├── helper-main.c ├── helper-server.h ├── helper-stubs.c ├── helper.c ├── helper.h ├── helpermsg-types.h ├── helpermsg.defs ├── ipsec_strerror.h ├── libpfkey.h ├── mDNSMacOSX.c ├── mDNSMacOSX.h ├── mDNSResponder-bundle │ └── Resources │ │ ├── English.lproj │ │ └── Localizable.strings │ │ └── French.lproj │ │ └── Localizable.strings ├── mDNSResponder-entitlements.plist ├── mDNSResponder.order ├── mDNSResponder.pbproj │ └── project.pbxproj ├── mDNSResponder.plist ├── mDNSResponder.sb ├── mDNSResponder.txt ├── mDNSResponder.xcodeproj │ ├── project.pbxproj │ └── xcshareddata │ │ └── xcschemes │ │ ├── Build All.xcscheme │ │ └── mDNSResponder.xcscheme ├── mDNSResponderHelper.8 ├── mDNSResponderHelper.plist ├── mDNSResponderLogging.mobileconfig ├── pfkey.c └── uDNSPathEvalulation.c ├── mDNSPosix ├── Client.c ├── ExampleClientApp.c ├── ExampleClientApp.h ├── Identify.c ├── Makefile ├── NetMonitor.c ├── PosixDaemon.c ├── ProxyResponder.c ├── ReadMe.txt ├── Responder.c ├── Services.txt ├── libnss_mdns.8 ├── mDNSPosix.c ├── mDNSPosix.h ├── mDNSUNP.c ├── mDNSUNP.h ├── mdnsd.sh ├── nss_ReadMe.txt ├── nss_mdns.c ├── nss_mdns.conf ├── nss_mdns.conf.5 └── parselog.py ├── mDNSResponder.sln ├── mDNSShared ├── CommonServices.h ├── DebugServices.c ├── DebugServices.h ├── GenLinkedList.c ├── GenLinkedList.h ├── Java │ ├── BaseListener.java │ ├── BrowseListener.java │ ├── DNSRecord.java │ ├── DNSSD.java │ ├── DNSSDException.java │ ├── DNSSDRecordRegistrar.java │ ├── DNSSDRegistration.java │ ├── DNSSDService.java │ ├── DomainListener.java │ ├── JNISupport.c │ ├── QueryListener.java │ ├── RegisterListener.java │ ├── RegisterRecordListener.java │ ├── ResolveListener.java │ └── TXTRecord.java ├── PlatformCommon.c ├── PlatformCommon.h ├── dns-sd.1 ├── dns_sd.h ├── dnsextd.8 ├── dnsextd.c ├── dnsextd.conf ├── dnsextd.h ├── dnsextd_lexer.l ├── dnsextd_parser.y ├── dnssd_clientlib.c ├── dnssd_clientshim.c ├── dnssd_clientstub.c ├── dnssd_ipc.c ├── dnssd_ipc.h ├── mDNSDebug.c ├── mDNSResponder.8 ├── uds_daemon.c └── uds_daemon.h ├── mDNSVxWorks ├── README.txt ├── mDNSVxWorks.c ├── mDNSVxWorks.h ├── mDNSVxWorksIPv4Only.c └── mDNSVxWorksIPv4Only.h ├── mDNSWindows ├── ControlPanel │ ├── BrowsingPage.cpp │ ├── BrowsingPage.h │ ├── ConfigDialog.cpp │ ├── ConfigDialog.h │ ├── ConfigPropertySheet.cpp │ ├── ConfigPropertySheet.h │ ├── ControlPanel.cpp │ ├── ControlPanel.def │ ├── ControlPanel.h │ ├── ControlPanel.rc │ ├── ControlPanel.vcproj │ ├── ControlPanel.vcxproj │ ├── ControlPanel.vcxproj.filters │ ├── ControlPanelDll.rc │ ├── ControlPanelExe.cpp │ ├── ControlPanelExe.h │ ├── ControlPanelExe.rc │ ├── ControlPanelExe.vcproj │ ├── ControlPanelLocRes.rc │ ├── ControlPanelLocRes.vcproj │ ├── ControlPanelLocRes.vcxproj │ ├── ControlPanelLocRes.vcxproj.filters │ ├── ControlPanelRes.rc │ ├── ControlPanelRes.vcproj │ ├── ControlPanelRes.vcxproj │ ├── ControlPanelRes.vcxproj.filters │ ├── FourthPage.cpp │ ├── FourthPage.h │ ├── RegistrationPage.cpp │ ├── RegistrationPage.h │ ├── SecondPage.cpp │ ├── SecondPage.h │ ├── ServicesPage.cpp │ ├── ServicesPage.h │ ├── SharedSecret.cpp │ ├── SharedSecret.h │ ├── res │ │ ├── ControlPanel.dll.manifest │ │ ├── ControlPanel.exe.manifest │ │ ├── ControlPanel.manifest │ │ ├── ControlPanel.rc2 │ │ ├── ControlPanel64.manifest │ │ ├── EnergySaver.ico │ │ ├── controlpanel.ico │ │ ├── failure.ico │ │ └── success.ico │ ├── resource.h │ ├── stdafx.cpp │ └── stdafx.h ├── DLL.NET │ ├── AssemblyInfo.cpp │ ├── PString.h │ ├── Stdafx.cpp │ ├── Stdafx.h │ ├── dnssd_NET.cpp │ ├── dnssd_NET.h │ ├── dnssd_NET.ico │ ├── dnssd_NET.rc │ ├── dnssd_NET.vcproj │ └── resource.h ├── DLL │ ├── dll.aps │ ├── dll.rc │ ├── dllmain.c │ ├── dnssd.def │ ├── dnssd.vcproj │ ├── dnssd.vcxproj │ ├── dnssd.vcxproj.filters │ └── resource.h ├── DLLStub │ ├── DLLStub.cpp │ ├── DLLStub.h │ ├── DLLStub.vcproj │ ├── DLLStub.vcxproj │ └── DLLStub.vcxproj.filters ├── DLLX │ ├── DLLX.cpp │ ├── DLLX.def │ ├── DLLX.idl │ ├── DLLX.rc │ ├── DLLX.rgs │ ├── DLLX.vcproj │ ├── DLLX.vcxproj │ ├── DLLX.vcxproj.filters │ ├── DNSSD.cpp │ ├── DNSSDEventManager.cpp │ ├── DNSSDEventManager.h │ ├── DNSSDEventManager.rgs │ ├── DNSSDRecord.cpp │ ├── DNSSDRecord.h │ ├── DNSSDRecord.rgs │ ├── DNSSDService.cpp │ ├── DNSSDService.h │ ├── DNSSDService.rgs │ ├── StringServices.cpp │ ├── StringServices.h │ ├── TXTRecord.cpp │ ├── TXTRecord.h │ ├── TXTRecord.rgs │ ├── _IDNSSDEvents_CP.h │ ├── dlldatax.c │ ├── dlldatax.h │ ├── resource.h │ └── stdafx.h ├── DNSServiceBrowser │ ├── Windows │ │ ├── ApplicationVS2002.sln │ │ ├── ApplicationVS2002.vcproj │ │ ├── ApplicationVS2003.sln │ │ ├── ApplicationVS2003.vcproj │ │ ├── Resources │ │ │ ├── Application.ico │ │ │ ├── Application.rc │ │ │ ├── Application.rc2 │ │ │ └── Resource.h │ │ └── Sources │ │ │ ├── AboutDialog.cpp │ │ │ ├── AboutDialog.h │ │ │ ├── Application.cpp │ │ │ ├── Application.h │ │ │ ├── ChooserDialog.cpp │ │ │ ├── ChooserDialog.h │ │ │ ├── LoginDialog.cpp │ │ │ ├── LoginDialog.h │ │ │ ├── StdAfx.cpp │ │ │ └── StdAfx.h │ └── WindowsCE │ │ ├── Application.vcc │ │ ├── Application.vcp │ │ ├── Application.vcw │ │ ├── Resources │ │ ├── Application.ico │ │ ├── Application.rc │ │ ├── Application.rc2 │ │ ├── newres.h │ │ └── resource.h │ │ └── Sources │ │ ├── Application.cpp │ │ ├── Application.h │ │ ├── BrowserDialog.cpp │ │ ├── BrowserDialog.h │ │ ├── StdAfx.cpp │ │ └── StdAfx.h ├── Java │ ├── Java.vcproj │ ├── Java.vcxproj │ ├── jdns_sd.rc │ ├── makefile │ └── makefile64 ├── NSPTool │ ├── NSPTool.aps │ ├── NSPTool.c │ ├── NSPTool.rc │ ├── NSPTool.vcproj │ ├── NSPTool.vcxproj │ ├── NSPTool.vcxproj.filters │ ├── Prefix.h │ └── resource.h ├── Poll.c ├── Poll.h ├── PosixCompat.c ├── PosixCompat.h ├── README.txt ├── RegNames.h ├── Secret.c ├── Secret.h ├── SystemService │ ├── EventLog.mc │ ├── EventLogMessages.bin │ ├── Firewall.cpp │ ├── Firewall.h │ ├── Prefix.h │ ├── Service.aps │ ├── Service.c │ ├── Service.h │ ├── Service.mcp │ ├── Service.rc │ ├── Service.vcproj │ ├── Service.vcxproj │ ├── Service.vcxproj.filters │ ├── main.c │ ├── res │ │ ├── mDNSResponder.manifest │ │ └── mDNSResponder64.manifest │ ├── resource.h │ └── resrc1.h ├── VPCDetect.cpp ├── VPCDetect.h ├── WinServices.cpp ├── WinServices.h ├── WinVersRes.h ├── isocode.h ├── loclibrary.c ├── loclibrary.h ├── mDNSWin32.c ├── mDNSWin32.h └── mdnsNSP │ ├── ReadMe.txt │ ├── mdnsNSP.aps │ ├── mdnsNSP.c │ ├── mdnsNSP.def │ ├── mdnsNSP.rc │ ├── mdnsNSP.vcproj │ ├── mdnsNSP.vcxproj │ ├── mdnsNSP.vcxproj.filters │ └── resource.h └── unittests ├── DNSMessageTest.c ├── DNSMessageTest.h ├── DomainNameTest.c ├── DomainNameTest.h ├── InterfaceTest.c ├── InterfaceTest.h ├── ResourceRecordTest.c ├── ResourceRecordTest.h ├── main.c ├── unittest.c └── unittest.h /.gitignore: -------------------------------------------------------------------------------- 1 | # Object files 2 | *.o 3 | *.ko 4 | *.obj 5 | *.elf 6 | 7 | # Precompiled Headers 8 | *.gch 9 | *.pch 10 | 11 | # Libraries 12 | *.lib 13 | *.a 14 | *.la 15 | *.lo 16 | 17 | # Shared objects (inc. Windows DLLs) 18 | *.dll 19 | *.so 20 | *.so.* 21 | *.dylib 22 | 23 | # Executables 24 | *.exe 25 | *.out 26 | *.app 27 | *.i*86 28 | *.x86_64 29 | *.hex 30 | 31 | # Debug files 32 | *.dSYM/ 33 | *.su 34 | build/ 35 | .vs/ 36 | -------------------------------------------------------------------------------- /Clients/BonjourExample/BonjourExample.sln: -------------------------------------------------------------------------------- 1 | Microsoft Visual Studio Solution File, Format Version 8.00 2 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "BonjourExample", "BonjourExample.vcproj", "{0A842379-799E-414C-BF1F-BF11A8D3A8A8}" 3 | ProjectSection(ProjectDependencies) = postProject 4 | EndProjectSection 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfiguration) = preSolution 8 | Debug = Debug 9 | Release = Release 10 | EndGlobalSection 11 | GlobalSection(ProjectConfiguration) = postSolution 12 | {0A842379-799E-414C-BF1F-BF11A8D3A8A8}.Debug.ActiveCfg = Debug|Win32 13 | {0A842379-799E-414C-BF1F-BF11A8D3A8A8}.Debug.Build.0 = Debug|Win32 14 | {0A842379-799E-414C-BF1F-BF11A8D3A8A8}.Release.ActiveCfg = Release|Win32 15 | {0A842379-799E-414C-BF1F-BF11A8D3A8A8}.Release.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(ExtensibilityGlobals) = postSolution 18 | EndGlobalSection 19 | GlobalSection(ExtensibilityAddIns) = postSolution 20 | EndGlobalSection 21 | EndGlobal 22 | -------------------------------------------------------------------------------- /Clients/BonjourExample/stdafx.cpp: -------------------------------------------------------------------------------- 1 | /* -*- Mode: C; tab-width: 4 -*- 2 | * 3 | * Copyright (c) 2005 Apple Computer, Inc. All rights reserved. 4 | * 5 | * Licensed under the Apache License, Version 2.0 (the "License"); 6 | * you may not use this file except in compliance with the License. 7 | * You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | // Standard source file to build the pre-compiled header. 19 | 20 | #include "stdafx.h" 21 | -------------------------------------------------------------------------------- /Clients/BonjourExample/stdafx.h: -------------------------------------------------------------------------------- 1 | /* -*- Mode: C; tab-width: 4 -*- 2 | * 3 | * Copyright (c) 2005 Apple Computer, Inc. All rights reserved. 4 | * 5 | * Licensed under the Apache License, Version 2.0 (the "License"); 6 | * you may not use this file except in compliance with the License. 7 | * You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | // Standard Windows pre-compiled header file. 19 | 20 | #pragma once 21 | 22 | #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers 23 | 24 | #include 25 | #include 26 | 27 | #include 28 | #include 29 | #include 30 | #include 31 | -------------------------------------------------------------------------------- /Clients/DNS-SD.VisualStudio/DNS-SD.manifest: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Command line utility. 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /Clients/DNS-SD.VisualStudio/DNS-SD64.manifest: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Command Line Utility 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /Clients/DNS-SD.VisualStudio/dns-sd.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {663cbcf4-ce8e-49eb-9826-0676fba94350} 6 | cpp;c;cxx;def;odl;idl;hpj;bat;asm 7 | 8 | 9 | {f5fcca0d-918b-46ba-bb91-2f2f9d9ddbba} 10 | h;hpp;hxx;hm;inl;inc 11 | 12 | 13 | {a7d985ec-3f36-4554-a707-5256b2e719b6} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe 15 | 16 | 17 | 18 | 19 | Source Files 20 | 21 | 22 | Source Files 23 | 24 | 25 | 26 | 27 | Header Files 28 | 29 | 30 | Header Files 31 | 32 | 33 | 34 | 35 | Resource Files 36 | 37 | 38 | -------------------------------------------------------------------------------- /Clients/DNS-SD.VisualStudio/resource.h: -------------------------------------------------------------------------------- 1 | //{{NO_DEPENDENCIES}} 2 | // Microsoft Visual C++ generated include file. 3 | // Used by dns-sd.rc 4 | 5 | // Next default values for new objects 6 | // 7 | #ifdef APSTUDIO_INVOKED 8 | #ifndef APSTUDIO_READONLY_SYMBOLS 9 | #define _APS_NEXT_RESOURCE_VALUE 101 10 | #define _APS_NEXT_COMMAND_VALUE 40001 11 | #define _APS_NEXT_CONTROL_VALUE 1001 12 | #define _APS_NEXT_SYMED_VALUE 101 13 | #endif 14 | #endif 15 | -------------------------------------------------------------------------------- /Clients/DNSServiceBrowser-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleExecutable 8 | DNS Service Browser 9 | CFBundleGetInfoString 10 | 11 | CFBundleIconFile 12 | 13 | CFBundleIdentifier 14 | com.apple.DNSServiceBrowser 15 | CFBundleInfoDictionaryVersion 16 | 6.0 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1.0 25 | NSMainNibFile 26 | DNSServiceBrowser 27 | NSPrincipalClass 28 | NSApplication 29 | 30 | 31 | -------------------------------------------------------------------------------- /Clients/DNSServiceBrowser.NET/App.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xbmc/mDNSResponder/7be55af7dac1dd78538b41ed9c80445f05fcee74/Clients/DNSServiceBrowser.NET/App.ico -------------------------------------------------------------------------------- /Clients/DNSServiceBrowser.VB/My Project/Application.Designer.vb: -------------------------------------------------------------------------------- 1 | '------------------------------------------------------------------------------ 2 | ' 3 | ' This code was generated by a tool. 4 | ' Runtime Version:2.0.50727.4918 5 | ' 6 | ' Changes to this file may cause incorrect behavior and will be lost if 7 | ' the code is regenerated. 8 | ' 9 | '------------------------------------------------------------------------------ 10 | 11 | Option Strict On 12 | Option Explicit On 13 | 14 | 15 | Namespace My 16 | 17 | 'NOTE: This file is auto-generated; do not modify it directly. To make changes, 18 | ' or if you encounter build errors in this file, go to the Project Designer 19 | ' (go to Project Properties or double-click the My Project node in 20 | ' Solution Explorer), and make changes on the Application tab. 21 | ' 22 | Partial Friend Class MyApplication 23 | 24 | _ 25 | Public Sub New() 26 | MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows) 27 | Me.IsSingleInstance = false 28 | Me.EnableVisualStyles = true 29 | Me.SaveMySettingsOnExit = true 30 | Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses 31 | End Sub 32 | 33 | _ 34 | Protected Overrides Sub OnCreateMainForm() 35 | Me.MainForm = Global.DNSServiceBrowser.VB.DNSServiceBrowser 36 | End Sub 37 | End Class 38 | End Namespace 39 | -------------------------------------------------------------------------------- /Clients/DNSServiceBrowser.VB/My Project/Application.myapp: -------------------------------------------------------------------------------- 1 |  2 | 3 | true 4 | DNSServiceBrowser 5 | false 6 | 0 7 | true 8 | 0 9 | true 10 | -------------------------------------------------------------------------------- /Clients/DNSServiceBrowser.VB/My Project/AssemblyInfo.vb: -------------------------------------------------------------------------------- 1 | Imports System 2 | Imports System.Reflection 3 | Imports System.Runtime.InteropServices 4 | 5 | ' General Information about an assembly is controlled through the following 6 | ' set of attributes. Change these attribute values to modify the information 7 | ' associated with an assembly. 8 | 9 | ' Review the values of the assembly attributes 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 'The following GUID is for the ID of the typelib if this project is exposed to COM 21 | 22 | 23 | ' Version information for an assembly consists of the following four values: 24 | ' 25 | ' Major Version 26 | ' Minor Version 27 | ' Build Number 28 | ' Revision 29 | ' 30 | ' You can specify all the values or you can default the Build and Revision Numbers 31 | ' by using the '*' as shown below: 32 | ' 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /Clients/DNSServiceBrowser.VB/My Project/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Clients/DNSServiceBrowser.nib/classes.nib: -------------------------------------------------------------------------------- 1 | { 2 | IBClasses = ( 3 | { 4 | ACTIONS = { 5 | addNewService = id; 6 | connect = id; 7 | handleDomainClick = id; 8 | handleNameClick = id; 9 | handleTableClick = id; 10 | handleTypeClick = id; 11 | loadDomains = id; 12 | removeSelected = id; 13 | }; 14 | CLASS = BrowserController; 15 | LANGUAGE = ObjC; 16 | OUTLETS = { 17 | domainField = id; 18 | hostField = id; 19 | interfaceField = id; 20 | ip6AddressField = id; 21 | ipAddressField = id; 22 | nameColumn = id; 23 | nameField = id; 24 | portField = id; 25 | serviceDisplayTable = id; 26 | serviceNameField = id; 27 | serviceTypeField = id; 28 | textField = id; 29 | typeColumn = id; 30 | typeField = id; 31 | }; 32 | SUPERCLASS = NSObject; 33 | }, 34 | {CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; } 35 | ); 36 | IBVersion = 1; 37 | } -------------------------------------------------------------------------------- /Clients/DNSServiceBrowser.nib/info.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBDocumentLocation 6 | 257 25 522 680 0 0 1280 1002 7 | IBEditorPositions 8 | 9 | 29 10 | 22 474 271 44 0 0 1152 746 11 | 12 | IBFramework Version 13 | 446.1 14 | IBOpenObjects 15 | 16 | 201 17 | 220 18 | 19 | IBSystem Version 20 | 8L2127 21 | 22 | 23 | -------------------------------------------------------------------------------- /Clients/DNSServiceBrowser.nib/objects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xbmc/mDNSResponder/7be55af7dac1dd78538b41ed9c80445f05fcee74/Clients/DNSServiceBrowser.nib/objects.nib -------------------------------------------------------------------------------- /Clients/DNSServiceReg-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleExecutable 8 | DNS Service Registration 9 | CFBundleGetInfoString 10 | 11 | CFBundleIconFile 12 | 13 | CFBundleIdentifier 14 | com.apple.DNS_Service_Registration 15 | CFBundleInfoDictionaryVersion 16 | 6.0 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1.0.0d1 25 | NSMainNibFile 26 | DNSServiceReg 27 | NSPrincipalClass 28 | NSApplication 29 | 30 | 31 | -------------------------------------------------------------------------------- /Clients/DNSServiceReg.nib/classes.nib: -------------------------------------------------------------------------------- 1 | { 2 | IBClasses = ( 3 | {CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; }, 4 | { 5 | ACTIONS = { 6 | addNewService = id; 7 | registerService = id; 8 | removeSelected = id; 9 | unregisterService = id; 10 | }; 11 | CLASS = RegistrationController; 12 | LANGUAGE = ObjC; 13 | OUTLETS = { 14 | domainColumn = NSTableColumn; 15 | nameColumn = NSTableColumn; 16 | portColumn = NSTableColumn; 17 | serviceDisplayTable = NSTableView; 18 | serviceDomainField = NSTextField; 19 | serviceNameField = NSTextField; 20 | servicePortField = NSTextField; 21 | serviceTextField = NSTextField; 22 | serviceTypeField = NSTextField; 23 | textColumn = NSTableColumn; 24 | typeColumn = NSTableColumn; 25 | }; 26 | SUPERCLASS = NSObject; 27 | } 28 | ); 29 | IBVersion = 1; 30 | } -------------------------------------------------------------------------------- /Clients/DNSServiceReg.nib/info.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBDocumentLocation 6 | 32 111 356 240 0 0 1152 746 7 | IBEditorPositions 8 | 9 | 29 10 | 103 609 252 44 0 0 1152 746 11 | 12 | IBFramework Version 13 | 273.0 14 | IBOpenObjects 15 | 16 | 243 17 | 21 18 | 19 | IBSystem Version 20 | 6C30 21 | 22 | 23 | -------------------------------------------------------------------------------- /Clients/DNSServiceReg.nib/objects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xbmc/mDNSResponder/7be55af7dac1dd78538b41ed9c80445f05fcee74/Clients/DNSServiceReg.nib/objects.nib -------------------------------------------------------------------------------- /Clients/ExplorerPlugin/About.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "Resource.h" 4 | #include "afxwin.h" 5 | 6 | // CAbout dialog 7 | 8 | class CAbout : public CDialog 9 | { 10 | DECLARE_DYNAMIC(CAbout) 11 | 12 | public: 13 | CAbout(CWnd* pParent = NULL); // standard constructor 14 | virtual ~CAbout(); 15 | 16 | // Dialog Data 17 | enum { IDD = IDD_ABOUT }; 18 | 19 | protected: 20 | virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support 21 | virtual HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); 22 | virtual BOOL OnInitDialog(); 23 | DECLARE_MESSAGE_MAP() 24 | public: 25 | CStatic m_componentCtrl; 26 | CStatic m_legalCtrl; 27 | CBrush m_bkBrush; 28 | }; 29 | -------------------------------------------------------------------------------- /Clients/ExplorerPlugin/ClassFactory.h: -------------------------------------------------------------------------------- 1 | /* -*- Mode: C; tab-width: 4 -*- 2 | * 3 | * Copyright (c) 2003-2004 Apple Computer, Inc. All rights reserved. 4 | * 5 | * Licensed under the Apache License, Version 2.0 (the "License"); 6 | * you may not use this file except in compliance with the License. 7 | * You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #ifndef __CLASS_FACTORY__ 19 | #define __CLASS_FACTORY__ 20 | 21 | #include "StdAfx.h" 22 | 23 | //=========================================================================================================================== 24 | // ClassFactory 25 | //=========================================================================================================================== 26 | 27 | class ClassFactory : public IClassFactory 28 | { 29 | protected: 30 | 31 | DWORD mRefCount; 32 | CLSID mCLSIDObject; 33 | 34 | public: 35 | 36 | ClassFactory( CLSID inCLSID ); 37 | ~ClassFactory( void ); 38 | 39 | // IUnknown methods 40 | 41 | STDMETHODIMP QueryInterface( REFIID inID, LPVOID *outResult ); 42 | STDMETHODIMP_( DWORD ) AddRef( void ); 43 | STDMETHODIMP_( DWORD ) Release( void ); 44 | 45 | // IClassFactory methods 46 | 47 | STDMETHODIMP CreateInstance( LPUNKNOWN inUnknown, REFIID inID, LPVOID *outObject ); 48 | STDMETHODIMP LockServer( BOOL inLock ); 49 | }; 50 | 51 | #endif // __CLASS_FACTORY__ 52 | -------------------------------------------------------------------------------- /Clients/ExplorerPlugin/ExplorerPlugin.def: -------------------------------------------------------------------------------- 1 | ; 2 | ; 3 | ; Copyright (c) 2003-2004 Apple Computer, Inc. All rights reserved. 4 | ; 5 | ; Licensed under the Apache License, Version 2.0 (the "License"); 6 | ; you may not use this file except in compliance with the License. 7 | ; You may obtain a copy of the License at 8 | ; 9 | ; http://www.apache.org/licenses/LICENSE-2.0 10 | ; 11 | ; Unless required by applicable law or agreed to in writing, software 12 | ; distributed under the License is distributed on an "AS IS" BASIS, 13 | ; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | ; See the License for the specific language governing permissions and 15 | ; limitations under the License. 16 | ; 17 | 18 | LIBRARY ExplorerPlugin 19 | 20 | EXPORTS 21 | DllCanUnloadNow PRIVATE 22 | DllGetClassObject PRIVATE 23 | DllRegisterServer PRIVATE 24 | DllUnregisterServer PRIVATE 25 | -------------------------------------------------------------------------------- /Clients/ExplorerPlugin/ExplorerPlugin.h: -------------------------------------------------------------------------------- 1 | /* -*- Mode: C; tab-width: 4 -*- 2 | * 3 | * Copyright (c) 2003-2004 Apple Computer, Inc. All rights reserved. 4 | * 5 | * Licensed under the Apache License, Version 2.0 (the "License"); 6 | * you may not use this file except in compliance with the License. 7 | * You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #pragma once 19 | 20 | //=========================================================================================================================== 21 | // Globals 22 | //=========================================================================================================================== 23 | 24 | // {9999A076-A9E2-4c99-8A2B-632FC9429223} 25 | DEFINE_GUID(CLSID_ExplorerBar, 26 | 0x9999a076, 0xa9e2, 0x4c99, 0x8a, 0x2b, 0x63, 0x2f, 0xc9, 0x42, 0x92, 0x23); 27 | 28 | extern HINSTANCE gInstance; 29 | extern int gDLLRefCount; 30 | extern HINSTANCE GetNonLocalizedResources(); 31 | extern HINSTANCE GetLocalizedResources(); 32 | 33 | 34 | class CExplorerPluginApp : public CWinApp 35 | { 36 | public: 37 | 38 | CExplorerPluginApp(); 39 | virtual ~CExplorerPluginApp(); 40 | 41 | protected: 42 | 43 | virtual BOOL InitInstance(); 44 | virtual int ExitInstance(); 45 | 46 | DECLARE_DYNAMIC(CExplorerPluginApp); 47 | }; 48 | -------------------------------------------------------------------------------- /Clients/ExplorerPlugin/ExplorerPluginLocRes.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {fdb2f45e-acf9-4bf2-87a1-fb0df2aca928} 6 | h;hpp;hxx;hm;inl;inc 7 | 8 | 9 | {ee265e77-1d8e-4a0c-8c10-27b123ab1232} 10 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;jpg;jpeg;jpe;manifest 11 | 12 | 13 | 14 | 15 | Header Files 16 | 17 | 18 | 19 | 20 | Resource Files 21 | 22 | 23 | -------------------------------------------------------------------------------- /Clients/ExplorerPlugin/ExplorerPluginRes.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {89aee21a-a42b-4f10-87db-f6d3b27eb612} 6 | h;hpp;hxx;hm;inl;inc 7 | 8 | 9 | {27ad7c9e-deb4-4963-8cf0-adf004ed2437} 10 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;jpg;jpeg;jpe;manifest 11 | 12 | 13 | 14 | 15 | Header Files 16 | 17 | 18 | 19 | 20 | Resource Files 21 | 22 | 23 | Resource Files 24 | 25 | 26 | Resource Files 27 | 28 | 29 | Resource Files 30 | 31 | 32 | Resource Files 33 | 34 | 35 | Resource Files 36 | 37 | 38 | Resource Files 39 | 40 | 41 | Resource Files 42 | 43 | 44 | Resource Files 45 | 46 | 47 | 48 | 49 | Resource Files 50 | 51 | 52 | -------------------------------------------------------------------------------- /Clients/ExplorerPlugin/LoginDialog.h: -------------------------------------------------------------------------------- 1 | /* -*- Mode: C; tab-width: 4 -*- 2 | * 3 | * Copyright (c) 2003-2004 Apple Computer, Inc. All rights reserved. 4 | * 5 | * Licensed under the Apache License, Version 2.0 (the "License"); 6 | * you may not use this file except in compliance with the License. 7 | * You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #ifndef __LOGIN_DIALOG__ 19 | #define __LOGIN_DIALOG__ 20 | 21 | #pragma once 22 | 23 | #include "Resource.h" 24 | 25 | //=========================================================================================================================== 26 | // LoginDialog 27 | //=========================================================================================================================== 28 | 29 | class LoginDialog : public CDialog 30 | { 31 | protected: 32 | 33 | CString mUsername; 34 | CString mPassword; 35 | 36 | public: 37 | 38 | enum { IDD = IDD_LOGIN }; 39 | 40 | LoginDialog( CWnd *inParent = NULL ); 41 | 42 | virtual BOOL GetLogin( CString &outUsername, CString &outPassword ); 43 | 44 | protected: 45 | 46 | virtual BOOL OnInitDialog( void ); 47 | virtual void DoDataExchange( CDataExchange *inDX ); 48 | virtual void OnOK( void ); 49 | 50 | DECLARE_MESSAGE_MAP() 51 | }; 52 | 53 | #endif // __LOGIN_DIALOG__ 54 | -------------------------------------------------------------------------------- /Clients/ExplorerPlugin/ReadMe.txt: -------------------------------------------------------------------------------- 1 | The DNSServices Explorer Plugin is a vertical Explorer bar. It lets you browse for DNS-SD advertised services directly within Internet Explorer. 2 | 3 | This DLL needs to be registered to work. The Visual Studio project automatically registers the DLL after each successful build. If you need to manually register the DLL for some reason, you can execute the following line from the DOS command line prompt ("" is the actual parent path of the DLL): 4 | 5 | regsvr32.exe /s /c \ExplorerPlugin.dll 6 | 7 | For more information, see the Band Objects topic in the Microsoft Platform SDK documentation and check the following URL: 8 | 9 | 10 | -------------------------------------------------------------------------------- /Clients/ExplorerPlugin/Resource.h: -------------------------------------------------------------------------------- 1 | /* -*- Mode: C; tab-width: 4 -*- 2 | * 3 | * Copyright (c) 2003-2004 Apple Computer, Inc. All rights reserved. 4 | * 5 | * Licensed under the Apache License, Version 2.0 (the "License"); 6 | * you may not use this file except in compliance with the License. 7 | * You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | // Include the core resources 19 | 20 | #include "resource_dll.h" 21 | 22 | // Include the non-localizable resources 23 | 24 | #include "resource_res.h" 25 | 26 | // Include the localizable resources 27 | 28 | #include "resource_loc_res.h" 29 | -------------------------------------------------------------------------------- /Clients/ExplorerPlugin/StdAfx.cpp: -------------------------------------------------------------------------------- 1 | /* -*- Mode: C; tab-width: 4 -*- 2 | * 3 | * Copyright (c) 2003-2004 Apple Computer, Inc. All rights reserved. 4 | * 5 | * Licensed under the Apache License, Version 2.0 (the "License"); 6 | * you may not use this file except in compliance with the License. 7 | * You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #include "StdAfx.h" 19 | -------------------------------------------------------------------------------- /Clients/ExplorerPlugin/StdAfx.h: -------------------------------------------------------------------------------- 1 | /* -*- Mode: C; tab-width: 4 -*- 2 | * 3 | * Copyright (c) 2003-2004 Apple Computer, Inc. All rights reserved. 4 | * 5 | * Licensed under the Apache License, Version 2.0 (the "License"); 6 | * you may not use this file except in compliance with the License. 7 | * You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #ifndef __STDAFX__ 19 | #define __STDAFX__ 20 | 21 | #pragma once 22 | 23 | #ifndef VC_EXTRALEAN 24 | #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers 25 | #endif 26 | 27 | #if !defined(_WSPIAPI_COUNTOF) 28 | # define _WSPIAPI_COUNTOF(_Array) (sizeof(_Array) / sizeof(_Array[0])) 29 | #endif 30 | 31 | #include // MFC core and standard components 32 | #include // MFC extensions 33 | #include // MFC support for Internet Explorer 4 Common Controls 34 | #ifndef _AFX_NO_AFXCMN_SUPPORT 35 | #include // MFC support for Windows Common Controls 36 | #endif 37 | 38 | #include 39 | #include // MFC socket extensions 40 | 41 | #endif // __STDAFX__ 42 | -------------------------------------------------------------------------------- /Clients/ExplorerPlugin/res/ExplorerPlugin.manifest: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | Your app description here 10 | 11 | 12 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /Clients/ExplorerPlugin/res/ExplorerPlugin64.manifest: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | Your app description here 10 | 11 | 12 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /Clients/ExplorerPlugin/res/about.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xbmc/mDNSResponder/7be55af7dac1dd78538b41ed9c80445f05fcee74/Clients/ExplorerPlugin/res/about.bmp -------------------------------------------------------------------------------- /Clients/ExplorerPlugin/res/button-2k.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xbmc/mDNSResponder/7be55af7dac1dd78538b41ed9c80445f05fcee74/Clients/ExplorerPlugin/res/button-2k.ico -------------------------------------------------------------------------------- /Clients/ExplorerPlugin/res/button-xp.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xbmc/mDNSResponder/7be55af7dac1dd78538b41ed9c80445f05fcee74/Clients/ExplorerPlugin/res/button-xp.ico -------------------------------------------------------------------------------- /Clients/ExplorerPlugin/res/cold.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xbmc/mDNSResponder/7be55af7dac1dd78538b41ed9c80445f05fcee74/Clients/ExplorerPlugin/res/cold.ico -------------------------------------------------------------------------------- /Clients/ExplorerPlugin/res/hot.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xbmc/mDNSResponder/7be55af7dac1dd78538b41ed9c80445f05fcee74/Clients/ExplorerPlugin/res/hot.ico -------------------------------------------------------------------------------- /Clients/ExplorerPlugin/res/logo.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xbmc/mDNSResponder/7be55af7dac1dd78538b41ed9c80445f05fcee74/Clients/ExplorerPlugin/res/logo.bmp -------------------------------------------------------------------------------- /Clients/ExplorerPlugin/resource_dll.h: -------------------------------------------------------------------------------- 1 | //{{NO_DEPENDENCIES}} 2 | // Microsoft Visual C++ generated include file. 3 | // Used by ExplorerPlugin.rc 4 | // 5 | #define IDS_NAME 106 6 | #define IDS_WEB_SITES 107 7 | #define IDS_PRINTERS 109 8 | #define IDS_MDNSRESPONDER_NOT_AVAILABLE 110 9 | #define IDS_FIREWALL 111 10 | #define IDC_COMPONENT 1001 11 | #define IDC_LEGAL 1002 12 | #define IDC_COMPONENT_VERSION 1003 13 | #define IDC_LOGIN_USERNAME_TEXT 1182 14 | #define IDC_LOGIN_PASSWORD_TEXT 1183 15 | #define ID_Menu 40001 16 | 17 | // Next default values for new objects 18 | // 19 | #ifdef APSTUDIO_INVOKED 20 | #ifndef APSTUDIO_READONLY_SYMBOLS 21 | #define _APS_NEXT_RESOURCE_VALUE 119 22 | #define _APS_NEXT_COMMAND_VALUE 40001 23 | #define _APS_NEXT_CONTROL_VALUE 1001 24 | #define _APS_NEXT_SYMED_VALUE 101 25 | #endif 26 | #endif 27 | -------------------------------------------------------------------------------- /Clients/ExplorerPlugin/resource_loc_res.h: -------------------------------------------------------------------------------- 1 | //{{NO_DEPENDENCIES}} 2 | // Microsoft Visual C++ generated include file. 3 | // Used by ExplorerPluginLocRes.rc 4 | // 5 | #define IDS_NAME 106 6 | #define IDS_WEB_SITES 107 7 | #define IDS_PRINTERS 109 8 | #define IDS_MDNSRESPONDER_NOT_AVAILABLE 110 9 | #define IDS_FIREWALL 111 10 | #define IDD_ABOUT 118 11 | #define IDR_CONTEXT_MENU 120 12 | #define IDD_LOGIN 145 13 | #define IDC_ABOUT_BACKGROUND 146 14 | #define IDS_ABOUT 147 15 | #define IDS_ABOUT_URL 148 16 | #define IDC_COMPONENT 1001 17 | #define IDC_LEGAL 1002 18 | #define IDC_COMPONENT_VERSION 1003 19 | #define IDC_LOGIN_USERNAME_TEXT 1182 20 | #define IDC_LOGIN_PASSWORD_TEXT 1183 21 | #define ID_Menu 40001 22 | 23 | // Next default values for new objects 24 | // 25 | #ifdef APSTUDIO_INVOKED 26 | #ifndef APSTUDIO_READONLY_SYMBOLS 27 | #define _APS_NEXT_RESOURCE_VALUE 119 28 | #define _APS_NEXT_COMMAND_VALUE 40001 29 | #define _APS_NEXT_CONTROL_VALUE 1001 30 | #define _APS_NEXT_SYMED_VALUE 101 31 | #endif 32 | #endif 33 | -------------------------------------------------------------------------------- /Clients/ExplorerPlugin/resource_res.h: -------------------------------------------------------------------------------- 1 | //{{NO_DEPENDENCIES}} 2 | // Microsoft Visual C++ generated include file. 3 | // Used by ExplorerPluginRes.rc 4 | // 5 | #define IDS_NAME 106 6 | #define IDS_WEB_SITES 107 7 | #define IDS_PRINTERS 109 8 | #define IDS_MDNSRESPONDER_NOT_AVAILABLE 110 9 | #define IDS_FIREWALL 111 10 | #define IDB_LOGO 115 11 | #define IDI_BUTTON_2K 115 12 | #define IDI_BUTTON_XP 118 13 | #define IDB_ABOUT 119 14 | #define IDC_COMPONENT 1001 15 | #define IDC_LEGAL 1002 16 | #define IDC_COMPONENT_VERSION 1003 17 | #define IDC_LOGIN_USERNAME_TEXT 1182 18 | #define IDC_LOGIN_PASSWORD_TEXT 1183 19 | #define ID_Menu 40001 20 | 21 | // Next default values for new objects 22 | // 23 | #ifdef APSTUDIO_INVOKED 24 | #ifndef APSTUDIO_READONLY_SYMBOLS 25 | #define _APS_NEXT_RESOURCE_VALUE 119 26 | #define _APS_NEXT_COMMAND_VALUE 40001 27 | #define _APS_NEXT_CONTROL_VALUE 1001 28 | #define _APS_NEXT_SYMED_VALUE 101 29 | #endif 30 | #endif 31 | -------------------------------------------------------------------------------- /Clients/FirefoxExtension/CDNSSDServiceModule.cpp: -------------------------------------------------------------------------------- 1 | /* -*- Mode: C; tab-width: 4 -*- 2 | * 3 | * Copyright (c) 2009 Apple Computer, Inc. All rights reserved. 4 | * 5 | * Licensed under the Apache License, Version 2.0 (the "License"); 6 | * you may not use this file except in compliance with the License. 7 | * You may obtain a copy of the License at 8 | * 9 | * http://www.apache.org/licenses/LICENSE-2.0 10 | * 11 | * Unless required by applicable law or agreed to in writing, software 12 | * distributed under the License is distributed on an "AS IS" BASIS, 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | * See the License for the specific language governing permissions and 15 | * limitations under the License. 16 | */ 17 | 18 | #include "nsIGenericFactory.h" 19 | #include "CDNSSDService.h" 20 | 21 | NS_COM_GLUE nsresult 22 | NS_NewGenericModule2(nsModuleInfo const *info, nsIModule* *result); 23 | 24 | NS_GENERIC_FACTORY_CONSTRUCTOR(CDNSSDService) 25 | 26 | static nsModuleComponentInfo components[] = 27 | { 28 | { 29 | CDNSSDSERVICE_CLASSNAME, 30 | CDNSSDSERVICE_CID, 31 | CDNSSDSERVICE_CONTRACTID, 32 | CDNSSDServiceConstructor, 33 | } 34 | }; 35 | 36 | NS_IMPL_NSGETMODULE("CDNSSDServiceModule", components) 37 | 38 | -------------------------------------------------------------------------------- /Clients/FirefoxExtension/DNSSDService.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 9.00 3 | # Visual Studio 2005 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DNSSDService", "DNSSDService.vcproj", "{7826EA27-D4CC-4FAA-AD23-DF813823227B}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {7826EA27-D4CC-4FAA-AD23-DF813823227B}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {7826EA27-D4CC-4FAA-AD23-DF813823227B}.Debug|Win32.Build.0 = Debug|Win32 14 | {7826EA27-D4CC-4FAA-AD23-DF813823227B}.Release|Win32.ActiveCfg = Release|Win32 15 | {7826EA27-D4CC-4FAA-AD23-DF813823227B}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /Clients/FirefoxExtension/FirefoxExtension.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {89e57cc2-d6b1-4e68-ad57-71223df12d28} 6 | cpp;c;cxx;rc;def;r;odl;idl;hpj;bat 7 | 8 | 9 | {4d103fe8-9737-47c7-9190-6f7b5666ecf5} 10 | h;hpp;hxx;hm;inl 11 | 12 | 13 | {4dae44a8-3da8-43c0-a749-2d1e0610c66f} 14 | idl 15 | 16 | 17 | {ac7dbdd1-2fe3-416d-9cab-2d663c05f252} 18 | ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe 19 | 20 | 21 | 22 | 23 | Source Files 24 | 25 | 26 | Source Files 27 | 28 | 29 | 30 | 31 | Header Files 32 | 33 | 34 | Header Files 35 | 36 | 37 | 38 | 39 | Resource Files 40 | 41 | 42 | 43 | 44 | IDL 45 | 46 | 47 | -------------------------------------------------------------------------------- /Clients/FirefoxExtension/extension/chrome.manifest: -------------------------------------------------------------------------------- 1 | content bonjour4firefox content/ 2 | locale bonjour4firefox en-US locale/en-US/ 3 | skin bonjour4firefox classic/1.0 skin/ 4 | skin bonjour4firefox classic/1.0 skin-darwin/ os=darwin 5 | overlay chrome://browser/content/browser.xul chrome://bonjour4firefox/content/browserOverlay.xul 6 | style chrome://global/content/customizeToolbar.xul chrome://bonjour4firefox/skin/overlay.css 7 | -------------------------------------------------------------------------------- /Clients/FirefoxExtension/extension/components/IDNSSDService.xpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xbmc/mDNSResponder/7be55af7dac1dd78538b41ed9c80445f05fcee74/Clients/FirefoxExtension/extension/components/IDNSSDService.xpt -------------------------------------------------------------------------------- /Clients/FirefoxExtension/extension/content/_internal_bonjour4firefox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xbmc/mDNSResponder/7be55af7dac1dd78538b41ed9c80445f05fcee74/Clients/FirefoxExtension/extension/content/_internal_bonjour4firefox.png -------------------------------------------------------------------------------- /Clients/FirefoxExtension/extension/content/_internal_listImage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xbmc/mDNSResponder/7be55af7dac1dd78538b41ed9c80445f05fcee74/Clients/FirefoxExtension/extension/content/_internal_listImage.png -------------------------------------------------------------------------------- /Clients/FirefoxExtension/extension/content/bonjour4firefox.css: -------------------------------------------------------------------------------- 1 | tree.sidebar-placesTree treechildren::-moz-tree-row(selected) 2 | { 3 | background-color: #6f81a9; 4 | background-image: url("chrome://browser/skin/places/selected-gradient.png"); 5 | background-repeat: repeat-x; 6 | background-position: bottom left; 7 | border-top: 1px solid #979797; 8 | } 9 | 10 | 11 | tree.sidebar-placesTree treechildren::-moz-tree-separator 12 | { 13 | border-top: 1px solid #505d6d; 14 | margin: 0 10px; 15 | } 16 | 17 | -------------------------------------------------------------------------------- /Clients/FirefoxExtension/extension/content/browserOverlay.xul: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 |