1 /* -*- Mode: C; tab-width: 4 -*- 2 * 3 * Copyright (c) 2002-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 //---------------------------------------------------------------------------------------- 19 // Registry Constants 20 //---------------------------------------------------------------------------------------- 21 22 #if defined(UNICODE) 23 24 # define kServiceParametersSoftware L"SOFTWARE" 25 # define kServiceParametersAppleComputer L"Apple Computer, Inc." 26 # define kServiceParametersBonjour L"Bonjour" 27 # define kServiceParametersNode L"SOFTWARE\\Apple Inc.\\Bonjour" 28 # define kServiceName L"Bonjour Service" 29 # define kServiceDynDNSBrowseDomains L"BrowseDomains" 30 # define kServiceDynDNSHostNames L"HostNames" 31 # define kServiceDynDNSRegistrationDomains L"RegistrationDomains" 32 # define kServiceDynDNSDomains L"Domains" // value is comma separated list of domains 33 # define kServiceDynDNSEnabled L"Enabled" 34 # define kServiceDynDNSStatus L"Status" 35 # define kServiceManageLLRouting L"ManageLLRouting" 36 # define kServiceCacheEntryCount L"CacheEntryCount" 37 # define kServiceManageFirewall L"ManageFirewall" 38 # define kServiceAdvertisedServices L"Services" 39 40 # else 41 42 # define kServiceParametersSoftware "SOFTWARE" 43 # define kServiceParametersAppleComputer "Apple Computer, Inc." 44 # define kServiceParametersBonjour "Bonjour" 45 # define kServiceParametersNode "SOFTWARE\\Apple Inc.\\Bonjour" 46 # define kServiceName "Bonjour Service" 47 # define kServiceDynDNSBrowseDomains "BrowseDomains" 48 # define kServiceDynDNSHostNames "HostNames" 49 # define kServiceDynDNSRegistrationDomains "RegistrationDomains" 50 # define kServiceDynDNSDomains "Domains" // value is comma separated list of domains 51 # define kServiceDynDNSEnabled "Enabled" 52 # define kServiceDynDNSStatus "Status" 53 # define kServiceManageLLRouting "ManageLLRouting" 54 # define kServiceCacheEntryCount "CacheEntryCount" 55 # define kServiceManageFirewall "ManageFirewall" 56 57 #endif 58