X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/2385c806df15d62fc4ec2cac7913a975e3bafa13..975cde38d8631f5e80bb54b3fbd87ce7d4aa2766:/Bridge.def diff --git a/Bridge.def b/Bridge.def index 8030f8f..0071f38 100644 --- a/Bridge.def +++ b/Bridge.def @@ -1,6 +1,5 @@ C YES true C NO false -C nil null C NULL null : applicationDidFinishLaunching: v12@0:4@8 @@ -10,10 +9,13 @@ T id @ T short s T int i T long l +T longlong q +T byte C +T ushort S T uint I T ulong L -T ushort S +T ulonglong Q T char c T boolean B @@ -21,7 +23,24 @@ T float f T double d T Boolean B -T SInt32 {int} + +T int8_t {char} +T uint8_t {byte} +T int16_t {short} +T uint16_t {ushort} +T int32_t {int} +T uint32_t {uint} +T int64_t {longlong} +T uint64_t {ulonglong} + +T SInt8 {int8_t} +T UInt8 {uint8_t} +T SInt16 {int16_t} +T UInt16 {uint16_t} +T SInt32 {int32_t} +T UInt32 {uint32_t} +T SInt64 {int64_t} +T UInt64 {uint64_t} S CGPoint "x"f"y"f S CGRect "origin"{CGPoint}"size"{CGSize} @@ -111,7 +130,7 @@ F property_getName *^{objc_property=} F protocol_conformsToProtocol B@@ F protocol_copyMethodDescriptionList ^{objc_method_description=:*}@BB^I -F protocol_copyPropertyList ^{objc_property=}@^I +F protocol_copyPropertyList ^^{objc_property=}@^I F protocol_copyProtocolList ^@@^I F protocol_getMethodDescription {objc_method_description=:*}@:BB F protocol_getName *@ @@ -198,7 +217,7 @@ C UITableViewRowAnimationFade 0 C UITableViewRowAnimationRight 1 C UITableViewRowAnimationLeft 2 C UITableViewRowAnimationTop 3 -C UITableViewRowAnimationTop 4 +C UITableViewRowAnimationBottom 4 C UITableViewRowAnimationNone 5 V UITableViewIndexSearch @ @@ -417,11 +436,6 @@ V kUIButtonBarButtonTitleVerticalHeight @ V kUIButtonBarButtonTitleWidth @ V kUIButtonBarButtonType @ -V UIKeyboardAnimationCurveUserInfoKey @ -V UIKeyboardAnimationDurationUserInfoKey @ -V UIKeyboardBoundsUserInfoKey @ -V UIKeyboardCenterBeginUserInfoKey @ -V UIKeyboardCenterEndUserInfoKey @ V UIKeyboardRequiresInternationalKey @ V UIKeyboardCandidateCorrectionDidChangeNotification @ @@ -441,6 +455,17 @@ V UIWebViewScalesToFitScale f f AddressBook +# Private + +F CPPhoneNumberCopyNetworkCountryCode @ +F ABCGetSharedAddressBook @ +F ABCFindPersonMatchingPhoneNumberWithCountry @@@@^i^i +F ABCRecordCopyCompositeName @@ +F ABCFindPersonMatchingPhoneNumber @@@^i^i +F ABCCopyLocalizedPropertyOrLabel @i + +# Public + F ABAddressBookAddRecord B@@^@ F ABAddressBookCopyArrayOfAllGroups @@ F ABAddressBookCopyArrayOfAllPeople @@ @@ -603,6 +628,16 @@ V kABWorkLabel @ V kABHomeLabel @ V kABOtherLabel @ +f Calendar + +F CalDatabaseCopyEventOccurrencesInDateRange {CFArrayRef}^{CalDatabase}^{CalFilter}{CFGregorianDate}{CFGregorianDate}{CFTimeZoneRef} +F CalFilterCreateWithDatabase ^{CalFilter}^{CalDatabase} + +F CalEventOccurrenceGetEvent @@ +F CalEventCopySummary @@ +F CalEventIsAllDay B@ +F CalEventOccurrenceGetDate I@ + f CoreAnimation 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} @@ -651,7 +686,7 @@ V NSMigrationSourceObjectKey @ V NSMigrationDestinationObjectKey @ V NSMigrationEntityMappingKey @ V NSMigrationPropertyMappingKey @ -V NSMigrationPropertyMappingKey @ +V NSMigrationEntityPolicyKey @ C NSManagedObjectResultType 0x00 C NSManagedObjectIDResultType 0x01 @@ -783,7 +818,15 @@ F CFRangeMake {CFRange}{CFIndex}{CFIndex} # Time Utilities +F CFAbsoluteTimeAddGregorianUnits {CFAbsoluteTime}{CFAbsoluteTime}{CFTimeZoneRef}{CFGregorianUnits} F CFAbsoluteTimeGetCurrent {CFAbsoluteTime} +F CFAbsoluteTimeGetDayOfWeek {SInt32}{CFAbsoluteTime}{CFTimeZoneRef} +F CFAbsoluteTimeGetDayOfYear {SInt32}{CFAbsoluteTime}{CFTimeZoneRef} +F CFAbsoluteTimeGetDifferenceAsGregorianUnits {CFGregorianUnits}{CFAbsoluteTime}{CFAbsoluteTime}{CFTimeZoneRef}{CFOptionFlags} +F CFAbsoluteTimeGetGregorianDate {CFGregorianDate}{CFAbsoluteTime}{CFTimeZoneRef} +F CFAbsoluteTimeGetWeekOfYear {SInt32}{CFAbsoluteTime}{CFTimeZoneRef} +F CFGregorianDateGetAbsoluteTime {CFAbsoluteTime}{CFGregorianDate}{CFTimeZoneRef} +F CFGregorianDateIsValid {Boolean}{CFGregorianDate}{CFOptionFlags} T CFAbsoluteTime {CFTimeInterval} S CFGregorianDate "year"{SInt32}"month"{SInt8}"day"{SInt8}"hour"{SInt8}"minute"{SInt8}"second"{double} @@ -1132,6 +1175,43 @@ T CFRunLoopTimerRef @ T CFStringRef @ +# CFTimeZone + +F CFTimeZoneCreateWithName {CFTimeZoneRef}{CFAllocatorRef}{CFStringRef}{Boolean} +F CFTimeZoneCreateWithTimeIntervalFromGMT {CFTimeZoneRef}{CFAllocatorRef}{CFTimeInterval} +F CFTimeZoneCreate {CFTimeZoneRef}{CFAllocatorRef}{CFStringRef}{CFDataRef} + +F CFTimeZoneCopyAbbreviationDictionary {CFDictionaryRef} +F CFTimeZoneCopyAbbreviation {CFStringRef}{CFTimeZoneRef}{CFAbsoluteTime} +F CFTimeZoneCopyDefault {CFTimeZoneRef} +F CFTimeZoneCopySystem {CFTimeZoneRef} +F CFTimeZoneSetDefault v{CFTimeZoneRef} +F CFTimeZoneCopyKnownNames {CFArrayRef} +F CFTimeZoneResetSystem v +F CFTimeZoneSetAbbreviationDictionary v{CFDictionaryRef} + +F CFTimeZoneGetName {CFStringRef}{CFTimeZoneRef} +F CFTimeZoneCopyLocalizedName {CFStringRef}{CFTimeZoneRef}{CFTimeZoneNameStyle}{CFLocaleRef} +F CFTimeZoneGetSecondsFromGMT {CFTimeInterval}{CFTimeZoneRef}{CFAbsoluteTime} +F CFTimeZoneGetData {CFDataRef}{CFTimeZoneRef} + +F CFTimeZoneIsDaylightSavingTime {Boolean}{CFTimeZoneRef}{CFAbsoluteTime} +F CFTimeZoneGetDaylightSavingTimeOffset {CFTimeInterval}{CFTimeZoneRef}{CFAbsoluteTime} +F CFTimeZoneGetNextDaylightSavingTimeTransition {CFAbsoluteTime}{CFTimeZoneRef}{CFAbsoluteTime} + +F CFTimeZoneGetTypeID {CFTypeID} + +T CFTimeZoneNameStyle {CFIndex} +T CFTimeZoneRef @ +# CFTimeZoneRef ^r{__CFTimeZoneRef} + +V kCFTimeZoneSystemTimeZoneDidChangeNotification {CFStringRef} + +C kCFTimeZoneNameStyleStandard 0 +C kCFTimeZoneNameStyleShortStandard 1 +C kCFTimeZoneNameStyleDaylightSaving 2 +C kCFTimeZoneNameStyleShortDaylightSaving 3 + # CFType F CFGetAllocator {CFAllocatorRef}{CFTypeRef} @@ -1276,6 +1356,65 @@ C kCLErrorHeadingFailure 3 V kCLErrorDomain @ +f CoreTelephony + +# most of this is garbage + +T CTCallRef @ + +# CTCallAddressBlocked +# CTCallAnswer +# CTCallAnswerEndingActive +# CTCallAnswerEndingAllOthers +# CTCallAnswerEndingHeld +# CTCallAnswerWithSourceIdentifier +F CTCallCopyAddress {CFStringRef}{CFAllocatorRef}{CTCallRef} +# CTCallCopyAllCallsSince +# CTCallCopyAllIncomingCallsSince +F CTCallCopyAllMissedCallsAfterRowID {CFArrayRef}{CFAllocatorRef}l +F CTCallCopyAllMissedCallsSince {CFArrayRef}{CFAllocatorRef}{CFDateRef} +# CTCallCopyAllOutgoingCallsSince +# CTCallCopyName +# CTCallCopyUUID +# CTCallDeleteAllCallsBeforeDate +# CTCallDial +# CTCallDialEmergency +# CTCallDialEmergencyWithSourceIdentifier +# CTCallDialVoicemail +# CTCallDialVoicemailWithSourceIdentifier +# CTCallDialWithID +# CTCallDialWithIDAndSourceIdentifier +# CTCallDialWithSourceIdentifier +# CTCallDisconnect +# CTCallGetCauseCode +# CTCallGetDuration +# CTCallGetEmergencyStatus +F CTCallGetGetRowIDOfLastInsert i +F CTCallGetID l{CTCallRef} +# CTCallGetMultiPartyCallCountMax +F CTCallGetStartTime B{CTCallRef}^d +# CTCallGetStatus +F CTCallGetTypeID {CFTypeID} +# CTCallHistoryInvalidateCaches +# CTCallHold +# CTCallIsAlerting +# CTCallIsConferenced +# CTCallIsOutgoing +# CTCallIsToVoicemail +# CTCallIsWaiting +# CTCallJoinConference +# CTCallLeaveConference +# CTCallListDisconnect +# CTCallListDisconnectAll +# CTCallResume +# CTCallTimersGetAll +# CTCallTimersGetIncoming +# CTCallTimersGetLast +# CTCallTimersGetLastResetTime +# CTCallTimersGetLifetime +# CTCallTimersGetOutgoing +# CTCallTimersReset + f Foundation T NSAppleEventManagerSuspensionID ^r{__NSAppleEventManagerSuspension} @@ -1310,6 +1449,7 @@ T NSMapTable {_NSMapTable} T NSMapTableOptions {NSUInteger} # NSMapTableValueCallBacks +S _NSPoint "x"{CGFloat}"y"{CGFloat} T NSPoint {_NSPoint} T NSPointArray ^{NSPoint} T NSPointPointer ^{NSPoint} @@ -1396,6 +1536,71 @@ C MKPinAnnotationColorPurple 2 F MKCoordinateRegionMakeWithDistance {MKCoordinateRegion}{CLLocationCoordinate2D}{CLLocationDistance}{CLLocationDistance} # MKCoordinateSpanMake +f MobileWiFi + +#F WiFiManagerClientAddNetwork +#F WiFiManagerClientCopyDevices +#F WiFiManagerClientCopyNetworks +#F WiFiManagerClientCopyProperty +#F WiFiManagerClientCreate +#F WiFiManagerClientDisable +#F WiFiManagerClientDisableNetwork +#F WiFiManagerClientDispatchNotificationResponse +#F WiFiManagerClientEnable +#F WiFiManagerClientEnableNetwork +#F WiFiManagerClientGetAssociationMode +#F WiFiManagerClientGetDevice +#F WiFiManagerClientGetType +#F WiFiManagerClientGetTypeID +#F WiFiManagerClientIsNetworkEnabled +#F WiFiManagerClientRegisterNotificationCallback +#F WiFiManagerClientRemoveNetwork +#F WiFiManagerClientScheduleWithRunLoop +#F WiFiManagerClientSetAssociationMode +#F WiFiManagerClientSetPower +#F WiFiManagerClientSetProperty +#F WiFiManagerClientSetType +#F WiFiManagerClientUnscheduleFromRunLoop +#F WiFiManagerClientUpdateNetwork + +F WiFiNetworkComparePriority B@@ +#F WiFiNetworkCopyFilteredRecord +F WiFiNetworkCopyPassword @@ +#F WiFiNetworkCopyPreparedEAPProfile +#F WiFiNetworkCopyRecord +#F WiFiNetworkCreate +#F WiFiNetworkCreateCopy +F WiFiNetworkGetAssociationDate @@ +#F WiFiNetworkGetAuthFlags +#F WiFiNetworkGetDirectedState +#F WiFiNetworkGetFloatProperty +#F WiFiNetworkGetIntProperty +#F WiFiNetworkGetProperty +#F WiFiNetworkGetRateBounds +F WiFiNetworkGetSSID @@ +F WiFiNetworkGetSSIDData @@ +F WiFiNetworkGetTypeID {CFTypeID} +F WiFiNetworkIsEAP B@ +F WiFiNetworkIsEnabled B@ +F WiFiNetworkIsHidden B@ +F WiFiNetworkIsHiddenSSID B@ +F WiFiNetworkIsWEP B@ +F WiFiNetworkIsWPA B@ +#F WiFiNetworkMerge +#F WiFiNetworkMergeForAssociation +#F WiFiNetworkMergeProperties +F WiFiNetworkRemovePassword v@ +F WiFiNetworkRequiresIdentity B@ +F WiFiNetworkRequiresOneTimePassword B@ +F WiFiNetworkRequiresPassword B@ +F WiFiNetworkRequiresUsername B@ +F WiFiNetworkSetAssociationDate v@@ +#F WiFiNetworkSetDirectedState +#F WiFiNetworkSetFloatProperty +#F WiFiNetworkSetIntProperty +F WiFiNetworkSetPassword v@@ +#F WiFiNetworkSetProperty + C RTLD_LAZY 0x1 C RTLD_NOW 0x2 C RTLD_LOCAL 0x4