summaryrefslogtreecommitdiff
path: root/lockdown.h
blob: 82e2dd29c264876d3dad5db89cb5c44f1888ebd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
/* iPhone Open SDK - Free Open Source Anti-Apple SDK
 * Copyright (C) 2008  Jay Freeman (saurik)
*/

/*
 *        Redistribution and use in source and binary
 * forms, with or without modification, are permitted
 * provided that the following conditions are met:
 *
 * 1. Redistributions of source code must retain the
 *    above copyright notice, this list of conditions
 *    and the following disclaimer.
 * 2. Redistributions in binary form must reproduce the
 *    above copyright notice, this list of conditions
 *    and the following disclaimer in the documentation
 *    and/or other materials provided with the
 *    distribution.
 * 3. The name of the author may not be used to endorse
 *    or promote products derived from this software
 *    without specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS''
 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
 * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE
 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
 * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
 * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

#ifndef LOCKDOWN_LOCKDOWN_H
#define LOCKDOWN_LOCKDOWN_H

#include <CoreFoundation/CFString.h>

#ifdef __cplusplus
extern "C" {
#endif

extern CFStringRef kLDErrorMissingKey;

extern CFStringRef kLockdownActivationInfoCompleteKey;
extern CFStringRef kLockdownActivationInfoErrorsKey;
extern CFStringRef kLockdownActivationInfoKey;
extern CFStringRef kLockdownActivationRandomnessKey;
extern CFStringRef kLockdownActivationStateAcknowledgedKey;
extern CFStringRef kLockdownActivationStateKey;
extern CFStringRef kLockdownActivationTicketKey;
extern CFStringRef kLockdownAmountCameraAvailableKey;
extern CFStringRef kLockdownAmountCameraReservedKey;
extern CFStringRef kLockdownAmountDataAvailableKey;
extern CFStringRef kLockdownAmountDataReservedKey;
extern CFStringRef kLockdownAmountSongsReservedKey;
extern CFStringRef kLockdownBasebandBootloaderVersionKey;
extern CFStringRef kLockdownBasebandMasterKeyHashKey;
extern CFStringRef kLockdownBasebandThumbprintKey;
extern CFStringRef kLockdownBasebandVersionKey;
extern CFStringRef kLockdownBluetoothAddressKey;
extern CFStringRef kLockdownBrickStateKey;
extern CFStringRef kLockdownBuildVersionKey;
extern CFStringRef kLockdownCalendarUsageKey;
extern CFStringRef kLockdownCameraUsageKey;
extern CFStringRef kLockdownCaptureSyslogKey;
extern CFStringRef kLockdownCarrierBundleInfoKey;
extern CFStringRef kLockdownCheckpointDomainKey;
extern CFStringRef kLockdownColorSyncProfileKey;
extern CFStringRef kLockdownDBVersionKey;
extern CFStringRef kLockdownDataSyncDomainKey;
extern CFStringRef kLockdownDebugDockPresentKey;
extern CFStringRef kLockdownDebugDomainKey;
extern CFStringRef kLockdownDeviceCertificateKey;
extern CFStringRef kLockdownDeviceClassKey;
extern CFStringRef kLockdownDeviceNameKey;
extern CFStringRef kLockdownDevicePrivateKey;
extern CFStringRef kLockdownDevicePublicKey;
extern CFStringRef kLockdownDiskUsageDomainKey;
extern CFStringRef kLockdownEnable8021XLogsKey;
extern CFStringRef kLockdownEnableVPNLogsKey;
extern CFStringRef kLockdownFairPlayCertificateKey;
extern CFStringRef kLockdownFairPlayContextIDKey;
extern CFStringRef kLockdownFairPlayDomainKey;
extern CFStringRef kLockdownFairPlayGUIDKey;
extern CFStringRef kLockdownFairPlayIDKey;
extern CFStringRef kLockdownFairPlayKeyDataKey;
extern CFStringRef kLockdownFamilyIDKey;
extern CFStringRef kLockdownFirmwareVersionKey;
extern CFStringRef kLockdownHostAttachedKey;
extern CFStringRef kLockdownICCIDKey;
extern CFStringRef kLockdownIMEIKey;
extern CFStringRef kLockdownIMSIKey;
extern CFStringRef kLockdownInternalDomainKey;
extern CFStringRef kLockdownInternationalDomainKey;
extern CFStringRef kLockdownInverseDeviceIDKey;
extern CFStringRef kLockdownIsInternalKey;
extern CFStringRef kLockdownKeyboardKey;
extern CFStringRef kLockdownLanguageKey;
extern CFStringRef kLockdownLocaleKey;
extern CFStringRef kLockdownLogToDiskKey;
extern CFStringRef kLockdownMediaCacheUsageKey;
extern CFStringRef kLockdownMinimumiTunesVersionKey;
extern CFStringRef kLockdownMobileApplicationUsageKey;
extern CFStringRef kLockdownModelNumberKey;
extern CFStringRef kLockdownNANDInfoKey;
extern CFStringRef kLockdownNotesUsageKey;
extern CFStringRef kLockdownPasswordProtectedKey;
extern CFStringRef kLockdownPhoneNumberKey;
extern CFStringRef kLockdownPhotoUsageKey;
extern CFStringRef kLockdownProductTypeKey;
extern CFStringRef kLockdownProductVersionKey;
extern CFStringRef kLockdownProhibitAppInstallKey;
extern CFStringRef kLockdownProposedTicketKey;
extern CFStringRef kLockdownProtocolVersionKey;
extern CFStringRef kLockdownRegionInfoKey;
extern CFStringRef kLockdownReleaseTypeKey;
extern CFStringRef kLockdownRentalBagRequestKey;
extern CFStringRef kLockdownRentalBagRequestVersionKey;
extern CFStringRef kLockdownRentalBagResponseKey;
extern CFStringRef kLockdownRentalCheckinAckRequestKey;
extern CFStringRef kLockdownRentalCheckinAckResponseKey;
extern CFStringRef kLockdownReservedBytesKey;
extern CFStringRef kLockdownRestrictionDomainKey;
extern CFStringRef kLockdownSIMGID1Key;
extern CFStringRef kLockdownSIMGID2Key;
extern CFStringRef kLockdownSIMStatusKey;
extern CFStringRef kLockdownSerialNumberKey;
extern CFStringRef kLockdownSomebodySetTimeZoneKey;
extern CFStringRef kLockdownSupportedKeyboardsKey;
extern CFStringRef kLockdownSupportedLanguagesKey;
extern CFStringRef kLockdownSupportedLocalesKey;
extern CFStringRef kLockdownSupportsCarrierBundleInstallKey;
extern CFStringRef kLockdownSyncDataClassDomainKey;
extern CFStringRef kLockdownTimeIntervalSince1970Key;
extern CFStringRef kLockdownTimeZoneKey;
extern CFStringRef kLockdownTimeZoneOffsetFromUTCKey;
extern CFStringRef kLockdownTotalDataAvailableKey;
extern CFStringRef kLockdownTotalDataCapacityKey;
extern CFStringRef kLockdownTotalDiskCapacityKey;
extern CFStringRef kLockdownTotalSystemAvailableKey;
extern CFStringRef kLockdownTotalSystemCapacityKey;
extern CFStringRef kLockdownTrustedHostAttachedKey;
extern CFStringRef kLockdownUniqueDeviceIDKey;
extern CFStringRef kLockdownUnlockCodeKey;
extern CFStringRef kLockdownUserPreferencesDomainKey;
extern CFStringRef kLockdownUserSetLanguageKey;
extern CFStringRef kLockdownUserSetLocaleKey;
extern CFStringRef kLockdownUses24HourClockKey;
extern CFStringRef kLockdownVoicemailUsageKey;
extern CFStringRef kLockdownVoidWarrantyKey;
extern CFStringRef kLockdownWifiAddressKey;
extern CFStringRef kLockdownWildcardTicketKey;
extern CFStringRef kLockdowniTunesHasConnectedKey;

extern void *lockdown_connect(void);
extern CFStringRef lockdown_copy_value(void *lockdown, void *null, CFStringRef key);
extern void lockdown_disconnect(void *lockdown);

#ifdef __cplusplus
}
#endif

#endif/*LOCKDOWN_LOCKDOWN_H*/