]> git.saurik.com Git - cycript.git/blob - Bridge.def
Move tokens that aren't Words into IdentifierName.
[cycript.git] / Bridge.def
1 C YES true
2 C NO false
3 C NULL null
4
5 T id @
6 T Class #
7 T SEL :
8
9 T short s
10 T int i
11 T long l
12 T longlong q
13
14 T byte C
15 T ushort S
16 T uint I
17 T ulong L
18 T ulonglong Q
19
20 T char c
21 T boolean B
22 T float f
23 T double d
24
25 T Boolean B
26 T BOOL B
27 T bool B
28
29 T int8_t {char}
30 T uint8_t {byte}
31 T int16_t {short}
32 T uint16_t {ushort}
33 T int32_t {int}
34 T uint32_t {uint}
35 T int64_t {longlong}
36 T uint64_t {ulonglong}
37
38 T SInt8 {int8_t}
39 T UInt8 {uint8_t}
40 T SInt16 {int16_t}
41 T UInt16 {uint16_t}
42 T SInt32 {int32_t}
43 T UInt32 {uint32_t}
44 T SInt64 {int64_t}
45 T UInt64 {uint64_t}
46
47 S CGPoint "x"{CGFloat}"y"{CGFloat}
48 S CGRect "origin"{CGPoint}"size"{CGSize}
49 S CGSize "width"{CGFloat}"height"{CGFloat}
50
51 l c
52
53 S nlist_64 "_un"(?="n_strx"I)"n_type"C"n_sect"C"n_desc"S"n_value"Q
54
55 F malloc ^vL
56 F free v^v
57
58 l objc
59
60 F class_addIvar B#*LC*
61 F class_addMethod B#:^?*
62 F class_addProtocol B#@
63 F class_conformsToProtocol B#@
64 F class_copyIvarList ^^{objc_ivar=}#^I
65 F class_copyMethodList ^^{objc_method=}#^I
66 F class_copyPropertyList ^^{objc_property=}#^I
67 F class_copyProtocolList ^@#^I
68 F class_createInstance @#L
69 F class_getClassMethod ^{objc_method=}#:
70 F class_getClassVariable ^{objc_ivar=}#*
71 F class_getInstanceMethod ^{objc_method=}#:
72 F class_getInstanceSize L#
73 F class_getInstanceVariable ^{objc_ivar=}#*
74 F class_getIvarLayout *#
75 F class_getMethodImplementation ^?#:
76 F class_getMethodImplementation_stret ^?#:
77 F class_getName *#
78 F class_getProperty ^{objc_property=}#*
79 F class_getSuperclass ##
80 F class_getVersion i#
81 F class_getWeakIvarLayout *#
82 F class_isMetaClass B#
83 F class_replaceMethod ^?#:^?*
84 F class_respondsToSelector B#:
85 F class_setIvarLayout v#*
86 F class_setSuperclass ###
87 F class_setVersion v#i
88 F class_setWeakIvarLayout v#*
89
90 F ivar_getName *^{objc_ivar=}
91 F ivar_getOffset i^{objc_ivar=}
92 F ivar_getTypeEncoding *^{objc_ivar=}
93
94 F method_copyArgumentType ^c^{objc_method=}I
95 F method_copyReturnType ^c^{objc_method=}
96 F method_exchangeImplementations v^{objc_method=}^{objc_method=}
97 F method_getArgumentType v^{objc_method=}I^cL
98 F method_getImplementation ^?^{objc_method=}
99 F method_getName :^{objc_method=}
100 F method_getNumberOfArguments I^{objc_method=}
101 F method_getReturnType v^{objc_method=}^cL
102 F method_getTypeEncoding *^{objc_method=}
103 F method_setImplementation ^?^{objc_method=}^?
104
105 # this should return # or ^v ?
106 F objc_allocateClassPair ##*L
107 F objc_copyProtocolList ^@^I
108 F objc_duplicateClass ##*L
109 F objc_getClass #*
110 F objc_getClassList i^#i
111 F objc_getFutureClass #*
112 F objc_getMetaClass @*
113 F objc_getProtocol @*
114 F objc_getRequiredClass @*
115 F objc_lookUpClass @*
116 F objc_registerClassPair v#
117 F objc_setFutureClass v#*
118
119 F object_copy @@L
120 F object_dispose @@
121 F object_getClass #@
122 F object_getClassName *@
123 F object_getIndexedIvars ^v@
124 F object_getInstanceVariable ^{objc_ivar=}@*^^v
125 F object_getIvar @@^{objc_ivar=}
126 F object_setClass #@#
127 F object_setInstanceVariable ^{objc_ivar=}@*^v
128 F object_setIvar v@^{objc_ivar=}@
129
130 F property_getAttributes *^{objc_property=}
131 F property_getName *^{objc_property=}
132
133 F protocol_conformsToProtocol B@@
134 F protocol_copyMethodDescriptionList ^{objc_method_description=:*}@BB^I
135 F protocol_copyPropertyList ^^{objc_property=}@^I
136 F protocol_copyProtocolList ^@@^I
137 F protocol_getMethodDescription {objc_method_description=:*}@:BB
138 F protocol_getName *@
139 F protocol_getProperty ^{objc_property=}@*BB
140 F protocol_isEqual B@@
141
142 F sel_getName *:
143 F sel_getUid :*
144 F sel_isEqual B::
145 F sel_registerName :*
146
147 f UIKit
148
149 C UIBarStyleDefault 0
150 C UIBarStyleBlack 1
151 C UIBarStyleBlackOpaque 2
152 C UIBarStyleBlackTranslucent 3
153 T UIBarStyle i
154
155 C UIDataDetectorTypePhoneNumber (1<<0)
156 C UIDataDetectorTypeLink (1<<1)
157 C UIDataDetectorTypeNone 0
158 C UIDataDetectorTypeAll -1
159 T UIDataDetectorTypes {NSUInteger}
160
161 S UIEdgeInsets "top"{CGFloat}"left"{CGFloat}"bottom"{CGFloat}"right"{CGFloat}
162
163 # UINavigationBar
164
165 # UINavigationController
166
167 V UINavigationControllerHideShowBarDuration f
168
169 # UINavigationControllerDelegate
170
171 # UIScrollView
172
173 C UIScrollViewIndicatorStyleDefault 0
174 C UIScrollViewIndicatorStyleBlack 1
175 C UIScrollViewIndicatorStyleWhite 2
176
177 V UIScrollViewDecelerationRateNormal f
178 V UIScrollViewDecelerationRateFast f
179
180 # UIScrollViewDelegate
181
182 # UITabBar
183
184 # UITabBarDelegate
185
186 # UITableView
187
188 C UITableViewStylePlain 0
189 C UITableViewStyleGrouped 1
190
191 C UITableViewScrollPositionNone 0
192 C UITableViewScrollPositionTop 1
193 C UITableViewScrollPositionMiddle 2
194 C UITableViewScrollPositionBottom 3
195
196 C UITableViewRowAnimationFade 0
197 C UITableViewRowAnimationRight 1
198 C UITableViewRowAnimationLeft 2
199 C UITableViewRowAnimationTop 3
200 C UITableViewRowAnimationBottom 4
201 C UITableViewRowAnimationNone 5
202
203 V UITableViewIndexSearch @
204
205 # UITableViewCell
206
207 C UITableViewCellStyleDefault 0
208 C UITableViewCellStyleValue1 1
209 C UITableViewCellStyleValue2 2
210 C UITableViewCellStyleSubtitle 3
211
212 C UITableViewCellStateDefaultMask 0
213 C UITableViewCellStateEditingMask (1<<0)
214 C UITableViewCellStateShowingDeleteConfirmationMask (1<<1)
215
216 C UITableViewCellSelectionStyleNone 0
217 C UITableViewCellSelectionStyleBlue 1
218 C UITableViewCellSelectionStyleGray 2
219
220 C UITableViewCellEditingStyleNone 0
221 C UITableViewCellEditingStyleDelete 1
222 C UITableViewCellEditingStyleInsert 2
223
224 C UITableViewCellAccessoryNone 0
225 C UITableViewCellAccessoryDisclosureIndicator 1
226 C UITableViewCellAccessoryDetailDisclosureButton 2
227 C UITableViewCellAccessoryCheckmark 3
228
229 C UITableViewCellSeparatorStyleNone 0
230 C UITableViewCellSeparatorStyleSingleLine 1
231
232 # UITableViewController
233
234 # UITableViewDataSource
235
236 # UIToolbar
237
238 # UIView
239
240 C UIViewAnimationCurveEaseInOut 0
241 C UIViewAnimationCurveEaseIn 1
242 C UIViewAnimationCurveEaseOut 2
243 C UIViewAnimationCurveLinear 3
244
245 C UIViewContentModeScaleToFill 0
246 C UIViewContentModeScaleAspectFit 1
247 C UIViewContentModeScaleAspectFill 2
248 C UIViewContentModeRedraw 3
249 C UIViewContentModeCenter 4
250 C UIViewContentModeTop 5
251 C UIViewContentModeBottom 6
252 C UIViewContentModeLeft 7
253 C UIViewContentModeRight 8
254 C UIViewContentModeTopLeft 9
255 C UIViewContentModeTopRight 10
256 C UIViewContentModeBottomLeft 11
257 C UIViewContentModeBottomRight 12
258
259 C UIViewAutoresizingNone 0
260 C UIViewAutoresizingFlexibleLeftMargin (1<<0)
261 C UIViewAutoresizingFlexibleWidth (1<<1)
262 C UIViewAutoresizingFlexibleRightMargin (1<<2)
263 C UIViewAutoresizingFlexibleTopMargin (1<<3)
264 C UIViewAutoresizingFlexibleHeight (1<<4)
265 C UIViewAutoresizingFlexibleBottomMargin (1<<5)
266
267 C UIViewAnimationTransitionNone 0
268 C UIViewAnimationTransitionFlipFromLeft 1
269 C UIViewAnimationTransitionFlipFromRight 2
270 C UIViewAnimationTransitionCurlUp 3
271 C UIViewAnimationTransitionCurlDown 4
272
273 # UIViewController
274
275 C UIModalTransitionStyleCoverVertical 0
276 C UIModalTransitionStyleFlipHorizontal 1
277 C UIModalTransitionStyleCrossDissolve 2
278
279 # UIWebView
280
281 C UIWebViewNavigationTypeLinkClicked 0
282 C UIWebViewNavigationTypeFormSubmitted 1
283 C UIWebViewNavigationTypeBackForward 2
284 C UIWebViewNavigationTypeReload 3
285 C UIWebViewNavigationTypeFormResubmitted 4
286 C UIWebViewNavigationTypeOther 5
287
288 # UIWebViewDelegate
289
290 # UIWindow
291
292 V UIWindowLevelNormal f
293 V UIWindowLevelAlert f
294 V UIWindowLevelStatusBar f
295
296 V UIKeyboardCenterBeginUserInfoKey @
297 V UIKeyboardCenterEndUserInfoKey @
298 V UIKeyboardBoundsUserInfoKey @
299 V UIKeyboardAnimationCurveUserInfoKey @
300 V UIKeyboardAnimationDurationUserInfoKey @
301
302 # Functions
303
304 F UIApplicationMain ii^^c@@
305
306 F UIImageJPEGRepresentation @@f
307 F UIImagePNGRepresentation @@
308 F UIImageWriteToSavedPhotosAlbum v@@:^v
309
310 F UISaveVideoAtPathToSavedPhotosAlbum v@@:^v
311 F UIVideoAtPathIsCompatibleWithSavedPhotosAlbum B@
312
313 F UIGraphicsGetCurrentContext @
314 F UIGraphicsPushContext v@
315 F UIGraphicsPopContext v
316 F UIGraphicsBeginImageContext v{CGSize}
317 F UIGraphicsGetImageFromCurrentImageContext @
318 F UIGraphicsEndImageContext v
319 F UIRectClip v{CGRect}
320 F UIRectFill v{CGRect}
321 F UIRectFillUsingBlendMode v{CGRect}{CGBlendMode}
322 F UIRectFrame v{CGRect}
323 F UIRectFrameUsingBlendMode v{CGRect}{CGBlendMode}
324
325 F CGPointFromString {CGPoint}@
326 F CGRectFromString {CGRect}@
327 F CGSizeFromString {CGSize}@
328 F CGAffineTransformFromString {CGAffineTransform}@
329 F UIEdgeInsetsFromString {UIEdgeInsets=ffff}@
330 F NSStringFromCGPoint @{CGPoint}
331 F NSStringFromCGRect @{CGRect}
332 F NSStringFromCGSize @{CGSize}
333 F NSStringFromCGAffineTransform @{CGAffineTransform}
334 F NSStringFromUIEdgeInsets @{UIEdgeInsets=ffff}
335
336 F UIEdgeInsetsMake {UIEdgeInsets=ffff}ffff
337 F UIEdgeInsetsEqualToEdgeInsets B{UIEdgeInsets=ffff}{UIEdgeInsets=ffff}
338 F UIEdgeInsetsInsetRect {CGRect}{CGRect}{UIEdgeInsets=ffff}
339
340 # XXX: UIInterfaceOrientationIsPortrait
341 # XXX: UIInterfaceOrientationIsLandscape
342
343 # XXX: UIDeviceOrientationIsValidInterfaceOrientation
344 # XXX: UIDeviceOrientationIsPortrait
345 # XXX: UIDeviceOrientationIsLandscape
346
347 F UIAccessibilityPostNotification vI@
348
349 # Miscellaneous
350
351 F UIGetScreenImage @
352
353 V UIAbbreviatedMonthDayFormat @
354 V UIAbbreviatedWeekdayDateFormat @
355 V UIAbbreviatedWeekdayFormat @
356 V UIAbbreviatedWeekdayMonthDayFormat @
357 V UIAbbreviatedWeekdayMonthDayMinutelessFormat @
358 V UIAbbreviatedWeekdayMonthDayTimeFormat @
359 V UIDatePickerDayFormat @
360 V UIDatePickerMonthFormat @
361 V UIDatePickerYearFormat @
362 V UIHourFormat @
363 V UIMinutelessTimeFormat @
364 V UIMonthYearFormat @
365 V UINoAMPMTimeFormat @
366 V UIShortMonthDayFormat @
367 V UIWeekdayAbbreviatedDateFormat @
368 V UIWeekdayAbbreviatedNoYearDateFormat @
369 V UIWeekdayFormat @
370 V UIWeekdayNoYearDateFormat @
371
372 F UIDateFormatStringForFormatType @@
373
374 F UIApplicationUseLegacyEvents vB
375
376 F UIKeyboardDisableAutomaticAppearance v
377 F UIKeyboardEnableAutomaticAppearance v
378 F UIKeyboardInputModeUsesKBStar B@
379
380 F _UIImageWithName @@
381
382 F UIFormattedPhoneNumberFromString @@
383 F UIUnformattedPhoneNumberFromString @@
384
385 V UIApp @
386
387 V kUIButtonBarButtonAction @
388 V kUIButtonBarButtonInfo @
389 V kUIButtonBarButtonInfoOffset @
390 V kUIButtonBarButtonSelectedInfo @
391 V kUIButtonBarButtonSizeToFit @
392 V kUIButtonBarButtonStyle @
393 V kUIButtonBarButtonTag @
394 V kUIButtonBarButtonTarget @
395 V kUIButtonBarButtonTitle @
396 V kUIButtonBarButtonTitleVerticalHeight @
397 V kUIButtonBarButtonTitleWidth @
398 V kUIButtonBarButtonType @
399
400 V UIKeyboardRequiresInternationalKey @
401
402 V UIKeyboardCandidateCorrectionDidChangeNotification @
403 V UIKeyboardCurrentInputModeDidChangeNotification @
404 V UIKeyboardDefaultsDidChangeNotification @
405 V UIKeyboardDidHideNotification @
406 V UIKeyboardDidShowNotification @
407 V UIKeyboardEmptyDelegateNotification @
408 V UIKeyboardWillHideNotification @
409 V UIKeyboardWillShowNotification @
410
411 V UIWebViewDidReceiveMessageNotification @
412 V UIWebViewDidClearMessagesNotification @
413 V UIWebViewGrowsAndShrinksToFitHeight f
414 V UIWebViewGrowsAndShrinksToFitWidth f
415 V UIWebViewScalesToFitScale f
416
417 f Security
418
419 T OSStatus {ulong}
420
421 F SecCertificateAddToKeychain {OSStatus}@@
422 F SecCertificateCopyCommonName {OSStatus}@^@
423 F SecCertificateCopyData @@
424 F SecCertificateCopyEmailAddresses {OSStatus}@^@
425 F SecCertificateCopyLongDescription @@@^@
426 F SecCertificateCopyNormalizedIssuerContent @@^@
427 F SecCertificateCopyNormalizedSubjectContent @@^@
428 F SecCertificateCopyPreferred @@@
429 F SecCertificateCopyPublicKey {OSStatus}@^@
430 F SecCertificateCopySerialNumber @@^@
431 F SecCertificateCopyShortDescription @@@^@
432 F SecCertificateCopySubjectSummary @@
433 F SecCertificateCopyValues @@@^@
434 F SecCertificateCreateWithData @@@
435 F SecCertificateGetItem @@^@
436 F SecCertificateGetTypeID {CFTypeID}
437 F SecCertificateSetPreference {OSStatus}@@{uint32_t}@
438 F SecCertificateSetPreferred {OSStatus}@@@
439 F SecCopyErrorMessageString @{OSStatus}^v
440 F SecIdentityCopyCertificate {OSStatus}@^@
441 F SecIdentityCopyPreferred @@@@
442 F SecIdentityCopyPrivateKey {OSStatus}@^@
443 F SecIdentityCopySystemIdentity {OSStatus}@^@^@
444 F SecIdentityCreateWithCertificate {OSStatus}@@^@
445 F SecIdentityGetTypeID {CFTypeID}
446 F SecIdentitySetPreferred {OSStatus}@@@
447 F SecIdentitySetSystemIdentity {OSStatus}@@
448 F SecKeyCreateFromData @@@^@
449 F SecKeyDeriveFromPassword @@@^@
450 F SecKeyGeneratePair {OSStatus}@^@^@
451 F SecKeyGeneratePairAsync v@{dispatch_queue_t}@?
452 F SecKeyGenerateSymmetric @@^@
453 F SecKeyGetBlockSize {size_t}@
454 F SecKeyGetTypeID {CFTypeID}
455 F SecKeyUnwrapSymmetric @^@@@^@
456 F SecKeyWrapSymmetric @@@@^@
457 F SecPKCS12Import {OSStatus}@@^@
458 F SecPolicyCopyProperties @@
459 F SecPolicyCreateBasicX509 @
460 F SecPolicyCreateSSL @B@
461 F SecPolicyGetTypeID {CFTypeID}
462 F SecTrustCopyAnchorCertificates {OSStatus}^@
463 F SecTrustCopyCustomAnchorCertificates {OSStatus}@^@
464 F SecTrustCopyExceptions @@
465 F SecTrustCopyPolicies {OSStatus}@^@
466 F SecTrustCopyProperties @@
467 F SecTrustCopyPublicKey @@
468 F SecTrustCreateWithCertificates {OSStatus}@@^@
469 F SecTrustEvaluate {OSStatus}@^@
470 F SecTrustEvaluateAsync @{dispatch_queue_t}@?
471 F SecTrustGetCertificateAtIndex @@{CFIndex}
472 F SecTrustGetCertificateCount {CFIndex}@
473 F SecTrustGetTrustResult {OSStatus}@^@
474 F SecTrustGetTypeID {CFTypeID}
475 F SecTrustGetVerifyTime {CFAbsoluteTime}@
476 F SecTrustSetAnchorCertificates {OSStatus}@@
477 F SecTrustSetAnchorCertificatesOnly {OSStatus}@B
478 F SecTrustSetExceptions B@@
479 F SecTrustSetKeychains {OSStatus}@@
480 F SecTrustSetOptions {OSStatus}@{SecTrustOptionFlags}
481 F SecTrustSetPolicies {OSStatus}@@
482 F SecTrustSettingsCopyCertificates {OSStatus}{SecTrustSettingsDomain}^@
483 F SecTrustSettingsCopyModificationDate {OSStatus}@{SecTrustSettingsDomain}^@
484 F SecTrustSettingsCopyTrustSettings {OSStatus}@{SecTrustSettingsDomain}^@
485 F SecTrustSettingsCreateExternalRepresentation {OSStatus}{SecTrustSettingsDomain}^@
486 F SecTrustSettingsImportExternalRepresentation {OSStatus}{SecTrustSettingsDomain}@
487 F SecTrustSettingsRemoveTrustSettings {OSStatus}@{SecTrustSettingsDomain}
488 F SecTrustSettingsSetTrustSettings {OSStatus}@{SecTrustSettingsDomain}@
489 F SecTrustSetVerifyDate {OSStatus}@@
490
491 C CSSM_CERT_STATUS_EXPIRED 0x00000001
492 C CSSM_CERT_STATUS_NOT_VALID_YET 0x00000002
493 C CSSM_CERT_STATUS_IS_IN_INPUT_CERTS 0x00000004
494 C CSSM_CERT_STATUS_IS_IN_ANCHORS 0x00000008
495 C CSSM_CERT_STATUS_IS_ROOT 0x00000010
496 C CSSM_CERT_STATUS_IS_FROM_NET 0x00000020
497
498 C kSecPaddingNone 0
499 C kSecPaddingPKCS1 1
500 C kSecPaddingPKCS1MD2 0x8000
501 C kSecPaddingPKCS1MD5 0x8001
502 C kSecPaddingPKCS1SHA1 0x8002
503
504 C kSecTrustResultInvalid 0
505 C kSecTrustResultProceed 1
506 C kSecTrustResultConfirm 2
507 C kSecTrustResultDeny 3
508 C kSecTrustResultUnspecified 4
509 C kSecTrustResultRecoverableTrustFailure 5
510 C kSecTrustResultFatalTrustFailure 6
511 C kSecTrustResultOtherError 7
512
513 C CSSM_TP_ACTION_ALLOW_EXPIRED 0x00000001
514 C CSSM_TP_ACTION_LEAF_IS_CA 0x00000002
515 C CSSM_TP_ACTION_FETCH_CERT_FROM_NET 0x00000004
516 C CSSM_TP_ACTION_ALLOW_EXPIRED_ROOT 0x00000008
517
518 V kSecImportItemLabel @
519 V kSecImportItemKeyID @
520 V kSecImportItemTrust @
521 V kSecImportItemCertChain @
522 V kSecImportItemIdentity @
523
524 V kSecIdentityDomainDefault @
525 V kSecIdentityDomainKerberosKDC @
526
527 C kSecCredentialTypeDefault 0
528 C kSecCredentialTypeWithUI 1
529 C kSecCredentialTypeNoUI 2
530
531 T SecTrustSettingsDomain {uint32_t}
532 C kSecTrustSettingsDomainUser 0
533 C kSecTrustSettingsDomainAdmin 1
534 C kSecTrustSettingsDomainSystem 2
535
536 C kSecTrustSettingsKeyUseSignature 0x00000001
537 C kSecTrustSettingsKeyUseEnDecryptData 0x00000002
538 C kSecTrustSettingsKeyUseEnDecryptKey 0x00000004
539 C kSecTrustSettingsKeyUseSignCert 0x00000008
540 C kSecTrustSettingsKeyUseSignRevocation 0x00000010
541 C kSecTrustSettingsKeyUseKeyExchange 0x00000020
542 C kSecTrustSettingsKeyUseAny 0xffffffff
543
544 C kSecTrustSettingsPolicy @"kSecTrustSettingsPolicy"
545 C kSecTrustSettingsApplication @"kSecTrustSettingsApplication"
546 C kSecTrustSettingsPolicyString @"kSecTrustSettingsPolicyString"
547 C kSecTrustSettingsKeyUsage @"kSecTrustSettingsKeyUsage"
548 C kSecTrustSettingsAllowedError @"kSecTrustSettingsAllowedError"
549 C kSecTrustSettingsResult @"kSecTrustSettingsResult"
550
551 C kSecTrustSettingsResultInvalid 0
552 C kSecTrustSettingsResultTrustRoot 1
553 C kSecTrustSettingsResultTrustAsRoot 2
554 C kSecTrustSettingsResultDeny 3
555 C kSecTrustSettingsResultUnspecified 4
556
557 # XXX: this is a pointer...
558 C kSecTrustSettingsDefaultRootCertSetting -1
559
560 V kSecPropertyKeyType @
561 V kSecPropertyKeyLabel @
562 V kSecPropertyKeyLocalizedLabel @
563 V kSecPropertyKeyValue @
564
565 V kSecPropertyTypeWarning @
566 V kSecPropertyTypeSuccess @
567 V kSecPropertyTypeSection @
568 V kSecPropertyTypeData @
569 V kSecPropertyTypeString @
570 V kSecPropertyTypeURL @
571 V kSecPropertyTypeDate @
572 V kSecPropertyTypeTitle @
573 V kSecPropertyTypeError @
574
575 V kSecCertificateUsageSigning @
576 V kSecCertificateUsageSigningAndEncrypting @
577 V kSecCertificateUsageDeriveAndSign @
578
579 V kSecPolicyOid @
580 V kSecPolicyName @
581 V kSecPolicyClient @
582 V kSecPolicyKU_DigitalSignature @
583 V kSecPolicyKU_NonRepudiation @
584 V kSecPolicyKU_KeyEncipherment @
585 V kSecPolicyKU_DataEncipherment @
586 V kSecPolicyKU_KeyAgreement @
587 V kSecPolicyKU_KeyCertSign @
588 V kSecPolicyKU_CRLSign @
589 V kSecPolicyKU_EncipherOnly @
590 V kSecPolicyKU_DecipherOnly @
591
592 C kSecTrustOptionAllowExpired 0x00000001
593 C kSecTrustOptionLeafIsCA 0x00000002
594 C kSecTrustOptionFetchIssuerFromNet 0x00000004
595 C kSecTrustOptionAllowExpiredRoot 0x00000008
596 C kSecTrustOptionRequireRevPerCert 0x00000010
597 C kSecTrustOptionImplicitAnchors 0x00000040
598
599 C kSecDefaultKeySize 0
600 C kSec3DES192 192
601 C kSecAES128 128
602 C kSecAES192 192
603 C kSecAES256 256
604 C kSecp192r1 192
605 C kSecp256r1 256
606 C kSecp384r1 384
607 C kSecp521r1 521
608 C kSecRSAMin 1024
609 C kSecRSAMax 4096
610
611 V kSecPolicyAppleX509Basic @
612 V kSecPolicyAppleSSL @
613 V kSecPolicyAppleSMIME @
614 V kSecPolicyAppleEAP @
615 V kSecPolicyAppleIPsec @
616 V kSecPolicyAppleiCha @
617 V kSecPolicyApplePKINITClient @
618 V kSecPolicyApplePKINITServer @
619 V kSecPolicyAppleCodeSigning @
620 V kSecPolicyMacAppStoreReceipt @
621 V kSecPolicyAppleIDValidation @
622 V kSecPolicyAppleTimeStamping @
623
624 C errSecSuccess 0
625 C errSecUnimplemented -4
626 C errSecParam -50
627 C errSecAllocate -108
628 C errSecNotAvailable –25291
629 C errSecReadOnly –25292
630 C errSecAuthFailed –25293
631 C errSecNoSuchKeychain –25294
632 C errSecInvalidKeychain –25295
633 C errSecDuplicateKeychain –25296
634 C errSecDuplicateItem –25299
635 C errSecItemNotFound –25300
636 C errSecBufferTooSmall –25301
637 C errSecDataTooLarge –25302
638 C errSecNoSuchAttr –25303
639 C errSecInvalidItemRef –25304
640 C errSecInvalidSearchRef –25305
641 C errSecNoSuchClass –25306
642 C errSecNoDefaultKeychain –25307
643 C errSecInteractionNotAllowed –25308
644 C errSecReadOnlyAttr –25309
645 C errSecWrongSecVersion –25310
646 C errSecKeySizeNotAllowed –25311
647 C errSecNoStorageModule –25312
648 C errSecNoCertificateModule –25313
649 C errSecNoPolicyModule –25314
650 C errSecInteractionRequired –25315
651 C errSecDataNotAvailable –25316
652 C errSecDataNotModifiable –25317
653 C errSecCreateChainFailed –25318
654 C errSecInvalidPrefsDomain –25319
655 C errSecACLNotSimple –25240
656 C errSecPolicyNotFound –25241
657 C errSecInvalidTrustSetting –25242
658 C errSecNoAccessForItem –25243
659 C errSecInvalidOwnerEdit –25244
660 C errSecTrustNotAvailable –25245
661 C errSecDecode -26275
662
663 f AddressBook
664
665 # Private
666
667 F CPPhoneNumberCopyNetworkCountryCode @
668 F ABCGetSharedAddressBook @
669 F ABCFindPersonMatchingPhoneNumberWithCountry @@@@^i^i
670 F ABCRecordCopyCompositeName @@
671 F ABCFindPersonMatchingPhoneNumber @@@^i^i
672 F ABCCopyLocalizedPropertyOrLabel @i
673
674 # Public
675
676 F ABAddressBookAddRecord B@@^@
677 F ABAddressBookCopyArrayOfAllGroups @@
678 F ABAddressBookCopyArrayOfAllPeople @@
679 F ABAddressBookCopyLocalizedLabel @@
680 F ABAddressBookCreate @
681 F ABAddressBookGetGroupCount l@
682 F ABAddressBookGetPersonCount l@
683 F ABAddressBookHasUnsavedChanges B@
684 F ABAddressBookRegisterExternalChangeCallback v@^?^v
685 F ABAddressBookRemoveRecord B@@^@
686 F ABAddressBookRevert v@
687 F ABAddressBookSave B@^@
688 F ABAddressBookUnregisterExternalChangeCallback v@^?^v
689
690 V ABAddressBookErrorDomain @
691 C kABOperationNotPermittedByStoreError 0
692
693 F ABMultiValueCopyArrayOfAllValues @@
694 F ABMultiValueCopyLabelAtIndex @@l
695 F ABMultiValueCopyValueAtIndex @@l
696 F ABMultiValueGetCount l@
697 F ABMultiValueGetFirstIndexOfValue l@@
698 F ABMultiValueGetIdentifierAtIndex i@l
699 F ABMultiValueGetIndexForIdentifier l@i
700 F ABMultiValueGetPropertyType S@
701
702 C kABMultiValueInvalidIdentifier -1
703
704 F ABMultiValueAddValueAndLabel @@@^i
705 F ABMultiValueCreateMutable @S
706 F ABMultiValueCreateMutableCopy @@
707 F ABMultiValueInsertValueAndLabelAtIndex B@@@l^i
708 F ABMultiValueRemoveValueAndLabelAtIndex B@l
709 F ABMultiValueReplaceLabelAtIndex B@@l
710 F ABMultiValueReplaceValueAtIndex B@@l
711
712 F ABRecordCopyCompositeName @@
713 F ABRecordCopyValue @@i
714 F ABRecordGetRecordID i@
715 F ABRecordGetRecordType I@
716 F ABRecordRemoveValue B@i^@
717 F ABRecordSetValue B@i@^@
718
719 C kABPersonType 0
720 C kABGroupType 1
721
722 # this was (1<<8)
723 C kABMultiValueMask 0x100
724
725 C kABInvalidPropertyType 0x0
726 C kABStringPropertyType 0x1
727 C kABIntegerPropertyType 0x2
728 C kABRealPropertyType 0x3
729 C kABDateTimePropertyType 0x4
730 C kABDictionaryPropertyType 0x5
731 C kABMultiStringPropertyType 0x101
732 C kABMultiIntegerPropertyType 0x102
733 C kABMultiRealPropertyType 0x103
734 C kABMultiDateTimePropertyType 0x104
735 C kABMultiDictionaryPropertyType 0x105
736
737 C kABRecordInvalidID -1
738 C kABPropertyInvalidID -1
739
740 F ABAddressBookGetGroupWithRecordID @@i
741 F ABGroupAddMember B@@^@
742 F ABGroupCopyArrayOfAllMembers @@
743 F ABGroupCopyArrayOfAllMembersWithSortOrdering @@I
744 F ABGroupCreate @
745 F ABGroupRemoveMember B@@^@
746
747 V kABGroupNameProperty i
748
749 F ABAddressBookCopyPeopleWithName @@@
750 F ABAddressBookGetPersonWithRecordID @@i
751 F ABPersonComparePeopleByName i@@I
752 F ABPersonCopyImageData @@
753 F ABPersonCopyLocalizedPropertyName @i
754 F ABPersonCreate @
755 F ABPersonGetCompositeNameFormat I
756 F ABPersonGetSortOrdering I
757 F ABPersonGetTypeOfProperty SI
758 F ABPersonHasImageData B@
759 F ABPersonRemoveImageData B@^@
760 F ABPersonSetImageData B@@^@
761
762 C kABPersonSortByFirstName 0
763 C kABPersonSortByLastName 1
764
765 C kABPersonCompositeNameFormatFirstNameFirst 0
766 C kABPersonCompositeNameFormatLastNameFirst 1
767
768 V kABPersonFirstNameProperty i
769 V kABPersonLastNameProperty i
770 V kABPersonMiddleNameProperty i
771 V kABPersonPrefixProperty i
772 V kABPersonSuffixProperty i
773 V kABPersonNicknameProperty i
774 V kABPersonFirstNamePhoneticProperty i
775 V kABPersonLastNamePhoneticProperty i
776 V kABPersonMiddleNamePhoneticProperty i
777 V kABPersonOrganizationProperty i
778 V kABPersonJobTitleProperty i
779 V kABPersonDepartmentProperty i
780 V kABPersonEmailProperty i
781 V kABPersonBirthdayProperty i
782 V kABPersonNoteProperty i
783 V kABPersonCreationDateProperty i
784 V kABPersonModificationDateProperty i
785
786 V kABPersonAddressProperty i
787 V kABPersonAddressStreetKey @
788 V kABPersonAddressCityKey @
789 V kABPersonAddressStateKey @
790 V kABPersonAddressZIPKey @
791 V kABPersonAddressCountryKey @
792 V kABPersonAddressCountryCodeKey @
793
794 V kABPersonDateProperty i
795 V kABPersonAnniversaryLabel @
796
797 V kABPersonKindProperty i
798 V kABPersonKindPerson @
799 V kABPersonKindOrganization @
800
801 V kABPersonPhoneProperty i
802 V kABPersonPhoneMobileLabel @
803 V kABPersonPhoneIPhoneLabel @
804 V kABPersonPhoneMainLabel @
805 V kABPersonPhoneHomeFAXLabel @
806 V kABPersonPhoneWorkFAXLabel @
807 V kABPersonPhonePagerLabel @
808
809 V kABPersonInstantMessageProperty i
810 V kABPersonInstantMessageServiceKey @
811 V kABPersonInstantMessageServiceYahoo @
812 V kABPersonInstantMessageServiceJabber @
813 V kABPersonInstantMessageServiceMSN @
814 V kABPersonInstantMessageServiceICQ @
815 V kABPersonInstantMessageServiceAIM @
816 V kABPersonInstantMessageUsernameKey @
817
818 V kABPersonURLProperty i
819 V kABPersonHomePageLabel @
820
821 V kABPersonRelatedNamesProperty i
822 V kABPersonMotherLabel @
823 V kABPersonFatherLabel @
824 V kABPersonParentLabel @
825 V kABPersonSisterLabel @
826 V kABPersonBrotherLabel @
827 V kABPersonChildLabel @
828 V kABPersonFriendLabel @
829 V kABPersonSpouseLabel @
830 V kABPersonPartnerLabel @
831 V kABPersonManagerLabel @
832 V kABPersonAssistantLabel @
833
834 V kABWorkLabel @
835 V kABHomeLabel @
836 V kABOtherLabel @
837
838 f Calendar
839
840 F CalDatabaseCopyEventOccurrencesInDateRange {CFArrayRef}^{CalDatabase}^{CalFilter}{CFGregorianDate}{CFGregorianDate}{CFTimeZoneRef}
841 F CalFilterCreateWithDatabase ^{CalFilter}^{CalDatabase}
842
843 F CalEventOccurrenceGetEvent @@
844 F CalEventCopySummary @@
845 F CalEventIsAllDay B@
846 F CalEventOccurrenceGetDate I@
847
848 f CoreAnimation
849
850 S CATransform3D "m11"{CGFloat}"m12"{CGFloat}"m13"{CGFloat}"m14"{CGFloat}"m21"{CGFloat}"m22"{CGFloat}"m23"{CGFloat}"m24"{CGFloat}"m31"{CGFloat}"m32"{CGFloat}"m33"{CGFloat}"m34"{CGFloat}"m41"{CGFloat}"m42"{CGFloat}"m43"{CGFloat}"m44"{CGFloat}
851
852 F CACurrentMediaTime {CFTimeInterval}
853
854 F CATransform3DIsIdentity B{CATransform3D}
855 F CATransform3DEqualToTransform B{CATransform3D}{CATransform3D}
856 F CATransform3DMakeTranslation {CATransform3D}{CGFloat}{CGFloat}{CGFloat}
857 F CATransform3DMakeScale {CATransform3D}{CGFloat}{CGFloat}{CGFloat}
858 F CATransform3DMakeRotation {CATransform3D}{CGFloat}{CGFloat}{CGFloat}{CGFloat}
859 F CATransform3DTranslate {CATransform3D}{CATransform3D}{CGFloat}{CGFloat}{CGFloat}
860 F CATransform3DScale {CATransform3D}{CATransform3D}{CGFloat}{CGFloat}{CGFloat}
861 F CATransform3DRotate {CATransform3D}{CATransform3D}{CGFloat}{CGFloat}{CGFloat}{CGFloat}
862 F CATransform3DConcat {CATransform3D}{CATransform3D}{CATransform3D}
863 F CATransform3DInvert {CATransform3D}{CATransform3D}
864 F CATransform3DMakeAffineTransform {CATransform3D}{CGAffineTransform}
865 F CATransform3DIsAffine B{CATransform3D}
866 F CATransform3DGetAffineTransform {CGAffineTransform}{CATransform3D}
867
868 f CoreData
869
870 C NSUndefinedAttributeType 0
871 C NSInteger16AttributeType 100
872 C NSInteger32AttributeType 200
873 C NSInteger64AttributeType 300
874 C NSDecimalAttributeType 400
875 C NSDoubleAttributeType 500
876 C NSFloatAttributeType 600
877 C NSStringAttributeType 700
878 C NSBooleanAttributeType 800
879 C NSDateAttributeType 900
880 C NSBinaryDataAttributeType 1000
881 C NSTransformableAttributeType 1800
882 C NSObjectIDAttributeType 2000
883
884 C NSUndefinedEntityMappingType 0x00
885 C NSCustomEntityMappingType 0x01
886 C NSAddEntityMappingType 0x02
887 C NSRemoveEntityMappingType 0x03
888 C NSCopyEntityMappingType 0x04
889 C NSTransformEntityMappingType 0x05
890
891 V NSMigrationManagerKey @
892 V NSMigrationSourceObjectKey @
893 V NSMigrationDestinationObjectKey @
894 V NSMigrationEntityMappingKey @
895 V NSMigrationPropertyMappingKey @
896 V NSMigrationEntityPolicyKey @
897
898 C NSManagedObjectResultType 0x00
899 C NSManagedObjectIDResultType 0x01
900 C NSDictionaryResultType 0x02
901
902 C NSFetchRequestExpressionType 50
903
904 C NSSnapshotEventUndoInsertion 1<<1
905 C NSSnapshotEventUndoDeletion 1<<2
906 C NSSnapshotEventUndoUpdate 1<<3
907 C NSSnapshotEventRollback 1<<4
908 C NSSnapshotEventRefresh 1<<5
909 C NSSnapshotEventMergePolicy 1<<6
910
911 V NSInsertedObjectsKey @
912 V NSUpdatedObjectsKey @
913 V NSDeletedObjectsKey @
914 V NSRefreshedObjectsKey @
915 V NSInvalidatedObjectsKey @
916 V NSInvalidatedAllObjectsKey @
917
918 V NSErrorMergePolicy @
919 V NSMergeByPropertyStoreTrumpMergePolicy @
920 V NSMergeByPropertyObjectTrumpMergePolicy @
921 V NSOverwriteMergePolicy @
922 V NSRollbackMergePolicy @
923
924 V NSSQLiteStoreType @
925 V NSBinaryStoreType @
926 V NSInMemoryStoreType @
927
928 V NSStoreTypeKey @
929 V NSStoreUUIDKey @
930
931 V NSAddedPersistentStoresKey @
932 V NSRemovedPersistentStoresKey @
933 V NSUUIDChangedPersistentStoresKey @
934
935 V NSReadOnlyPersistentStoreOption @
936 V NSPersistentStoreTimeoutOption @
937 V NSSQLitePragmasOption @
938 V NSSQLiteAnalyzeOption @
939 V NSSQLiteManualVacuumOption @
940
941 V NSIgnorePersistentStoreVersioningOption @
942 V NSMigratePersistentStoresAutomaticallyOption @
943 V NSInferMappingModelAutomaticallyOption @
944
945 V NSStoreModelVersionHashesKey @
946 V NSStoreModelVersionIdentifiersKey @
947 V NSPersistentStoreOSCompatibility @
948
949 C NSNoActionDeleteRule 0
950 C NSNullifyDeleteRule 1
951 C NSCascadeDeleteRule 2
952 C NSDenyDeleteRule 3
953
954 C NSFetchedResultsChangeInsert 1
955 C NSFetchedResultsChangeDelete 2
956 C NSFetchedResultsChangeMove 3
957 C NSFetchedResultsChangeUpdate 4
958
959 V NSDetailedErrorsKey @
960 V NSValidationObjectErrorKey @
961 V NSValidationKeyErrorKey @
962 V NSValidationPredicateErrorKey @
963 V NSValidationValueErrorKey @
964 V NSAffectedStoresErrorKey @
965 V NSAffectedObjectsErrorKey @
966
967 V NSSQLiteErrorDomain @
968
969 C NSManagedObjectValidationError 1550
970 C NSValidationMultipleErrorsError 1560
971 C NSValidationMissingMandatoryPropertyError 1570
972 C NSValidationRelationshipLacksMinimumCountError 1580
973 C NSValidationRelationshipExceedsMaximumCountError 1590
974 C NSValidationRelationshipDeniedDeleteError 1600
975 C NSValidationNumberTooLargeError 1610
976 C NSValidationNumberTooSmallError 1620
977 C NSValidationDateTooLateError 1630
978 C NSValidationDateTooSoonError 1640
979 C NSValidationInvalidDateError 1650
980 C NSValidationStringTooLongError 1660
981 C NSValidationStringTooShortError 1670
982 C NSValidationStringPatternMatchingError 1680
983
984 C NSManagedObjectContextLockingError 132000
985 C NSPersistentStoreCoordinatorLockingError 132010
986 C NSManagedObjectReferentialIntegrityError 133000
987 C NSManagedObjectExternalRelationshipError 133010
988 C NSManagedObjectMergeError 133020
989
990 C NSPersistentStoreInvalidTypeError 134000
991 C NSPersistentStoreTypeMismatchError 134010
992 C NSPersistentStoreIncompatibleSchemaError 134020
993 C NSPersistentStoreSaveError 134030
994 C NSPersistentStoreIncompleteSaveError 134040
995 C NSPersistentStoreOperationError 134070
996 C NSPersistentStoreOpenError 134080
997 C NSPersistentStoreTimeoutError 134090
998 C NSPersistentStoreIncompatibleVersionHashError 134100
999
1000 C NSMigrationError 134110
1001 C NSMigrationCancelledError 134120
1002 C NSMigrationMissingSourceModelError 134130
1003 C NSMigrationMissingMappingModelError 134140
1004 C NSMigrationManagerSourceStoreError 134150
1005 C NSMigrationManagerDestinationStoreError 134160
1006 C NSEntityMigrationPolicyError 134170
1007 C NSInferredMappingModelError 134190
1008 C NSExternalRecordImportError 134200
1009
1010 C NSCoreDataError 134060
1011 C NSSQLiteError 134180
1012
1013 V NSCoreDataVersionNumber d
1014
1015 C NSCoreDataVersionNumber10_4 46.0
1016 C NSCoreDataVersionNumber10_4_3 77.0
1017 C NSCoreDataVersionNumber10_5 185.0
1018 C NSCoreDataVersionNumber10_5_3 186.0
1019
1020 f CoreFoundation
1021
1022 # Base Utilities
1023
1024 F CFRangeMake {CFRange}{CFIndex}{CFIndex}
1025
1026 # Time Utilities
1027
1028 F CFAbsoluteTimeAddGregorianUnits {CFAbsoluteTime}{CFAbsoluteTime}{CFTimeZoneRef}{CFGregorianUnits}
1029 F CFAbsoluteTimeGetCurrent {CFAbsoluteTime}
1030 F CFAbsoluteTimeGetDayOfWeek {SInt32}{CFAbsoluteTime}{CFTimeZoneRef}
1031 F CFAbsoluteTimeGetDayOfYear {SInt32}{CFAbsoluteTime}{CFTimeZoneRef}
1032 F CFAbsoluteTimeGetDifferenceAsGregorianUnits {CFGregorianUnits}{CFAbsoluteTime}{CFAbsoluteTime}{CFTimeZoneRef}{CFOptionFlags}
1033 F CFAbsoluteTimeGetGregorianDate {CFGregorianDate}{CFAbsoluteTime}{CFTimeZoneRef}
1034 F CFAbsoluteTimeGetWeekOfYear {SInt32}{CFAbsoluteTime}{CFTimeZoneRef}
1035 F CFGregorianDateGetAbsoluteTime {CFAbsoluteTime}{CFGregorianDate}{CFTimeZoneRef}
1036 F CFGregorianDateIsValid {Boolean}{CFGregorianDate}{CFOptionFlags}
1037
1038 T CFAbsoluteTime {CFTimeInterval}
1039 S CFGregorianDate "year"{SInt32}"month"{SInt8}"day"{SInt8}"hour"{SInt8}"minute"{SInt8}"second"{double}
1040 S CFGregorianUnits "years"{SInt32}"months"{SInt32}"days"{SInt32}"hours"{SInt32}"minutes"{SInt32}"second"{double}
1041 T CFTimeInterval {double}
1042
1043 C kCFGregorianUnitsYears 1<<0
1044 C kCFGregorianUnitsMonths 1<<1
1045 C kCFGregorianUnitsDays 1<<2
1046 C kCFGregorianUnitsHours 1<<3
1047 C kCFGregorianUnitsMinutes 1<<4
1048 C kCFGregorianUnitsSeconds 1<<5
1049 C kCFGregorianAllUnits 0x00FFFFFF
1050
1051 V kCFAbsoluteTimeIntervalSince1970 {CFTimeInterval}
1052 V kCFAbsoluteTimeIntervalSince1904 {CFTimeInterval}
1053
1054 # CFComparatorFunction
1055
1056 T CFIndex l
1057 T CFOptionFlags {UInt32}
1058 S CFRange "location"{CFIndex}"length"{CFIndex}
1059
1060 E CFComparisonResult
1061 C kCFCompareLessThan -1
1062 C kCFCompareEqualTo 0
1063 C kCFCompareGreaterThan 1
1064 # CFComparisonResult CFComparisonResult
1065
1066 C kCFNotFound -1
1067
1068 V kCFCoreFoundationVersionNumber d
1069
1070 C kCFCoreFoundationVersionNumber10_0 196.40
1071 C kCFCoreFoundationVersionNumber10_0_3 196.50
1072 C kCFCoreFoundationVersionNumber10_1 226.00
1073 C kCFCoreFoundationVersionNumber10_1_1 226.00
1074 C kCFCoreFoundationVersionNumber10_1_2 227.20
1075 C kCFCoreFoundationVersionNumber10_1_3 227.20
1076 C kCFCoreFoundationVersionNumber10_1_4 227.30
1077 C kCFCoreFoundationVersionNumber10_2 263.00
1078 C kCFCoreFoundationVersionNumber10_2_1 263.10
1079 C kCFCoreFoundationVersionNumber10_2_2 263.10
1080 C kCFCoreFoundationVersionNumber10_2_3 263.30
1081 C kCFCoreFoundationVersionNumber10_2_4 263.30
1082 C kCFCoreFoundationVersionNumber10_2_5 263.50
1083 C kCFCoreFoundationVersionNumber10_2_6 263.50
1084 C kCFCoreFoundationVersionNumber10_2_7 263.50
1085 C kCFCoreFoundationVersionNumber10_2_8 263.50
1086 C kCFCoreFoundationVersionNumber10_3 299.00
1087 C kCFCoreFoundationVersionNumber10_3_1 299.00
1088 C kCFCoreFoundationVersionNumber10_3_2 299.00
1089 C kCFCoreFoundationVersionNumber10_3_3 299.30
1090 C kCFCoreFoundationVersionNumber10_3_4 299.31
1091 C kCFCoreFoundationVersionNumber10_3_5 299.31
1092 C kCFCoreFoundationVersionNumber10_3_6 299.32
1093 C kCFCoreFoundationVersionNumber10_3_7 299.33
1094 C kCFCoreFoundationVersionNumber10_3_8 299.33
1095 C kCFCoreFoundationVersionNumber10_3_9 299.35
1096 C kCFCoreFoundationVersionNumber10_4 368.00
1097 C kCFCoreFoundationVersionNumber10_4_1 368.10
1098 C kCFCoreFoundationVersionNumber10_4_2 368.11
1099 C kCFCoreFoundationVersionNumber10_4_3 368.18
1100 C kCFCoreFoundationVersionNumber10_4_4_Intel 368.26
1101 C kCFCoreFoundationVersionNumber10_4_4_PowerPC 368.25
1102 C kCFCoreFoundationVersionNumber10_4_5_Intel 368.26
1103 C kCFCoreFoundationVersionNumber10_4_5_PowerPC 368.25
1104 C kCFCoreFoundationVersionNumber10_4_6_Intel 368.26
1105 C kCFCoreFoundationVersionNumber10_4_6_PowerPC 368.25
1106 C kCFCoreFoundationVersionNumber10_4_7 368.27
1107 C kCFCoreFoundationVersionNumber10_4_8 368.27
1108 C kCFCoreFoundationVersionNumber10_4_9 368.28
1109 C kCFCoreFoundationVersionNumber10_4_10 368.28
1110 C kCFCoreFoundationVersionNumber10_4_11 368.31
1111 C kCFCoreFoundationVersionNumber10_5 476.00
1112 C kCFCoreFoundationVersionNumber10_5_1 476.00
1113 C kCFCoreFoundationVersionNumber10_5_2 476.10
1114 C kCFCoreFoundationVersionNumber10_5_3 476.13
1115 C kCFCoreFoundationVersionNumber10_5_4 476.14
1116 C kCFCoreFoundationVersionNumber10_5_5 476.15
1117 C kCFCoreFoundationVersionNumber10_5_6 476.17
1118
1119 # CFAllocator
1120
1121 F CFAllocatorCreate {CFAllocatorRef}{CFAllocatorRef}{CFAllocatorContext}
1122
1123 F CFAllocatorAllocate ^v{CFAllocatorRef}{CFIndex}{CFOptionFlags}
1124 F CFAllocatorDeallocate v{CFAllocatorRef}^v
1125 F CFAllocatorGetPreferredSizeForSize {CFIndex}{CFAllocatorRef}{CFIndex}{CFOptionFlags}
1126 F CFAllocatorReallocate ^v{CFAllocatorRef}^v{CFIndex}{CFOptionFlags}
1127
1128 F CFAllocatorGetDefault {CFAllocatorRef}
1129 f CFAllocatorSetDefault v{CFAllocatorRef}
1130
1131 F CFAllocatorGetContext v{CFAllocatorRef}^{CFAllocatorContext}
1132
1133 F CFAllocatorGetTypeID {CFTypeID}
1134
1135 # CFAllocatorAllocateCallBack
1136 # CFAllocatorCopyDescriptionCallBack
1137 # CFAllocatorDeallocateCallBack
1138 # CFAllocatorPreferredSizeCallBack
1139 # CFAllocatorReallocateCallBack
1140 # CFAllocatorReleaseCallBack
1141 # CFAllocatorRetainCallBack
1142
1143 S CFAllocatorContext "version"{CFIndex}"info"^v"retain"{CFAllocatorRetainCallBack}"release"{CFAllocatorReleaseCallBack}"copyDescription"{CFAllocatorCopyDescriptionCallBack}"allocate"{CFAllocatorAllocateCallBack}"reallocate"{CFAllocatorReallocateCallBack}"deallocate"{CFAllocatorDeallocateCallBack}"preferredSize"{CFAllocatorPreferredSizeCallBack}
1144 # CFAllocatorContext CFAllocatorContext
1145
1146 T CFAllocatorRef @
1147 # CFAllocatorRef ^r{__CFAllocator}
1148
1149 V kCFAllocatorDefault {CFAllocatorRef}
1150 V kCFAllocatorSystemDefault {CFAllocatorRef}
1151 V kCFAllocatorMalloc {CFAllocatorRef}
1152 V kCFAllocatorMallocZone {CFAllocatorRef}
1153 V kCFAllocatorNull {CFAllocatorRef}
1154 V kCFAllocatorUseContext {CFAllocatorRef}
1155
1156 # CFByteOrderUtils
1157
1158 E __CFByteOrder
1159 C CFByteOrderUnknown 0
1160 C CFByteOrderLittleEndian 1
1161 C CFByteOrderBigEndian 2
1162 T CFByteOrder __CFByteOrder
1163
1164 # CFArray
1165
1166 T CFArrayRef @
1167
1168 # CFData
1169
1170 F CFDataCreate {CFDataRef}{CFAllocatorRef}^r{UInt8}{CFIndex}
1171 F CFDataCreateCopy {CFDataRef}{CFAllocatorRef}{CFDataRef}
1172 F CFDataCreateWithBytesNoCopy {CFDataRef}{CFAllocatorRef}^r{UInt8}{CFIndex}{CFAllocatorRef}
1173
1174 F CFDataGetBytePtr ^r{UInt8}{CFDataRef}
1175 F CFDataGetBytes v{CFDataRef}{CFRange}^{UInt8}
1176 F CFDataGetLength {CFIndex}{CFDataRef}
1177
1178 F CFDataGetTypeID {CFTypeID}
1179
1180 T CFDataRef @
1181 # CFDataRef ^r{__CFData}
1182
1183 # CFDate
1184
1185 F CFDateCompare {CFComparisonResult}{CFDateRef}{CFDateRef}^v
1186 F CFDateCreate {CFDateRef}{CFAllocatorRef}{CFAbsoluteTime}
1187 F CFDateGetAbsoluteTime {CFAbsoluteTime}{CFDateRef}
1188 F CFDateGetTimeIntervalSinceDate {CFTimeInterval}{CFDateRef}{CFDateRef}
1189 F CFDateGetTypeID {CFTypeID}
1190
1191 T CFDateRef @
1192 # CFDateRef ^r{__CFDate}
1193
1194 # CFDateFormatter
1195
1196 F CFDateFormatterCreate {CFDateFormatterRef}{CFAllocatorRef}{CFLocaleRef}{CFDateFormatterStyle}{CFDateFormatterStyle}
1197
1198 F CFDateFormatterSetFormat v{CFDateFormatterRef}{CFStringRef}
1199 F CFDateFormatterSetProperty v{CFDateFormatterRef}{CFStringRef}{CFTypeRef}
1200
1201 F CFDateFormatterCreateDateFromString {CFDateRef}{CFAllocatorRef}{CFDateFormatterRef}{CFStringRef}^{CFRange}
1202 F CFDateFormatterGetAbsoluteTimeFromString {Boolean}{CFDateFormatterRef}{CFStringRef}^{CFRange}^{CFAbsoluteTime}
1203
1204 F CFDateFormatterCreateStringWithAbsoluteTime {CFStringRef}{CFAllocatorRef}{CFDateFormatterRef}{CFAbsoluteTime}
1205 F CFDateFormatterCreateStringWithDate {CFStringRef}{CFAllocatorRef}{CFDateFormatterRef}{CFDateRef}
1206 F CFDateFormatterCreateDateFormatFromTemplate {CFStringRef}{CFAllocatorRef}{CFStringRef}{CFOptionFlags}{CFLocaleRef}
1207
1208 F CFDateFormatterCopyProperty {CFTypeRef}{CFDateFormatterRef}{CFStringRef}
1209 F CFDateFormatterGetDateStyle {CFDateFormatterStyle}{CFDateFormatterRef}
1210 F CFDateFormatterGetFormat {CFStringRef}{CFDateFormatterRef}
1211 F CFDateFormatterGetLocale {CFLocaleRef}{CFDateFormatterRef}
1212 F CFDateFormatterGetTimeStyle {CFDateFormatterStyle}{CFDateFormatterRef}
1213
1214 F CFDateFormatterGetTypeID {CFTypeID}
1215
1216 T CFDateFormatterRef @
1217 # CFDateFormatterRef ^r{__CFDateFormatter}
1218
1219 T CFDateFormatterStyle {CFIndex}
1220
1221 C kCFDateFormatterNoStyle 0
1222 C kCFDateFormatterShortStyle 1
1223 C kCFDateFormatterMediumStyle 2
1224 C kCFDateFormatterLongStyle 3
1225 C kCFDateFormatterFullStyle 4
1226
1227 V kCFDateFormatterIsLenient @
1228 V kCFDateFormatterTimeZone @
1229 V kCFDateFormatterCalendarName @
1230 V kCFDateFormatterDefaultFormat @
1231
1232 V kCFDateFormatterTwoDigitStartDate @
1233 V kCFDateFormatterDefaultDate @
1234 V kCFDateFormatterCalendar @
1235 V kCFDateFormatterEraSymbols @
1236 V kCFDateFormatterMonthSymbols @
1237 V kCFDateFormatterShortMonthSymbols @
1238 V kCFDateFormatterWeekdaySymbols @
1239 V kCFDateFormatterShortWeekdaySymbols @
1240 V kCFDateFormatterAMSymbol @
1241 V kCFDateFormatterPMSymbol @
1242
1243 V kCFDateFormatterLongEraSymbols @
1244 V kCFDateFormatterVeryShortMonthSymbols @
1245 V kCFDateFormatterStandaloneMonthSymbols @
1246 V kCFDateFormatterShortStandaloneMonthSymbols @
1247 V kCFDateFormatterVeryShortStandaloneMonthSymbols @
1248 V kCFDateFormatterVeryShortWeekdaySymbols @
1249 V kCFDateFormatterStandaloneWeekdaySymbols @
1250 V kCFDateFormatterShortStandaloneWeekdaySymbols @
1251 V kCFDateFormatterVeryShortStandaloneWeekdaySymbols @
1252 V kCFDateFormatterQuarterSymbols @
1253 V kCFDateFormatterShortQuarterSymbols @
1254 V kCFDateFormatterStandaloneQuarterSymbols @
1255 V kCFDateFormatterShortStandaloneQuarterSymbols @
1256 V kCFDateFormatterGregorianStartDate @
1257
1258 V CFGregorianCalendar @
1259
1260 # CFLocale
1261
1262 F CFLocaleCopyCurrent {CFLocaleRef}
1263 F CFLocaleCreate {CFLocaleRef}{CFAllocatorRef}{CFStringRef}
1264 F CFLocaleCreateCopy {CFLocaleRef}{CFAllocatorRef}{CFLocaleRef}
1265 F CFLocaleGetSystem {CFLocaleRef}
1266
1267 F CFLocaleCopyAvailableLocaleIdentifiers {CFArrayRef}
1268
1269 F CFLocaleCopyISOCountryCodes {CFArrayRef}
1270 F CFLocaleCopyISOLanguageCodes {CFArrayRef}
1271 F CFLocaleCopyISOCurrencyCodes {CFArrayRef}
1272 F CFLocaleCopyCommonISOCurrencyCodes {CFArrayRef}
1273
1274 F CFLocaleCopyPreferredLanguages {CFArrayRef}
1275
1276 F CFLocaleCopyDisplayNameForPropertyValue {CFStringRef}{CFLocaleRef}{CFStringRef}{CFStringRef}
1277 F CFLocaleGetValue {CFTypeRef}{CFLocaleRef}{CFStringRef}
1278 F CFLocaleGetIdentifier {CFStringRef}{CFLocaleRef}
1279
1280 F CFLocaleCreateCanonicalLocaleIdentifierFromScriptManagerCodes {CFStringRef}{CFAllocatorRef}{LangCode}{RegionCode}
1281 F CFLocaleCreateCanonicalLanguageIdentifierFromString {CFStringRef}{CFAllocatorRef}{CFStringRef}
1282 F CFLocaleCreateCanonicalLocaleIdentifierFromString {CFStringRef}{CFAllocatorRef}{CFStringRef}
1283 F CFLocaleCreateComponentsFromLocaleIdentifier {CFDictionaryRef}{CFAllocatorRef}{CFStringRef}
1284 F CFLocaleCreateLocaleIdentifierFromComponents {CFStringRef}{CFAllocatorRef}{CFDictionaryRef}
1285
1286 F CFLocaleGetTypeID {CFTypeID}
1287
1288 F CFLocaleCreateLocaleIdentifierFromWindowsLocaleCode {CFStringRef}{CFAllocatorRef}{uint32_t}
1289 F CFLocaleGetLanguageCharacterDirection {CFLocaleLanguageDirection}{CFStringRef}
1290 F CFLocaleGetLanguageLineDirection {CFLocaleLanguageDirection}{CFStringRef}
1291 F CFLocaleGetWindowsLocaleCodeFromLocaleIdentifier {uint32_t}{CFStringRef}
1292
1293 T CFLocaleRef @
1294 # CFLocaleRef ^r{__CFLocale}
1295
1296 C kCFLocaleLanguageDirectionUnknown 0
1297 C kCFLocaleLanguageDirectionLeftToRight 1
1298 C kCFLocaleLanguageDirectionRightToLeft 2
1299 C kCFLocaleLanguageDirectionTopToBottom 3
1300 C kCFLocaleLanguageDirectionBottomToTop 4
1301
1302 T CFLocaleLanguageDirection {CFIndex}
1303
1304 V kCFLocaleMeasurementSystem @
1305 V kCFLocaleDecimalSeparator @
1306 V kCFLocaleGroupingSeparator @
1307 V kCFLocaleCurrencySymbol @
1308 V kCFLocaleCurrencyCode @
1309
1310 V kCFLocaleIdentifier @
1311 V kCFLocaleLanguageCode @
1312 V kCFLocaleCountryCode @
1313 V kCFLocaleScriptCode @
1314 V kCFLocaleVariantCode @
1315 V kCFLocaleExemplarCharacterSet @
1316 V kCFLocaleCalendarIdentifier @
1317 V kCFLocaleCalendar @
1318 V kCFLocaleCollationIdentifier @
1319 V kCFLocaleUsesMetricSystem @
1320
1321 V kCFGregorianCalendar @
1322 V kCFBuddhistCalendar @
1323 V kCFChineseCalendar @
1324 V kCFHebrewCalendar @
1325 V kCFIslamicCalendar @
1326 V kCFIslamicCivilCalendar @
1327 V kCFJapaneseCalendar @
1328 V kCFRepublicOfChinaCalendar @
1329 V kCFPersianCalendar @
1330 V kCFIndianCalendar @
1331 V kCFISO8601Calendar @
1332
1333 V kCFLocaleCurrentLocaleDidChangeNotificatio @
1334
1335 # CFRunLoop
1336
1337 F CFRunLoopGetCurrent {CFRunLoopRef}
1338 F CFRunLoopGetMain {CFRunLoopRef}
1339
1340 F CFRunLoopRun v
1341 F CFRunLoopRunInMode {SInt32}{CFStringRef}{CFTimeInterval}{Boolean}
1342 F CFRunLoopWakeUp v{CFRunLoopRef}
1343 F CFRunLoopStop v{CFRunLoopRef}
1344 F CFRunLoopIsWaiting {Boolean}{CFRunLoopRef}
1345
1346 F CFRunLoopAddSource v{CFRunLoopRef}{CFRunLoopSourceRef}{CFStringRef}
1347 F CFRunLoopContainsSource {Boolean}{CFRunLoopRef}{CFRunLoopSourceRef}{CFStringRef}
1348 F CFRunLoopRemoveSource v{CFRunLoopRef}{CFRunLoopSourceRef}{CFStringRef}
1349
1350 F CFRunLoopAddObserver v{CFRunLoopRef}{CFRunLoopObserverRef}{CFStringRef}
1351 F CFRunLoopContainsObserver {Boolean}{CFRunLoopRef}{CFRunLoopObserverRef}{CFStringRef}
1352 F CFRunLoopRemoveObserver v{CFRunLoopRef}{CFRunLoopObserverRef}{CFStringRef}
1353
1354 F CFRunLoopAddCommonMode v{CFRunLoopRef}{CFStringRef}
1355 F CFRunLoopCopyAllModes {CFArrayRef}{CFRunLoopRef}
1356 F CFRunLoopCopyCurrentMode {CFStringRef}{CFRunLoopRef}
1357
1358 F CFRunLoopAddTimer v{CFRunLoopRef}{CFRunLoopTimerRef}{CFStringRef}
1359 F CFRunLoopGetNextTimerFireDate {CFAbsoluteTime}{CFRunLoopRef}{CFStringRef}
1360 F CFRunLoopRemoveTimer v{CFRunLoopRef}{CFRunLoopTimerRef}{CFStringRef}
1361 F CFRunLoopContainsTimer {Boolean}{CFRunLoopRef}{CFRunLoopTimerRef}{CFStringRef}
1362
1363 # F CFRunLoopPerformBlock
1364
1365 F CFRunLoopGetTypeID {CFTypeID}
1366
1367 T CFRunLoopRef @
1368
1369 C kCFRunLoopRunFinished 1
1370 C kCFRunLoopRunStopped 2
1371 C kCFRunLoopRunTimedOut 3
1372 C kCFRunLoopRunHandledSource 4
1373
1374 V kCFRunLoopCommonModes {CFStringRef}
1375 V kCFRunLoopDefaultMode {CFStringRef}
1376
1377 # CFRunLoopTimer
1378
1379 T CFRunLoopTimerRef @
1380
1381 # CFString
1382
1383 T CFStringRef @
1384
1385 # CFTimeZone
1386
1387 F CFTimeZoneCreateWithName {CFTimeZoneRef}{CFAllocatorRef}{CFStringRef}{Boolean}
1388 F CFTimeZoneCreateWithTimeIntervalFromGMT {CFTimeZoneRef}{CFAllocatorRef}{CFTimeInterval}
1389 F CFTimeZoneCreate {CFTimeZoneRef}{CFAllocatorRef}{CFStringRef}{CFDataRef}
1390
1391 F CFTimeZoneCopyAbbreviationDictionary {CFDictionaryRef}
1392 F CFTimeZoneCopyAbbreviation {CFStringRef}{CFTimeZoneRef}{CFAbsoluteTime}
1393 F CFTimeZoneCopyDefault {CFTimeZoneRef}
1394 F CFTimeZoneCopySystem {CFTimeZoneRef}
1395 F CFTimeZoneSetDefault v{CFTimeZoneRef}
1396 F CFTimeZoneCopyKnownNames {CFArrayRef}
1397 F CFTimeZoneResetSystem v
1398 F CFTimeZoneSetAbbreviationDictionary v{CFDictionaryRef}
1399
1400 F CFTimeZoneGetName {CFStringRef}{CFTimeZoneRef}
1401 F CFTimeZoneCopyLocalizedName {CFStringRef}{CFTimeZoneRef}{CFTimeZoneNameStyle}{CFLocaleRef}
1402 F CFTimeZoneGetSecondsFromGMT {CFTimeInterval}{CFTimeZoneRef}{CFAbsoluteTime}
1403 F CFTimeZoneGetData {CFDataRef}{CFTimeZoneRef}
1404
1405 F CFTimeZoneIsDaylightSavingTime {Boolean}{CFTimeZoneRef}{CFAbsoluteTime}
1406 F CFTimeZoneGetDaylightSavingTimeOffset {CFTimeInterval}{CFTimeZoneRef}{CFAbsoluteTime}
1407 F CFTimeZoneGetNextDaylightSavingTimeTransition {CFAbsoluteTime}{CFTimeZoneRef}{CFAbsoluteTime}
1408
1409 F CFTimeZoneGetTypeID {CFTypeID}
1410
1411 T CFTimeZoneNameStyle {CFIndex}
1412 T CFTimeZoneRef @
1413 # CFTimeZoneRef ^r{__CFTimeZoneRef}
1414
1415 V kCFTimeZoneSystemTimeZoneDidChangeNotification {CFStringRef}
1416
1417 C kCFTimeZoneNameStyleStandard 0
1418 C kCFTimeZoneNameStyleShortStandard 1
1419 C kCFTimeZoneNameStyleDaylightSaving 2
1420 C kCFTimeZoneNameStyleShortDaylightSaving 3
1421
1422 # CFType
1423
1424 F CFGetAllocator {CFAllocatorRef}{CFTypeRef}
1425 F CFGetRetainCount {CFIndex}{CFTypeRef}
1426 F CFMakeCollectable {CFTypeRef}{CFTypeRef}
1427 F CFRelease v{CFTypeRef}
1428 F CFRetain {CFTypeRef}{CFTypeRef}
1429
1430 F CFEqual
1431
1432 F CFHash {CFHashCode}{CFTypeRef}
1433
1434 F CFGetTypeID {CFTypeID}{CFTypeRef}
1435 F CFShow v{CFTypeRef}
1436
1437 T CFHashCode L
1438 T CFTypeID L
1439
1440 T CFTypeRef @
1441 # CFTypeRef ^rv
1442
1443 # Private
1444
1445 F CFShowStr v@
1446
1447 f CoreGraphics
1448
1449 T CGFloat F
1450
1451 # CGAffineTransform
1452
1453 F CGAffineTransformMake {CGAffineTransform}{CGFloat}{CGFloat}{CGFloat}{CGFloat}{CGFloat}{CGFloat}
1454 F CGAffineTransformMakeRotation {CGAffineTransform}{CGFloat}
1455 F CGAffineTransformMakeScale {CGAffineTransform}{CGFloat}{CGFloat}
1456 F CGAffineTransformMakeTranslation {CGAffineTransform}{CGFloat}{CGFloat}
1457
1458 F CGAffineTransformTranslate {CGAffineTransform}{CGAffineTransform}{CGFloat}{CGFloat}
1459 F CGAffineTransformScale {CGAffineTransform}{CGAffineTransform}{CGFloat}{CGFloat}
1460 F CGAffineTransformRotate {CGAffineTransform}{CGAffineTransform}{CGFloat}
1461 F CGAffineTransformInvert {CGAffineTransform}{CGAffineTransform}
1462 F CGAffineTransformConcat {CGAffineTransform}{CGAffineTransform}{CGAffineTransform}
1463
1464 F CGPointApplyAffineTransform {CGPoint}{CGPoint}{CGAffineTransform}
1465 F CGSizeApplyAffineTransform {CGSize}{CGSize}{CGAffineTransform}
1466 F CGRectApplyAffineTransform {CGRect}{CGRect}{CGAffineTransform}
1467
1468 F CGAffineTransformIsIdentity B{CGAffineTransform}
1469 F CGAffineTransformEqualToTransform B{CGAffineTransform}{CGAffineTransform}
1470
1471 S CGAffineTransform "a"{CGFloat}"b"{CGFloat}"c"{CGFloat}"d"{CGFloat}"tx"{CGFloat}"ty"{CGFloat}
1472
1473 V CGAffineTransformIdentity {CGAffineTransform}
1474
1475 # CGContext
1476
1477 T CGContextRef ^{CGContext}
1478
1479 E CGBlendMode
1480 C kCGBlendModeNormal 0
1481 C kCGBlendModeMultiply 1
1482 C kCGBlendModeScreen 2
1483 C kCGBlendModeOverlay 3
1484 C kCGBlendModeDarken 4
1485 C kCGBlendModeLighten 5
1486 C kCGBlendModeColorDodge 6
1487 C kCGBlendModeColorBurn 7
1488 C kCGBlendModeSoftLight 8
1489 C kCGBlendModeHardLight 9
1490 C kCGBlendModeDifference 10
1491 C kCGBlendModeExclusion 11
1492 C kCGBlendModeHue 12
1493 C kCGBlendModeSaturation 13
1494 C kCGBlendModeColor 14
1495 C kCGBlendModeLuminosity 15
1496 C kCGBlendModeClear 16
1497 C kCGBlendModeCopy 17
1498 C kCGBlendModeSourceIn 18
1499 C kCGBlendModeSourceOut 19
1500 C kCGBlendModeSourceAtop 20
1501 C kCGBlendModeDestinationOver 21
1502 C kCGBlendModeDestinationIn 22
1503 C kCGBlendModeDestinationOut 23
1504 C kCGBlendModeDestinationAtop 24
1505 C kCGBlendModeXOR 25
1506 C kCGBlendModePlusDarker 26
1507 C kCGBlendModePlusLighter 27
1508
1509 E CGInterpolationQuality
1510 C kCGInterpolationDefault 0
1511 C kCGInterpolationNone 1
1512 C kCGInterpolationLow 2
1513 C kCGInterpolationHigh 3
1514
1515 E CGLineCap
1516 C kCGLineCapButt 0
1517 C kCGLineCapRound 1
1518 C kCGLineCapSquare 2
1519
1520 E CGLineJoin
1521 C kCGLineJoinMiter 0
1522 C kCGLineJoinRound 1
1523 C kCGLineJoinBevel 2
1524
1525 E CGTextDrawingMode
1526 C kCGTextFill 0
1527 C kCGTextStroke 1
1528 C kCGTextFillStroke 2
1529 C kCGTextInvisible 3
1530 C kCGTextFillClip 4
1531 C kCGTextStrokeClip 5
1532 C kCGTextFillStrokeClip 6
1533 C kCGTextClip 7
1534
1535 E CGTextEncoding
1536 C kCGEncodingFontSpecific 0
1537 C kCGEncodingMacRoman 1
1538
1539 f CoreLocation
1540
1541 T CLLocationDegrees d
1542
1543 S CLLocationCoordinate2D "latitude"{CLLocationDegrees}"longitude"{CLLocationDegrees}
1544
1545 T CLLocationAccuracy d
1546
1547 V kCLLocationAccuracyBest d
1548 V kCLLocationAccuracyNearestTenMeters d
1549 V kCLLocationAccuracyHundredMeters d
1550 V kCLLocationAccuracyKilometer d
1551 V kCLLocationAccuracyThreeKilometers d
1552
1553 T CLLocationSpeed d
1554 T CLLocationDirection d
1555
1556 V kCLDistanceFilterNone d
1557 V kCLHeadingFilterNone d
1558
1559 C kCLErrorLocationUnknown 0
1560 C kCLErrorDenied 1
1561 C kCLErrorNetwork 2
1562 C kCLErrorHeadingFailure 3
1563
1564 V kCLErrorDomain @
1565
1566 f CoreTelephony
1567
1568 # most of this is garbage
1569
1570 T CTCallRef @
1571
1572 # CTCallAddressBlocked
1573 # CTCallAnswer
1574 # CTCallAnswerEndingActive
1575 # CTCallAnswerEndingAllOthers
1576 # CTCallAnswerEndingHeld
1577 # CTCallAnswerWithSourceIdentifier
1578 F CTCallCopyAddress {CFStringRef}{CFAllocatorRef}{CTCallRef}
1579 # CTCallCopyAllCallsSince
1580 # CTCallCopyAllIncomingCallsSince
1581 F CTCallCopyAllMissedCallsAfterRowID {CFArrayRef}{CFAllocatorRef}l
1582 F CTCallCopyAllMissedCallsSince {CFArrayRef}{CFAllocatorRef}{CFDateRef}
1583 # CTCallCopyAllOutgoingCallsSince
1584 # CTCallCopyName
1585 # CTCallCopyUUID
1586 # CTCallDeleteAllCallsBeforeDate
1587 # CTCallDial
1588 # CTCallDialEmergency
1589 # CTCallDialEmergencyWithSourceIdentifier
1590 # CTCallDialVoicemail
1591 # CTCallDialVoicemailWithSourceIdentifier
1592 # CTCallDialWithID
1593 # CTCallDialWithIDAndSourceIdentifier
1594 # CTCallDialWithSourceIdentifier
1595 # CTCallDisconnect
1596 # CTCallGetCauseCode
1597 # CTCallGetDuration
1598 # CTCallGetEmergencyStatus
1599 F CTCallGetGetRowIDOfLastInsert i
1600 F CTCallGetID l{CTCallRef}
1601 # CTCallGetMultiPartyCallCountMax
1602 F CTCallGetStartTime B{CTCallRef}^d
1603 # CTCallGetStatus
1604 F CTCallGetTypeID {CFTypeID}
1605 # CTCallHistoryInvalidateCaches
1606 # CTCallHold
1607 # CTCallIsAlerting
1608 # CTCallIsConferenced
1609 # CTCallIsOutgoing
1610 # CTCallIsToVoicemail
1611 # CTCallIsWaiting
1612 # CTCallJoinConference
1613 # CTCallLeaveConference
1614 # CTCallListDisconnect
1615 # CTCallListDisconnectAll
1616 # CTCallResume
1617 # CTCallTimersGetAll
1618 # CTCallTimersGetIncoming
1619 # CTCallTimersGetLast
1620 # CTCallTimersGetLastResetTime
1621 # CTCallTimersGetLifetime
1622 # CTCallTimersGetOutgoing
1623 # CTCallTimersReset
1624
1625 f Foundation
1626
1627 T NSAppleEventManagerSuspensionID ^r{__NSAppleEventManagerSuspension}
1628
1629 E _NSByteOrder
1630 C NS_UnknownByteOrder CFByteOrderUnknown
1631 C NS_LittleEndian CFByteOrderLittleEndian
1632 C NS_BigEndian CFByteOrderBigEndian
1633
1634 # NSComparator
1635
1636 C NSOrderedAscending -1
1637 C NSOrderedSame 0
1638 C NSOrderedDescending 1
1639 T NSComparisonResult {NSInteger}
1640
1641 # NSDecimal
1642
1643 T NSEnumerationOptions {NSUInteger}
1644 # NSHashEnumerator
1645 T NSHashTable {_NSHashTable}
1646 # NSHashTableCallBacks
1647
1648 T NSHashTableOptions {NSUInteger}
1649 T NSInteger l
1650
1651 # NSMapEnumerator
1652
1653 T NSMapTable {_NSMapTable}
1654 # NSMapTableKeyCallBacks
1655
1656 T NSMapTableOptions {NSUInteger}
1657 # NSMapTableValueCallBacks
1658
1659 S _NSPoint "x"{CGFloat}"y"{CGFloat}
1660 T NSPoint {_NSPoint}
1661 T NSPointArray ^{NSPoint}
1662 T NSPointPointer ^{NSPoint}
1663
1664 S _NSRange "location"{NSUInteger}"length"{NSUInteger}
1665 T NSRange {_NSRange}
1666 T NSRangePointer ^{NSRange}
1667
1668 S _NSRect "origin"{NSPoint}"size"{NSSize}
1669 T NSRectArray ^{NSRect}
1670
1671 C NSMinXEdge 0
1672 C NSMinYEdge 1
1673 C NSMaxXEdge 2
1674 C NSMaxYEdge 3
1675
1676 T NSRectPointer ^{NSRect}
1677
1678 C NSApplicationDirectory 1
1679 C NSDemoApplicationDirectory 2
1680 C NSDeveloperApplicationDirectory 3
1681 C NSAdminApplicationDirectory 4
1682 C NSLibraryDirectory 5
1683 C NSDeveloperDirectory 6
1684 C NSUserDirectory 7
1685 C NSDocumentationDirectory 8
1686 C NSDocumentDirectory 9
1687 C NSCoreServiceDirectory 10
1688 C NSAutosavedInformationDirectory 11
1689 C NSDesktopDirectory 12
1690 C NSCachesDirectory 13
1691 C NSApplicationSupportDirectory 14
1692 C NSDownloadsDirectory 15
1693 C NSInputMethodsDirectory 16
1694 C NSMoviesDirectory 17
1695 C NSMusicDirectory 18
1696 C NSPicturesDirectory 19
1697 C NSPrinterDescriptionDirectory 20
1698 C NSSharedPublicDirectory 21
1699 C NSPreferencePanesDirectory 22
1700 C NSItemReplacementDirectory 99
1701 C NSAllApplicationsDirectory 100
1702 C NSAllLibrariesDirectory 101
1703 T NSSearchPathDirectory {NSUInteger}
1704
1705 C NSUserDomainMask 1
1706 C NSLocalDomainMask 2
1707 C NSNetworkDomainMask 4
1708 C NSSystemDomainMask 8
1709 C NSAllDomainsMask 0x0ffff
1710 T NSSearchPathDomainMask {NSUInteger}
1711
1712 S _NSSize "width"{CGFloat}"height"{CGFloat}
1713 T NSSize {_NSSize}
1714
1715 T NSSizePointer ^{NSSize}
1716 T NSSocketNativeHandle i
1717 T NSStringEncoding {NSUInteger}
1718 S NSSwappedDouble "v"Q
1719 S NSSwappedFloat "v"L
1720 T NSTimeInterval d
1721 # NSUncaughtExceptionHandler
1722 T NSUInteger L
1723 T NSZone {_NSZone}
1724
1725 f MapKit
1726
1727 C MKMapTypeStandard 0
1728 C MKMapTypeSatellite 1
1729 C MKMapTypeHybrid 2
1730
1731 V MKErrorDomain @
1732
1733 C MKErrorUnknown 1
1734 C MKErrorServerFailure 2
1735 C MKErrorLoadingThrottled 3
1736 C MKErrorPlacemarkNotFound 4
1737
1738 C MKPinAnnotationColorRed 0
1739 C MKPinAnnotationColorGreen 1
1740 C MKPinAnnotationColorPurple 2
1741
1742 # MKCoordinateRegionMake
1743 F MKCoordinateRegionMakeWithDistance {MKCoordinateRegion}{CLLocationCoordinate2D}{CLLocationDistance}{CLLocationDistance}
1744 # MKCoordinateSpanMake
1745
1746 f MobileWiFi
1747
1748 #F WiFiManagerClientAddNetwork
1749 #F WiFiManagerClientCopyDevices
1750 #F WiFiManagerClientCopyNetworks
1751 #F WiFiManagerClientCopyProperty
1752 #F WiFiManagerClientCreate
1753 #F WiFiManagerClientDisable
1754 #F WiFiManagerClientDisableNetwork
1755 #F WiFiManagerClientDispatchNotificationResponse
1756 #F WiFiManagerClientEnable
1757 #F WiFiManagerClientEnableNetwork
1758 #F WiFiManagerClientGetAssociationMode
1759 #F WiFiManagerClientGetDevice
1760 #F WiFiManagerClientGetType
1761 #F WiFiManagerClientGetTypeID
1762 #F WiFiManagerClientIsNetworkEnabled
1763 #F WiFiManagerClientRegisterNotificationCallback
1764 #F WiFiManagerClientRemoveNetwork
1765 #F WiFiManagerClientScheduleWithRunLoop
1766 #F WiFiManagerClientSetAssociationMode
1767 #F WiFiManagerClientSetPower
1768 #F WiFiManagerClientSetProperty
1769 #F WiFiManagerClientSetType
1770 #F WiFiManagerClientUnscheduleFromRunLoop
1771 #F WiFiManagerClientUpdateNetwork
1772
1773 F WiFiNetworkComparePriority B@@
1774 #F WiFiNetworkCopyFilteredRecord
1775 F WiFiNetworkCopyPassword @@
1776 #F WiFiNetworkCopyPreparedEAPProfile
1777 #F WiFiNetworkCopyRecord
1778 #F WiFiNetworkCreate
1779 #F WiFiNetworkCreateCopy
1780 F WiFiNetworkGetAssociationDate @@
1781 #F WiFiNetworkGetAuthFlags
1782 #F WiFiNetworkGetDirectedState
1783 #F WiFiNetworkGetFloatProperty
1784 #F WiFiNetworkGetIntProperty
1785 #F WiFiNetworkGetProperty
1786 #F WiFiNetworkGetRateBounds
1787 F WiFiNetworkGetSSID @@
1788 F WiFiNetworkGetSSIDData @@
1789 F WiFiNetworkGetTypeID {CFTypeID}
1790 F WiFiNetworkIsEAP B@
1791 F WiFiNetworkIsEnabled B@
1792 F WiFiNetworkIsHidden B@
1793 F WiFiNetworkIsHiddenSSID B@
1794 F WiFiNetworkIsWEP B@
1795 F WiFiNetworkIsWPA B@
1796 #F WiFiNetworkMerge
1797 #F WiFiNetworkMergeForAssociation
1798 #F WiFiNetworkMergeProperties
1799 F WiFiNetworkRemovePassword v@
1800 F WiFiNetworkRequiresIdentity B@
1801 F WiFiNetworkRequiresOneTimePassword B@
1802 F WiFiNetworkRequiresPassword B@
1803 F WiFiNetworkRequiresUsername B@
1804 F WiFiNetworkSetAssociationDate v@@
1805 #F WiFiNetworkSetDirectedState
1806 #F WiFiNetworkSetFloatProperty
1807 #F WiFiNetworkSetIntProperty
1808 F WiFiNetworkSetPassword v@@
1809 #F WiFiNetworkSetProperty
1810
1811 C RTLD_LAZY 0x1
1812 C RTLD_NOW 0x2
1813 C RTLD_LOCAL 0x4
1814 C RTLD_GLOBAL 0x8
1815
1816 C RTLD_NOLOAD 0x10
1817 C RTLD_NODELETE 0x80
1818 C RTLD_FIRST 0x100
1819
1820 C RTLD_NEXT -1
1821 C RTLD_DEFAULT -2
1822 C RTLD_SELF -3
1823
1824 S dl_info "dli_fname"*"dli_fbase"^v"dli_sname"*"dli_saddr"^v
1825 T Dl_info {dl_info}
1826
1827 F dladdr i^rv^{dl_info}
1828 F dlclose i^v
1829 F dlerror *
1830 F dlopen ^v*i
1831 F dlsym ^v^v*
1832 F dlopen_preflight B*