]> git.saurik.com Git - apple/mdnsresponder.git/blob - mDNSMacOSX/SettingsBundle/BonjourSCStore.h
mDNSResponder-878.1.1.tar.gz
[apple/mdnsresponder.git] / mDNSMacOSX / SettingsBundle / BonjourSCStore.h
1 /*
2 *
3 * Copyright (c) 2016 Apple 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 #import <SystemConfiguration/SystemConfiguration.h>
19 #import <Security/Security.h>
20
21 #define SC_DYNDNS_PREFS_KEY CFSTR("com.apple.preference.bonjour")
22 #define SC_DYNDNS_SYSTEM_KEY CFSTR("/System/Network/DynamicDNS")
23 #define SC_DYNDNS_REGDOMAINS_KEY CFSTR("RegistrationDomains")
24 #define SC_DYNDNS_BROWSEDOMAINS_KEY CFSTR("BrowseDomains")
25 #define SC_DYNDNS_HOSTNAMES_KEY CFSTR("HostNames")
26 #define SC_DYNDNS_DOMAIN_KEY CFSTR("Domain")
27 #define SC_DYNDNS_KEYNAME_KEY CFSTR("KeyName")
28 #define SC_DYNDNS_SECRET_KEY CFSTR("Secret")
29 #define SC_DYNDNS_ENABLED_KEY CFSTR("Enabled")
30 #define SC_DYNDNS_STATUS_KEY CFSTR("Status")
31
32 #define SC_DYNDNS_SETUP_KEY CFSTR("Setup:/Network/DynamicDNS")
33 #define SC_DYNDNS_STATE_KEY CFSTR("State:/Network/DynamicDNS")
34
35 @interface BonjourSCStore : NSObject
36
37 + (NSArray *_Nullable)objectForKey:(NSString *_Nonnull)key;
38 + (void)setObject:(NSArray *_Nullable)value forKey:(NSString *_Nonnull)key;
39
40 @end