]> git.saurik.com Git - iphone-api.git/blob - lockdown.h
GraphicsServices: fixed __cplusplus, added _GSEventGetGSEventRecord, organizined...
[iphone-api.git] / lockdown.h
1 /* iPhone Open SDK - Free Open Source Anti-Apple SDK
2 * Copyright (C) 2008 Jay Freeman (saurik)
3 */
4
5 /*
6 * Redistribution and use in source and binary
7 * forms, with or without modification, are permitted
8 * provided that the following conditions are met:
9 *
10 * 1. Redistributions of source code must retain the
11 * above copyright notice, this list of conditions
12 * and the following disclaimer.
13 * 2. Redistributions in binary form must reproduce the
14 * above copyright notice, this list of conditions
15 * and the following disclaimer in the documentation
16 * and/or other materials provided with the
17 * distribution.
18 * 3. The name of the author may not be used to endorse
19 * or promote products derived from this software
20 * without specific prior written permission.
21 *
22 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS''
23 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
24 * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
25 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
26 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE
27 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
28 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
29 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
30 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
31 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
32 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
33 * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
34 * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
35 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
36 */
37
38 #ifndef LOCKDOWN_LOCKDOWN_H
39 #define LOCKDOWN_LOCKDOWN_H
40
41 #include <CoreFoundation/CFString.h>
42
43 #ifdef __cplusplus
44 extern "C" {
45 #endif
46
47 extern CFStringRef kLDErrorMissingKey;
48
49 extern CFStringRef kLockdownActivationInfoCompleteKey;
50 extern CFStringRef kLockdownActivationInfoErrorsKey;
51 extern CFStringRef kLockdownActivationInfoKey;
52 extern CFStringRef kLockdownActivationRandomnessKey;
53 extern CFStringRef kLockdownActivationStateAcknowledgedKey;
54 extern CFStringRef kLockdownActivationStateKey;
55 extern CFStringRef kLockdownActivationTicketKey;
56 extern CFStringRef kLockdownAmountCameraAvailableKey;
57 extern CFStringRef kLockdownAmountCameraReservedKey;
58 extern CFStringRef kLockdownAmountDataAvailableKey;
59 extern CFStringRef kLockdownAmountDataReservedKey;
60 extern CFStringRef kLockdownAmountSongsReservedKey;
61 extern CFStringRef kLockdownBasebandBootloaderVersionKey;
62 extern CFStringRef kLockdownBasebandMasterKeyHashKey;
63 extern CFStringRef kLockdownBasebandThumbprintKey;
64 extern CFStringRef kLockdownBasebandVersionKey;
65 extern CFStringRef kLockdownBluetoothAddressKey;
66 extern CFStringRef kLockdownBrickStateKey;
67 extern CFStringRef kLockdownBuildVersionKey;
68 extern CFStringRef kLockdownCalendarUsageKey;
69 extern CFStringRef kLockdownCameraUsageKey;
70 extern CFStringRef kLockdownCaptureSyslogKey;
71 extern CFStringRef kLockdownCarrierBundleInfoKey;
72 extern CFStringRef kLockdownCheckpointDomainKey;
73 extern CFStringRef kLockdownColorSyncProfileKey;
74 extern CFStringRef kLockdownDBVersionKey;
75 extern CFStringRef kLockdownDataSyncDomainKey;
76 extern CFStringRef kLockdownDebugDockPresentKey;
77 extern CFStringRef kLockdownDebugDomainKey;
78 extern CFStringRef kLockdownDeviceCertificateKey;
79 extern CFStringRef kLockdownDeviceClassKey;
80 extern CFStringRef kLockdownDeviceNameKey;
81 extern CFStringRef kLockdownDevicePrivateKey;
82 extern CFStringRef kLockdownDevicePublicKey;
83 extern CFStringRef kLockdownDiskUsageDomainKey;
84 extern CFStringRef kLockdownEnable8021XLogsKey;
85 extern CFStringRef kLockdownEnableVPNLogsKey;
86 extern CFStringRef kLockdownFairPlayCertificateKey;
87 extern CFStringRef kLockdownFairPlayContextIDKey;
88 extern CFStringRef kLockdownFairPlayDomainKey;
89 extern CFStringRef kLockdownFairPlayGUIDKey;
90 extern CFStringRef kLockdownFairPlayIDKey;
91 extern CFStringRef kLockdownFairPlayKeyDataKey;
92 extern CFStringRef kLockdownFamilyIDKey;
93 extern CFStringRef kLockdownFirmwareVersionKey;
94 extern CFStringRef kLockdownHostAttachedKey;
95 extern CFStringRef kLockdownICCIDKey;
96 extern CFStringRef kLockdownIMEIKey;
97 extern CFStringRef kLockdownIMSIKey;
98 extern CFStringRef kLockdownInternalDomainKey;
99 extern CFStringRef kLockdownInternationalDomainKey;
100 extern CFStringRef kLockdownInverseDeviceIDKey;
101 extern CFStringRef kLockdownIsInternalKey;
102 extern CFStringRef kLockdownKeyboardKey;
103 extern CFStringRef kLockdownLanguageKey;
104 extern CFStringRef kLockdownLocaleKey;
105 extern CFStringRef kLockdownLogToDiskKey;
106 extern CFStringRef kLockdownMediaCacheUsageKey;
107 extern CFStringRef kLockdownMinimumiTunesVersionKey;
108 extern CFStringRef kLockdownMobileApplicationUsageKey;
109 extern CFStringRef kLockdownModelNumberKey;
110 extern CFStringRef kLockdownNANDInfoKey;
111 extern CFStringRef kLockdownNotesUsageKey;
112 extern CFStringRef kLockdownPasswordProtectedKey;
113 extern CFStringRef kLockdownPhoneNumberKey;
114 extern CFStringRef kLockdownPhotoUsageKey;
115 extern CFStringRef kLockdownProductTypeKey;
116 extern CFStringRef kLockdownProductVersionKey;
117 extern CFStringRef kLockdownProhibitAppInstallKey;
118 extern CFStringRef kLockdownProposedTicketKey;
119 extern CFStringRef kLockdownProtocolVersionKey;
120 extern CFStringRef kLockdownRegionInfoKey;
121 extern CFStringRef kLockdownReleaseTypeKey;
122 extern CFStringRef kLockdownRentalBagRequestKey;
123 extern CFStringRef kLockdownRentalBagRequestVersionKey;
124 extern CFStringRef kLockdownRentalBagResponseKey;
125 extern CFStringRef kLockdownRentalCheckinAckRequestKey;
126 extern CFStringRef kLockdownRentalCheckinAckResponseKey;
127 extern CFStringRef kLockdownReservedBytesKey;
128 extern CFStringRef kLockdownRestrictionDomainKey;
129 extern CFStringRef kLockdownSIMGID1Key;
130 extern CFStringRef kLockdownSIMGID2Key;
131 extern CFStringRef kLockdownSIMStatusKey;
132 extern CFStringRef kLockdownSerialNumberKey;
133 extern CFStringRef kLockdownSomebodySetTimeZoneKey;
134 extern CFStringRef kLockdownSupportedKeyboardsKey;
135 extern CFStringRef kLockdownSupportedLanguagesKey;
136 extern CFStringRef kLockdownSupportedLocalesKey;
137 extern CFStringRef kLockdownSupportsCarrierBundleInstallKey;
138 extern CFStringRef kLockdownSyncDataClassDomainKey;
139 extern CFStringRef kLockdownTimeIntervalSince1970Key;
140 extern CFStringRef kLockdownTimeZoneKey;
141 extern CFStringRef kLockdownTimeZoneOffsetFromUTCKey;
142 extern CFStringRef kLockdownTotalDataAvailableKey;
143 extern CFStringRef kLockdownTotalDataCapacityKey;
144 extern CFStringRef kLockdownTotalDiskCapacityKey;
145 extern CFStringRef kLockdownTotalSystemAvailableKey;
146 extern CFStringRef kLockdownTotalSystemCapacityKey;
147 extern CFStringRef kLockdownTrustedHostAttachedKey;
148 extern CFStringRef kLockdownUniqueDeviceIDKey;
149 extern CFStringRef kLockdownUnlockCodeKey;
150 extern CFStringRef kLockdownUserPreferencesDomainKey;
151 extern CFStringRef kLockdownUserSetLanguageKey;
152 extern CFStringRef kLockdownUserSetLocaleKey;
153 extern CFStringRef kLockdownUses24HourClockKey;
154 extern CFStringRef kLockdownVoicemailUsageKey;
155 extern CFStringRef kLockdownVoidWarrantyKey;
156 extern CFStringRef kLockdownWifiAddressKey;
157 extern CFStringRef kLockdownWildcardTicketKey;
158 extern CFStringRef kLockdowniTunesHasConnectedKey;
159
160 extern void *lockdown_connect(void);
161 extern CFStringRef lockdown_copy_value(void *lockdown, void *null, CFStringRef key);
162 extern void lockdown_disconnect(void *lockdown);
163
164 #ifdef __cplusplus
165 }
166 #endif
167
168 #endif/*LOCKDOWN_LOCKDOWN_H*/