3 * Copyright (c) 2016 Apple Inc. All rights reserved.
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
9 * http://www.apache.org/licenses/LICENSE-2.0
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.
18 #import <SystemConfiguration/SystemConfiguration.h>
19 #import <Security/Security.h>
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")
32 #define SC_DYNDNS_SETUP_KEY CFSTR("Setup:/Network/DynamicDNS")
33 #define SC_DYNDNS_STATE_KEY CFSTR("State:/Network/DynamicDNS")
35 @interface BonjourSCStore
: NSObject
37 + (NSArray
*_Nullable
)objectForKey
:(NSString
*_Nonnull
)key
;
38 + (void)setObject
:(NSArray
*_Nullable
)value forKey
:(NSString
*_Nonnull
)key
;