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