pyobjc-framework-OpenDirectory 11.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,884 @@
1
+ # This file is generated by objective.metadata
2
+ #
3
+ # Last update: Fri Nov 15 12:08:25 2024
4
+ #
5
+ # flake8: noqa
6
+
7
+ import objc, sys
8
+ from typing import NewType
9
+
10
+ if sys.maxsize > 2**32:
11
+
12
+ def sel32or64(a, b):
13
+ return b
14
+
15
+ else:
16
+
17
+ def sel32or64(a, b):
18
+ return a
19
+
20
+
21
+ if objc.arch == "arm64":
22
+
23
+ def selAorI(a, b):
24
+ return a
25
+
26
+ else:
27
+
28
+ def selAorI(a, b):
29
+ return b
30
+
31
+
32
+ misc = {}
33
+ constants = """$kODAttributeTypeAccessControlEntry$kODAttributeTypeAddressLine1$kODAttributeTypeAddressLine2$kODAttributeTypeAddressLine3$kODAttributeTypeAdminLimits$kODAttributeTypeAdvertisedServices$kODAttributeTypeAlias$kODAttributeTypeAllAttributes$kODAttributeTypeAllTypes$kODAttributeTypeAltSecurityIdentities$kODAttributeTypeAreaCode$kODAttributeTypeAttrListRefCount$kODAttributeTypeAttrListRefs$kODAttributeTypeAttrListValueRefCount$kODAttributeTypeAttrListValueRefs$kODAttributeTypeAuthCredential$kODAttributeTypeAuthMethod$kODAttributeTypeAuthenticationAuthority$kODAttributeTypeAuthenticationHint$kODAttributeTypeAuthorityRevocationList$kODAttributeTypeAutomaticSearchPath$kODAttributeTypeAutomountInformation$kODAttributeTypeBirthday$kODAttributeTypeBootParams$kODAttributeTypeBuildVersion$kODAttributeTypeBuilding$kODAttributeTypeCACertificate$kODAttributeTypeCapacity$kODAttributeTypeCertificateRevocationList$kODAttributeTypeCity$kODAttributeTypeComment$kODAttributeTypeCompany$kODAttributeTypeComputers$kODAttributeTypeConfigAvailable$kODAttributeTypeConfigFile$kODAttributeTypeContactGUID$kODAttributeTypeContactPerson$kODAttributeTypeCopyTimestamp$kODAttributeTypeCoreFWVersion$kODAttributeTypeCountry$kODAttributeTypeCreationTimestamp$kODAttributeTypeCrossCertificatePair$kODAttributeTypeCustomSearchPath$kODAttributeTypeDNSDomain$kODAttributeTypeDNSName$kODAttributeTypeDNSNameServer$kODAttributeTypeDataStamp$kODAttributeTypeDateRecordCreated$kODAttributeTypeDepartment$kODAttributeTypeDirRefCount$kODAttributeTypeDirRefs$kODAttributeTypeEMailAddress$kODAttributeTypeEMailContacts$kODAttributeTypeENetAddress$kODAttributeTypeExpire$kODAttributeTypeFWVersion$kODAttributeTypeFaxNumber$kODAttributeTypeFirstName$kODAttributeTypeFullName$kODAttributeTypeFunctionalState$kODAttributeTypeGUID$kODAttributeTypeGroup$kODAttributeTypeGroupMembers$kODAttributeTypeGroupMembership$kODAttributeTypeGroupServices$kODAttributeTypeHTML$kODAttributeTypeHardwareUUID$kODAttributeTypeHomeDirectory$kODAttributeTypeHomeDirectoryQuota$kODAttributeTypeHomeDirectorySoftQuota$kODAttributeTypeHomeLocOwner$kODAttributeTypeHomePhoneNumber$kODAttributeTypeIMHandle$kODAttributeTypeIPAddress$kODAttributeTypeIPAddressAndENetAddress$kODAttributeTypeIPv6Address$kODAttributeTypeInternetAlias$kODAttributeTypeJPEGPhoto$kODAttributeTypeJobTitle$kODAttributeTypeKDCAuthKey$kODAttributeTypeKDCConfigData$kODAttributeTypeKerberosRealm$kODAttributeTypeKerberosServices$kODAttributeTypeKeywords$kODAttributeTypeLDAPReadReplicas$kODAttributeTypeLDAPSearchBaseSuffix$kODAttributeTypeLDAPWriteReplicas$kODAttributeTypeLastName$kODAttributeTypeLocalOnlySearchPath$kODAttributeTypeLocaleRelay$kODAttributeTypeLocaleSubnets$kODAttributeTypeLocation$kODAttributeTypeMCXFlags$kODAttributeTypeMCXSettings$kODAttributeTypeMIME$kODAttributeTypeMailAttribute$kODAttributeTypeMapCoordinates$kODAttributeTypeMapGUID$kODAttributeTypeMapURI$kODAttributeTypeMetaAmbiguousName$kODAttributeTypeMetaAugmentedAttributes$kODAttributeTypeMetaAutomountMap$kODAttributeTypeMetaNodeLocation$kODAttributeTypeMetaRecordName$kODAttributeTypeMiddleName$kODAttributeTypeMobileNumber$kODAttributeTypeModificationTimestamp$kODAttributeTypeNFSHomeDirectory$kODAttributeTypeNTDomainComputerAccount$kODAttributeTypeNamePrefix$kODAttributeTypeNameSuffix$kODAttributeTypeNativeOnly$kODAttributeTypeNestedGroups$kODAttributeTypeNetGroupTriplet$kODAttributeTypeNetGroups$kODAttributeTypeNetworkInterfaces$kODAttributeTypeNetworkNumber$kODAttributeTypeNickName$kODAttributeTypeNodeOptions$kODAttributeTypeNodePath$kODAttributeTypeNodeRefCount$kODAttributeTypeNodeRefs$kODAttributeTypeNodeSASLRealm$kODAttributeTypeNote$kODAttributeTypeNumTableList$kODAttributeTypeOperatingSystem$kODAttributeTypeOperatingSystemVersion$kODAttributeTypeOrganizationInfo$kODAttributeTypeOrganizationName$kODAttributeTypeOriginalHomeDirectory$kODAttributeTypeOriginalNFSHomeDirectory$kODAttributeTypeOriginalNodeName$kODAttributeTypeOwner$kODAttributeTypeOwnerGUID$kODAttributeTypePGPPublicKey$kODAttributeTypePIDValue$kODAttributeTypePagerNumber$kODAttributeTypeParentLocales$kODAttributeTypePassword$kODAttributeTypePasswordPlus$kODAttributeTypePasswordPolicyOptions$kODAttributeTypePasswordServerList$kODAttributeTypePasswordServerLocation$kODAttributeTypePhoneContacts$kODAttributeTypePhoneNumber$kODAttributeTypePicture$kODAttributeTypePlugInInfo$kODAttributeTypePluginIndex$kODAttributeTypePort$kODAttributeTypePostalAddress$kODAttributeTypePostalAddressContacts$kODAttributeTypePostalCode$kODAttributeTypePresetUserIsAdmin$kODAttributeTypePrimaryComputerGUID$kODAttributeTypePrimaryComputerList$kODAttributeTypePrimaryGroupID$kODAttributeTypePrimaryLocale$kODAttributeTypePrimaryNTDomain$kODAttributeTypePrintServiceInfoText$kODAttributeTypePrintServiceInfoXML$kODAttributeTypePrintServiceUserData$kODAttributeTypePrinter1284DeviceID$kODAttributeTypePrinterLPRHost$kODAttributeTypePrinterLPRQueue$kODAttributeTypePrinterMakeAndModel$kODAttributeTypePrinterType$kODAttributeTypePrinterURI$kODAttributeTypePrinterXRISupported$kODAttributeTypeProcessName$kODAttributeTypeProfiles$kODAttributeTypeProfilesTimestamp$kODAttributeTypeProtocolNumber$kODAttributeTypeProtocols$kODAttributeTypePwdAgingPolicy$kODAttributeTypeRPCNumber$kODAttributeTypeReadOnlyNode$kODAttributeTypeRealUserID$kODAttributeTypeRecRefCount$kODAttributeTypeRecRefs$kODAttributeTypeRecordName$kODAttributeTypeRecordType$kODAttributeTypeRelationships$kODAttributeTypeRelativeDNPrefix$kODAttributeTypeResourceInfo$kODAttributeTypeResourceType$kODAttributeTypeSMBAcctFlags$kODAttributeTypeSMBGroupRID$kODAttributeTypeSMBHome$kODAttributeTypeSMBHomeDrive$kODAttributeTypeSMBKickoffTime$kODAttributeTypeSMBLogoffTime$kODAttributeTypeSMBLogonTime$kODAttributeTypeSMBPWDLastSet$kODAttributeTypeSMBPrimaryGroupSID$kODAttributeTypeSMBProfilePath$kODAttributeTypeSMBRID$kODAttributeTypeSMBSID$kODAttributeTypeSMBScriptPath$kODAttributeTypeSMBUserWorkstations$kODAttributeTypeSchema$kODAttributeTypeSearchPath$kODAttributeTypeSearchPolicy$kODAttributeTypeServiceType$kODAttributeTypeServicesLocator$kODAttributeTypeSetupAdvertising$kODAttributeTypeSetupAutoRegister$kODAttributeTypeSetupLocation$kODAttributeTypeSetupOccupation$kODAttributeTypeStandardOnly$kODAttributeTypeState$kODAttributeTypeStreet$kODAttributeTypeSubNodes$kODAttributeTypeTimePackage$kODAttributeTypeTimeToLive$kODAttributeTypeTotalRefCount$kODAttributeTypeTotalSize$kODAttributeTypeTrustInformation$kODAttributeTypeURL$kODAttributeTypeUniqueID$kODAttributeTypeUserCertificate$kODAttributeTypeUserPKCS12Data$kODAttributeTypeUserSMIMECertificate$kODAttributeTypeUserShell$kODAttributeTypeVFSDumpFreq$kODAttributeTypeVFSLinkDir$kODAttributeTypeVFSOpts$kODAttributeTypeVFSPassNo$kODAttributeTypeVFSType$kODAttributeTypeVersion$kODAttributeTypeWeblogURI$kODAttributeTypeXMLPlist$kODAuthenticationType2WayRandom$kODAuthenticationType2WayRandomChangePasswd$kODAuthenticationTypeAPOP$kODAuthenticationTypeCRAM_MD5$kODAuthenticationTypeChangePasswd$kODAuthenticationTypeClearText$kODAuthenticationTypeClearTextReadOnly$kODAuthenticationTypeCrypt$kODAuthenticationTypeDIGEST_MD5$kODAuthenticationTypeDeleteUser$kODAuthenticationTypeGetEffectivePolicy$kODAuthenticationTypeGetGlobalPolicy$kODAuthenticationTypeGetKerberosPrincipal$kODAuthenticationTypeGetPolicy$kODAuthenticationTypeGetUserData$kODAuthenticationTypeGetUserName$kODAuthenticationTypeKerberosTickets$kODAuthenticationTypeMPPEMasterKeys$kODAuthenticationTypeMPPEPrimaryKeys$kODAuthenticationTypeMSCHAP2$kODAuthenticationTypeNTLMv2$kODAuthenticationTypeNTLMv2WithSessionKey$kODAuthenticationTypeNewUser$kODAuthenticationTypeNewUserWithPolicy$kODAuthenticationTypeNodeNativeClearTextOK$kODAuthenticationTypeNodeNativeNoClearText$kODAuthenticationTypeReadSecureHash$kODAuthenticationTypeSMBNTv2UserSessionKey$kODAuthenticationTypeSMBWorkstationCredentialSessionKey$kODAuthenticationTypeSMB_LM_Key$kODAuthenticationTypeSMB_NT_Key$kODAuthenticationTypeSMB_NT_UserSessionKey$kODAuthenticationTypeSMB_NT_WithUserSessionKey$kODAuthenticationTypeSecureHash$kODAuthenticationTypeSetCertificateHashAsCurrent$kODAuthenticationTypeSetGlobalPolicy$kODAuthenticationTypeSetLMHash$kODAuthenticationTypeSetNTHash$kODAuthenticationTypeSetPassword$kODAuthenticationTypeSetPasswordAsCurrent$kODAuthenticationTypeSetPolicy$kODAuthenticationTypeSetPolicyAsCurrent$kODAuthenticationTypeSetUserData$kODAuthenticationTypeSetUserName$kODAuthenticationTypeSetWorkstationPassword$kODAuthenticationTypeWithAuthorizationRef$kODAuthenticationTypeWriteSecureHash$kODBackOffSeconds$kODErrorDomainFramework$kODModuleConfigOptionConnectionIdleDisconnect$kODModuleConfigOptionConnectionSetupTimeout$kODModuleConfigOptionManInTheMiddle$kODModuleConfigOptionPacketEncryption$kODModuleConfigOptionPacketSigning$kODModuleConfigOptionQueryTimeout$kODNodeOptionsQuerySkippedSubnode$kODPolicyAttributeCreationTime$kODPolicyAttributeCurrentDate$kODPolicyAttributeCurrentDayOfWeek$kODPolicyAttributeCurrentTime$kODPolicyAttributeCurrentTimeOfDay$kODPolicyAttributeDaysUntilExpiration$kODPolicyAttributeEnableAtTimeOfDay$kODPolicyAttributeEnableOnDate$kODPolicyAttributeEnableOnDayOfWeek$kODPolicyAttributeExpiresAtTimeOfDay$kODPolicyAttributeExpiresEveryNDays$kODPolicyAttributeExpiresOnDate$kODPolicyAttributeExpiresOnDayOfWeek$kODPolicyAttributeFailedAuthentications$kODPolicyAttributeLastAuthenticationTime$kODPolicyAttributeLastFailedAuthenticationTime$kODPolicyAttributeLastPasswordChangeTime$kODPolicyAttributeMaximumFailedAuthentications$kODPolicyAttributeNewPasswordRequiredTime$kODPolicyAttributePassword$kODPolicyAttributePasswordHashes$kODPolicyAttributePasswordHistory$kODPolicyAttributePasswordHistoryDepth$kODPolicyAttributeRecordName$kODPolicyAttributeRecordType$kODPolicyCategoryAuthentication$kODPolicyCategoryPasswordChange$kODPolicyCategoryPasswordContent$kODPolicyKeyContent$kODPolicyKeyContentDescription$kODPolicyKeyEvaluationDetails$kODPolicyKeyIdentifier$kODPolicyKeyParameters$kODPolicyKeyPolicySatisfied$kODPolicyTypeAccountExpiresOnDate$kODPolicyTypeAccountMaximumFailedLogins$kODPolicyTypeAccountMaximumMinutesOfNonUse$kODPolicyTypeAccountMaximumMinutesUntilDisabled$kODPolicyTypeAccountMinutesUntilFailedLoginReset$kODPolicyTypePasswordCannotBeAccountName$kODPolicyTypePasswordChangeRequired$kODPolicyTypePasswordHistory$kODPolicyTypePasswordMaximumAgeInMinutes$kODPolicyTypePasswordMaximumNumberOfCharacters$kODPolicyTypePasswordMinimumNumberOfCharacters$kODPolicyTypePasswordRequiresAlpha$kODPolicyTypePasswordRequiresMixedCase$kODPolicyTypePasswordRequiresNumeric$kODPolicyTypePasswordRequiresSymbol$kODPolicyTypePasswordSelfModification$kODRecordTypeAFPServer$kODRecordTypeAliases$kODRecordTypeAttributeTypes$kODRecordTypeAugments$kODRecordTypeAutoServerSetup$kODRecordTypeAutomount$kODRecordTypeAutomountMap$kODRecordTypeBootp$kODRecordTypeCertificateAuthorities$kODRecordTypeComputerGroups$kODRecordTypeComputerLists$kODRecordTypeComputers$kODRecordTypeConfiguration$kODRecordTypeEthernets$kODRecordTypeFTPServer$kODRecordTypeFileMakerServers$kODRecordTypeGroups$kODRecordTypeHostServices$kODRecordTypeHosts$kODRecordTypeLDAPServer$kODRecordTypeLocations$kODRecordTypeMounts$kODRecordTypeNFS$kODRecordTypeNetDomains$kODRecordTypeNetGroups$kODRecordTypeNetworks$kODRecordTypePeople$kODRecordTypePresetComputerGroups$kODRecordTypePresetComputerLists$kODRecordTypePresetComputers$kODRecordTypePresetGroups$kODRecordTypePresetUsers$kODRecordTypePrintService$kODRecordTypePrintServiceUser$kODRecordTypePrinters$kODRecordTypeProtocols$kODRecordTypeQTSServer$kODRecordTypeQueryInformation$kODRecordTypeRPC$kODRecordTypeRecordTypes$kODRecordTypeResources$kODRecordTypeSMBServer$kODRecordTypeServer$kODRecordTypeServices$kODRecordTypeSharePoints$kODRecordTypeUsers$kODRecordTypeWebServer$kODSessionDefault@^{__ODSession=}$kODSessionProxyAddress$kODSessionProxyPassword$kODSessionProxyPort$kODSessionProxyUsername$"""
34
+ enums = """$kODErrorCredentialsAccountDisabled@5301$kODErrorCredentialsAccountExpired@5302$kODErrorCredentialsAccountInactive@5303$kODErrorCredentialsAccountLocked@5305$kODErrorCredentialsAccountNotFound@5300$kODErrorCredentialsAccountTemporarilyLocked@5304$kODErrorCredentialsContactMaster@5204$kODErrorCredentialsContactPrimary@5204$kODErrorCredentialsInvalid@5000$kODErrorCredentialsInvalidComputer@5501$kODErrorCredentialsInvalidLogonHours@5500$kODErrorCredentialsMethodNotSupported@5100$kODErrorCredentialsNotAuthorized@5101$kODErrorCredentialsOperationFailed@5103$kODErrorCredentialsParameterError@5102$kODErrorCredentialsPasswordChangeRequired@5401$kODErrorCredentialsPasswordChangeTooSoon@5407$kODErrorCredentialsPasswordExpired@5400$kODErrorCredentialsPasswordNeedsDigit@5406$kODErrorCredentialsPasswordNeedsLetter@5405$kODErrorCredentialsPasswordQualityFailed@5402$kODErrorCredentialsPasswordTooLong@5404$kODErrorCredentialsPasswordTooShort@5403$kODErrorCredentialsPasswordUnrecoverable@5408$kODErrorCredentialsServerCommunicationError@5205$kODErrorCredentialsServerError@5202$kODErrorCredentialsServerNotFound@5201$kODErrorCredentialsServerTimeout@5203$kODErrorCredentialsServerUnreachable@5200$kODErrorDaemonError@10002$kODErrorNodeConnectionFailed@2100$kODErrorNodeDisabled@2002$kODErrorNodeUnknownHost@2200$kODErrorNodeUnknownName@2000$kODErrorNodeUnknownType@2001$kODErrorPluginError@10001$kODErrorPluginOperationNotSupported@10000$kODErrorPluginOperationTimeout@10003$kODErrorPolicyOutOfRange@6001$kODErrorPolicyUnsupported@6000$kODErrorQueryInvalidMatchType@3100$kODErrorQuerySynchronize@3000$kODErrorQueryTimeout@3102$kODErrorQueryUnsupportedMatchType@3101$kODErrorRecordAlreadyExists@4102$kODErrorRecordAttributeNotFound@4201$kODErrorRecordAttributeUnknownType@4200$kODErrorRecordAttributeValueNotFound@4203$kODErrorRecordAttributeValueSchemaError@4202$kODErrorRecordInvalidType@4101$kODErrorRecordNoLongerExists@4104$kODErrorRecordParameterError@4100$kODErrorRecordPermissionError@4001$kODErrorRecordReadOnlyNode@4000$kODErrorRecordTypeDisabled@4103$kODErrorSessionDaemonNotRunning@1002$kODErrorSessionDaemonRefused@1003$kODErrorSessionLocalOnlyDaemonInUse@1000$kODErrorSessionNormalDaemonInUse@1001$kODErrorSessionProxyCommunicationError@1100$kODErrorSessionProxyIPUnreachable@1102$kODErrorSessionProxyUnknownHost@1103$kODErrorSessionProxyVersionMismatch@1101$kODErrorSuccess@0$kODExpirationTimeExpired@0$kODExpirationTimeNeverExpires@-1$kODMatchAny@1$kODMatchBeginsWith@8194$kODMatchContains@8196$kODMatchEndsWith@8195$kODMatchEqualTo@8193$kODMatchGreaterThan@8198$kODMatchInsensitiveBeginsWith@8450$kODMatchInsensitiveContains@8452$kODMatchInsensitiveEndsWith@8451$kODMatchInsensitiveEqualTo@8449$kODMatchLessThan@8199$kODNodeTypeAuthentication@8705$kODNodeTypeConfigure@8706$kODNodeTypeContacts@8708$kODNodeTypeLocalNodes@8704$kODNodeTypeNetwork@8709$"""
35
+ misc.update({"ODFrameworkErrors": NewType("ODFrameworkErrors", int)})
36
+ misc.update({})
37
+ misc.update({})
38
+ functions = {
39
+ "ODNodeCopySubnodeNames": (
40
+ b"^{__CFArray=}^{_ODNode=}^^{__CFError}",
41
+ "",
42
+ {
43
+ "retval": {"already_cfretained": True},
44
+ "arguments": {
45
+ 1: {
46
+ "already_cfretained": True,
47
+ "type_modifier": "o",
48
+ "null_accepted": True,
49
+ }
50
+ },
51
+ },
52
+ ),
53
+ "ODRecordVerifyPasswordExtended": (
54
+ b"B^{_ODRecord=}@^{__CFArray=}^^{__CFArray}^^{_ODContext}^^{__CFError}",
55
+ "",
56
+ {
57
+ "arguments": {
58
+ 3: {"type_modifier": "o"},
59
+ 4: {"type_modifier": "o"},
60
+ 5: {
61
+ "already_cfretained": True,
62
+ "type_modifier": "o",
63
+ "null_accepted": True,
64
+ },
65
+ }
66
+ },
67
+ ),
68
+ "ODNodeCustomFunction": (
69
+ b"@^{__ODNode=}^{__CFString=}@^^{__CFError=}",
70
+ "",
71
+ {
72
+ "arguments": {
73
+ 3: {
74
+ "null_accepted": True,
75
+ "already_cfretained": True,
76
+ "type_modifier": "o",
77
+ }
78
+ }
79
+ },
80
+ ),
81
+ "ODRecordSetPolicy": (
82
+ b"B^{__ODRecord=}@@^^{__CFError=}",
83
+ "",
84
+ {
85
+ "arguments": {
86
+ 3: {
87
+ "null_accepted": True,
88
+ "already_cfretained": True,
89
+ "type_modifier": "o",
90
+ }
91
+ }
92
+ },
93
+ ),
94
+ "ODNodeCreateCopy": (
95
+ b"^{_ODNode=}^{__CFAllocator=}^{_ODNode=}^^{__CFError}",
96
+ "",
97
+ {
98
+ "retval": {"already_cfretained": True},
99
+ "arguments": {
100
+ 2: {
101
+ "already_cfretained": True,
102
+ "type_modifier": "o",
103
+ "null_accepted": True,
104
+ }
105
+ },
106
+ },
107
+ ),
108
+ "ODNodeGetTypeID": (b"Q",),
109
+ "ODNodeCustomCall": (
110
+ b"^{__CFData=}^{_ODNode=}q^{__CFData=}^^{__CFError}",
111
+ "",
112
+ {
113
+ "arguments": {
114
+ 3: {
115
+ "already_cfretained": True,
116
+ "type_modifier": "o",
117
+ "null_accepted": True,
118
+ }
119
+ }
120
+ },
121
+ ),
122
+ "ODRecordDelete": (
123
+ b"B^{_ODRecord=}^^{__CFError}",
124
+ "",
125
+ {
126
+ "arguments": {
127
+ 1: {
128
+ "already_cfretained": True,
129
+ "type_modifier": "o",
130
+ "null_accepted": True,
131
+ }
132
+ }
133
+ },
134
+ ),
135
+ "ODRecordSetNodeCredentials": (
136
+ b"B^{_ODRecord=}^{__CFString=}^{__CFString=}^^{__CFError}",
137
+ "",
138
+ {
139
+ "arguments": {
140
+ 3: {
141
+ "already_cfretained": True,
142
+ "type_modifier": "o",
143
+ "null_accepted": True,
144
+ }
145
+ }
146
+ },
147
+ ),
148
+ "ODNodeCopySupportedPolicies": (
149
+ b"^{__CFDictionary=}^{__ODNode=}^^{__CFError=}",
150
+ "",
151
+ {
152
+ "retval": {"already_cfretained": True},
153
+ "arguments": {
154
+ 1: {
155
+ "null_accepted": True,
156
+ "already_cfretained": True,
157
+ "type_modifier": "o",
158
+ }
159
+ },
160
+ },
161
+ ),
162
+ "ODRecordCopySupportedPolicies": (
163
+ b"^{__CFDictionary=}^{__ODRecord=}^^{__CFError=}",
164
+ "",
165
+ {
166
+ "retval": {"already_cfretained": True},
167
+ "arguments": {
168
+ 1: {
169
+ "null_accepted": True,
170
+ "already_cfretained": True,
171
+ "type_modifier": "o",
172
+ }
173
+ },
174
+ },
175
+ ),
176
+ "ODRecordGetRecordName": (b"^{__CFString=}^{_ODRecord=}",),
177
+ "ODNodeRemovePolicy": (
178
+ b"B^{__ODNode=}@^^{__CFError=}",
179
+ "",
180
+ {
181
+ "arguments": {
182
+ 2: {
183
+ "null_accepted": True,
184
+ "already_cfretained": True,
185
+ "type_modifier": "o",
186
+ }
187
+ }
188
+ },
189
+ ),
190
+ "ODNodeCopyUnreachableSubnodeNames": (
191
+ b"^{__CFArray=}^{_ODNode=}^^{__CFError}",
192
+ "",
193
+ {
194
+ "retval": {"already_cfretained": True},
195
+ "arguments": {
196
+ 1: {
197
+ "already_cfretained": True,
198
+ "type_modifier": "o",
199
+ "null_accepted": True,
200
+ }
201
+ },
202
+ },
203
+ ),
204
+ "ODRecordSecondsUntilAuthenticationsExpire": (b"q^{__ODRecord=}",),
205
+ "ODQuerySetCallback": (
206
+ b"v^{_ODQuery=}^?^v",
207
+ "",
208
+ {
209
+ "arguments": {
210
+ 1: {
211
+ "callable": {
212
+ "retval": {"type": b"v"},
213
+ "arguments": {
214
+ 0: {"type": b"^{__ODQuery=}"},
215
+ 1: {"type": b"@"},
216
+ 2: {"type": b"^{__CFError=}"},
217
+ 3: {"type": b"^v"},
218
+ },
219
+ },
220
+ "callable_retained": True,
221
+ }
222
+ }
223
+ },
224
+ ),
225
+ "ODNodeSetCredentialsExtended": (
226
+ b"B^{_ODNode=}@@^{__CFArray=}^^{__CFArray}^^{_ODContext}^^{__CFError}",
227
+ "",
228
+ {
229
+ "arguments": {
230
+ 4: {"type_modifier": "o"},
231
+ 5: {"type_modifier": "o"},
232
+ 6: {
233
+ "already_cfretained": True,
234
+ "type_modifier": "o",
235
+ "null_accepted": True,
236
+ },
237
+ }
238
+ },
239
+ ),
240
+ "ODRecordPasswordChangeAllowed": (
241
+ b"B^{__ODRecord=}^{__CFString=}^^{__CFError=}",
242
+ "",
243
+ {
244
+ "arguments": {
245
+ 2: {
246
+ "null_accepted": True,
247
+ "already_cfretained": True,
248
+ "type_modifier": "o",
249
+ }
250
+ }
251
+ },
252
+ ),
253
+ "ODRecordSetPolicies": (
254
+ b"B^{__ODRecord=}^{__CFDictionary=}^^{__CFError=}",
255
+ "",
256
+ {
257
+ "arguments": {
258
+ 2: {
259
+ "null_accepted": True,
260
+ "already_cfretained": True,
261
+ "type_modifier": "o",
262
+ }
263
+ }
264
+ },
265
+ ),
266
+ "ODNodePasswordContentCheck": (
267
+ b"B^{__ODNode=}^{__CFString=}^{__CFString=}^^{__CFError=}",
268
+ "",
269
+ {
270
+ "arguments": {
271
+ 3: {
272
+ "null_accepted": True,
273
+ "already_cfretained": True,
274
+ "type_modifier": "o",
275
+ }
276
+ }
277
+ },
278
+ ),
279
+ "ODQuerySynchronize": (b"v^{_ODQuery=}",),
280
+ "ODRecordSecondsUntilPasswordExpires": (b"q^{__ODRecord=}",),
281
+ "ODSessionCopyNodeNames": (
282
+ b"^{__CFArray=}^{__CFAllocator=}^{_ODSessionRef=}^^{__CFError}",
283
+ "",
284
+ {
285
+ "retval": {"already_cfretained": True},
286
+ "arguments": {
287
+ 2: {
288
+ "already_cfretained": True,
289
+ "type_modifier": "o",
290
+ "null_accepted": True,
291
+ }
292
+ },
293
+ },
294
+ ),
295
+ "ODNodeCopySupportedAttributes": (
296
+ b"^{__CFArray=}^{_ODNode=}@^^{__CFError}",
297
+ "",
298
+ {
299
+ "retval": {"already_cfretained": True},
300
+ "arguments": {
301
+ 2: {
302
+ "already_cfretained": True,
303
+ "type_modifier": "o",
304
+ "null_accepted": True,
305
+ }
306
+ },
307
+ },
308
+ ),
309
+ "ODRecordGetRecordType": (b"^{__CFString=}^{_ODRecord=}",),
310
+ "ODRecordAddMember": (
311
+ b"B^{_ODRecord=}^{_ODRecord=}^^{__CFError}",
312
+ "",
313
+ {
314
+ "arguments": {
315
+ 2: {
316
+ "already_cfretained": True,
317
+ "type_modifier": "o",
318
+ "null_accepted": True,
319
+ }
320
+ }
321
+ },
322
+ ),
323
+ "ODRecordCopyAccountPolicies": (
324
+ b"^{__CFDictionary=}^{__ODRecord=}^^{__CFError=}",
325
+ "",
326
+ {
327
+ "retval": {"already_cfretained": True},
328
+ "arguments": {
329
+ 1: {
330
+ "null_accepted": True,
331
+ "already_cfretained": True,
332
+ "type_modifier": "o",
333
+ }
334
+ },
335
+ },
336
+ ),
337
+ "ODNodeCopyRecord": (
338
+ b"^{_ODRecord=}^{_ODNode=}@^{__CFString=}@^^{__CFError}",
339
+ "",
340
+ {
341
+ "retval": {"already_cfretained": True},
342
+ "arguments": {
343
+ 4: {
344
+ "already_cfretained": True,
345
+ "type_modifier": "o",
346
+ "null_accepted": True,
347
+ }
348
+ },
349
+ },
350
+ ),
351
+ "ODQueryScheduleWithRunLoop": (b"v^{_ODQuery=}^{__CFRunLoop=}^{__CFString=}",),
352
+ "ODNodeGetName": (b"^{__CFString=}^{_ODNode=}",),
353
+ "ODSessionCreate": (
354
+ b"^{_ODSessionRef=}^{__CFAllocator=}^{__CFDictionary=}^^{__CFError}",
355
+ "",
356
+ {
357
+ "retval": {"already_cfretained": True},
358
+ "arguments": {
359
+ 2: {
360
+ "already_cfretained": True,
361
+ "type_modifier": "o",
362
+ "null_accepted": True,
363
+ }
364
+ },
365
+ },
366
+ ),
367
+ "ODRecordContainsMember": (
368
+ b"B^{_ODRecord=}^{_ODRecord=}^^{__CFError}",
369
+ "",
370
+ {
371
+ "arguments": {
372
+ 2: {
373
+ "already_cfretained": True,
374
+ "type_modifier": "o",
375
+ "null_accepted": True,
376
+ }
377
+ }
378
+ },
379
+ ),
380
+ "ODRecordAddAccountPolicy": (
381
+ b"B^{__ODRecord=}^{__CFDictionary=}@^^{__CFError=}",
382
+ "",
383
+ {
384
+ "arguments": {
385
+ 3: {
386
+ "null_accepted": True,
387
+ "already_cfretained": True,
388
+ "type_modifier": "o",
389
+ }
390
+ }
391
+ },
392
+ ),
393
+ "ODRecordRemovePolicy": (
394
+ b"B^{__ODRecord=}@^^{__CFError=}",
395
+ "",
396
+ {
397
+ "arguments": {
398
+ 2: {
399
+ "null_accepted": True,
400
+ "already_cfretained": True,
401
+ "type_modifier": "o",
402
+ }
403
+ }
404
+ },
405
+ ),
406
+ "ODQueryCreateWithNodeType": (
407
+ b"^{_ODQuery=}^{__CFAllocator=}I@@I@@q^^{__CFError}",
408
+ "",
409
+ {
410
+ "retval": {"already_cfretained": True},
411
+ "arguments": {
412
+ 8: {
413
+ "already_cfretained": True,
414
+ "type_modifier": "o",
415
+ "null_accepted": True,
416
+ }
417
+ },
418
+ },
419
+ ),
420
+ "ODNodeCopySupportedRecordTypes": (
421
+ b"^{__CFArray=}^{_ODNode=}^^{__CFError}",
422
+ "",
423
+ {
424
+ "retval": {"already_cfretained": True},
425
+ "arguments": {
426
+ 1: {
427
+ "already_cfretained": True,
428
+ "type_modifier": "o",
429
+ "null_accepted": True,
430
+ }
431
+ },
432
+ },
433
+ ),
434
+ "ODRecordWillPasswordExpire": (b"B^{__ODRecord=}Q",),
435
+ "ODQuerySetDispatchQueue": (b"v^{_ODQuery=}^{dispatch_queue_s=}",),
436
+ "ODRecordVerifyPassword": (
437
+ b"B^{_ODRecord=}^{__CFString=}^^{__CFError}",
438
+ "",
439
+ {
440
+ "arguments": {
441
+ 2: {
442
+ "already_cfretained": True,
443
+ "type_modifier": "o",
444
+ "null_accepted": True,
445
+ }
446
+ }
447
+ },
448
+ ),
449
+ "ODNodeCopyDetails": (
450
+ b"^{__CFDictionary=}^{_ODNode=}^{__CFArray=}^^{__CFError}",
451
+ "",
452
+ {
453
+ "retval": {"already_cfretained": True},
454
+ "arguments": {
455
+ 2: {
456
+ "already_cfretained": True,
457
+ "type_modifier": "o",
458
+ "null_accepted": True,
459
+ }
460
+ },
461
+ },
462
+ ),
463
+ "ODQueryCreateWithNode": (
464
+ b"^{_ODQuery=}^{__CFAllocator=}^{_ODNode=}@@I@@q^^{__CFError}",
465
+ "",
466
+ {
467
+ "retval": {"already_cfretained": True},
468
+ "arguments": {
469
+ 8: {
470
+ "already_cfretained": True,
471
+ "type_modifier": "o",
472
+ "null_accepted": True,
473
+ }
474
+ },
475
+ },
476
+ ),
477
+ "ODContextGetTypeID": (b"Q",),
478
+ "ODNodeRemoveAccountPolicy": (
479
+ b"B^{__ODNode=}^{__CFDictionary=}@^^{__CFError=}",
480
+ "",
481
+ {
482
+ "arguments": {
483
+ 3: {
484
+ "null_accepted": True,
485
+ "already_cfretained": True,
486
+ "type_modifier": "o",
487
+ }
488
+ }
489
+ },
490
+ ),
491
+ "ODNodeCopyAccountPolicies": (
492
+ b"^{__CFDictionary=}^{__ODNode=}^^{__CFError=}",
493
+ "",
494
+ {
495
+ "retval": {"already_cfretained": True},
496
+ "arguments": {
497
+ 1: {
498
+ "null_accepted": True,
499
+ "already_cfretained": True,
500
+ "type_modifier": "o",
501
+ }
502
+ },
503
+ },
504
+ ),
505
+ "ODRecordCopyPasswordPolicy": (
506
+ b"^{__CFDictionary=}^{__CFAllocator=}^{_ODRecord=}^^{__CFError}",
507
+ "",
508
+ {
509
+ "retval": {"already_cfretained": True},
510
+ "arguments": {
511
+ 2: {
512
+ "already_cfretained": True,
513
+ "type_modifier": "o",
514
+ "null_accepted": True,
515
+ }
516
+ },
517
+ },
518
+ ),
519
+ "ODNodeSetCredentials": (
520
+ b"B^{_ODNode=}@^{__CFString=}^{__CFString=}^^{__CFError}",
521
+ "",
522
+ {
523
+ "arguments": {
524
+ 4: {
525
+ "already_cfretained": True,
526
+ "type_modifier": "o",
527
+ "null_accepted": True,
528
+ }
529
+ }
530
+ },
531
+ ),
532
+ "ODNodeCreateRecord": (
533
+ b"^{_ODRecord=}^{_ODNode=}@^{__CFString=}^{__CFDictionary=}^^{__CFError}",
534
+ "",
535
+ {
536
+ "retval": {"already_cfretained": True},
537
+ "arguments": {
538
+ 4: {
539
+ "already_cfretained": True,
540
+ "type_modifier": "o",
541
+ "null_accepted": True,
542
+ }
543
+ },
544
+ },
545
+ ),
546
+ "ODRecordGetTypeID": (b"Q",),
547
+ "ODNodeSetAccountPolicies": (
548
+ b"B^{__ODNode=}^{__CFDictionary=}^^{__CFError=}",
549
+ "",
550
+ {
551
+ "arguments": {
552
+ 2: {
553
+ "null_accepted": True,
554
+ "already_cfretained": True,
555
+ "type_modifier": "o",
556
+ }
557
+ }
558
+ },
559
+ ),
560
+ "ODRecordCopyValues": (
561
+ b"^{__CFArray=}^{_ODRecord=}@^^{__CFError}",
562
+ "",
563
+ {
564
+ "retval": {"already_cfretained": True},
565
+ "arguments": {
566
+ 2: {
567
+ "already_cfretained": True,
568
+ "type_modifier": "o",
569
+ "null_accepted": True,
570
+ }
571
+ },
572
+ },
573
+ ),
574
+ "ODRecordSetValue": (
575
+ b"B^{_ODRecord=}@@^^{__CFError}",
576
+ "",
577
+ {
578
+ "arguments": {
579
+ 3: {
580
+ "already_cfretained": True,
581
+ "type_modifier": "o",
582
+ "null_accepted": True,
583
+ }
584
+ }
585
+ },
586
+ ),
587
+ "ODNodeCopyPolicies": (
588
+ b"^{__CFDictionary=}^{__ODNode=}^^{__CFError=}",
589
+ "",
590
+ {
591
+ "retval": {"already_cfretained": True},
592
+ "arguments": {
593
+ 1: {
594
+ "null_accepted": True,
595
+ "already_cfretained": True,
596
+ "type_modifier": "o",
597
+ }
598
+ },
599
+ },
600
+ ),
601
+ "ODNodeSetPolicy": (
602
+ b"B^{__ODNode=}@@^^{__CFError=}",
603
+ "",
604
+ {
605
+ "arguments": {
606
+ 3: {
607
+ "null_accepted": True,
608
+ "already_cfretained": True,
609
+ "type_modifier": "o",
610
+ }
611
+ }
612
+ },
613
+ ),
614
+ "ODRecordSetNodeCredentialsExtended": (
615
+ b"B^{_ODRecord=}@@^{__CFArray=}^^{__CFArray}^^{_ODContext}^^{__CFError}",
616
+ "",
617
+ {
618
+ "arguments": {
619
+ 4: {"type_modifier": "o"},
620
+ 5: {"type_modifier": "o"},
621
+ 6: {
622
+ "already_cfretained": True,
623
+ "type_modifier": "o",
624
+ "null_accepted": True,
625
+ },
626
+ }
627
+ },
628
+ ),
629
+ "ODQueryGetTypeID": (b"Q",),
630
+ "ODRecordSetNodeCredentialsUsingKerberosCache": (
631
+ b"B^{_ODRecord=}^{__CFString=}^^{__CFError}",
632
+ "",
633
+ {
634
+ "arguments": {
635
+ 2: {
636
+ "already_cfretained": True,
637
+ "type_modifier": "o",
638
+ "null_accepted": True,
639
+ }
640
+ }
641
+ },
642
+ ),
643
+ "ODNodeCreateWithName": (
644
+ b"^{_ODNode=}^{__CFAllocator=}^{_ODSessionRef=}^{__CFString=}^^{__CFError}",
645
+ "",
646
+ {
647
+ "retval": {"already_cfretained": True},
648
+ "arguments": {
649
+ 3: {
650
+ "already_cfretained": True,
651
+ "type_modifier": "o",
652
+ "null_accepted": True,
653
+ }
654
+ },
655
+ },
656
+ ),
657
+ "ODNodeSetPolicies": (
658
+ b"B^{__ODNode=}^{__CFDictionary=}^^{__CFError=}",
659
+ "",
660
+ {
661
+ "arguments": {
662
+ 2: {
663
+ "null_accepted": True,
664
+ "already_cfretained": True,
665
+ "type_modifier": "o",
666
+ }
667
+ }
668
+ },
669
+ ),
670
+ "ODRecordRemoveAccountPolicy": (
671
+ b"B^{__ODRecord=}^{__CFDictionary=}@^^{__CFError=}",
672
+ "",
673
+ {
674
+ "arguments": {
675
+ 3: {
676
+ "null_accepted": True,
677
+ "already_cfretained": True,
678
+ "type_modifier": "o",
679
+ }
680
+ }
681
+ },
682
+ ),
683
+ "ODRecordRemoveValue": (
684
+ b"B^{_ODRecord=}@@^^{__CFError}",
685
+ "",
686
+ {
687
+ "arguments": {
688
+ 3: {
689
+ "already_cfretained": True,
690
+ "type_modifier": "o",
691
+ "null_accepted": True,
692
+ }
693
+ }
694
+ },
695
+ ),
696
+ "ODSessionGetTypeID": (b"Q",),
697
+ "ODRecordCopyDetails": (
698
+ b"^{__CFDictionary=}^{_ODRecord=}^{__CFArray=}^^{__CFError}",
699
+ "",
700
+ {
701
+ "retval": {"already_cfretained": True},
702
+ "arguments": {
703
+ 2: {
704
+ "already_cfretained": True,
705
+ "type_modifier": "o",
706
+ "null_accepted": True,
707
+ }
708
+ },
709
+ },
710
+ ),
711
+ "ODNodeSetCredentialsUsingKerberosCache": (
712
+ b"B^{_ODNode=}^{__CFString=}^^{__CFError}",
713
+ "",
714
+ {
715
+ "arguments": {
716
+ 2: {
717
+ "already_cfretained": True,
718
+ "type_modifier": "o",
719
+ "null_accepted": True,
720
+ }
721
+ }
722
+ },
723
+ ),
724
+ "ODRecordChangePassword": (
725
+ b"B^{_ODRecord=}^{__CFString=}^{__CFString=}^^{__CFError}",
726
+ "",
727
+ {
728
+ "arguments": {
729
+ 3: {
730
+ "already_cfretained": True,
731
+ "type_modifier": "o",
732
+ "null_accepted": True,
733
+ }
734
+ }
735
+ },
736
+ ),
737
+ "ODQueryCopyResults": (
738
+ b"^{__CFArray=}^{_ODQuery=}B^^{__CFError}",
739
+ "",
740
+ {
741
+ "retval": {"already_cfretained": True},
742
+ "arguments": {
743
+ 2: {
744
+ "already_cfretained": True,
745
+ "type_modifier": "o",
746
+ "null_accepted": True,
747
+ }
748
+ },
749
+ },
750
+ ),
751
+ "ODRecordSynchronize": (
752
+ b"B^{_ODRecord=}^^{__CFError}",
753
+ "",
754
+ {
755
+ "arguments": {
756
+ 1: {
757
+ "already_cfretained": True,
758
+ "type_modifier": "o",
759
+ "null_accepted": True,
760
+ }
761
+ }
762
+ },
763
+ ),
764
+ "ODRecordRemoveMember": (
765
+ b"B^{_ODRecord=}^{_ODRecord=}^^{__CFError}",
766
+ "",
767
+ {
768
+ "arguments": {
769
+ 2: {
770
+ "already_cfretained": True,
771
+ "type_modifier": "o",
772
+ "null_accepted": True,
773
+ }
774
+ }
775
+ },
776
+ ),
777
+ "ODNodeCreateWithNodeType": (
778
+ b"^{_ODNode=}^{__CFAllocator=}^{_ODSessionRef=}I^^{__CFError}",
779
+ "",
780
+ {
781
+ "retval": {"already_cfretained": True},
782
+ "arguments": {
783
+ 3: {
784
+ "already_cfretained": True,
785
+ "type_modifier": "o",
786
+ "null_accepted": True,
787
+ }
788
+ },
789
+ },
790
+ ),
791
+ "ODRecordWillAuthenticationsExpire": (b"B^{__ODRecord=}Q",),
792
+ "ODRecordCopyEffectivePolicies": (
793
+ b"^{__CFDictionary=}^{__ODRecord=}^^{__CFError=}",
794
+ "",
795
+ {
796
+ "retval": {"already_cfretained": True},
797
+ "arguments": {
798
+ 1: {
799
+ "null_accepted": True,
800
+ "already_cfretained": True,
801
+ "type_modifier": "o",
802
+ }
803
+ },
804
+ },
805
+ ),
806
+ "ODRecordCopyPolicies": (
807
+ b"^{__CFDictionary=}^{__ODRecord=}^^{__CFError=}",
808
+ "",
809
+ {
810
+ "retval": {"already_cfretained": True},
811
+ "arguments": {
812
+ 1: {
813
+ "null_accepted": True,
814
+ "already_cfretained": True,
815
+ "type_modifier": "o",
816
+ }
817
+ },
818
+ },
819
+ ),
820
+ "ODQueryUnscheduleFromRunLoop": (b"v^{_ODQuery=}^{__CFRunLoop=}^{__CFString=}",),
821
+ "ODRecordSetAccountPolicies": (
822
+ b"B^{__ODRecord=}^{__CFDictionary=}^^{__CFError=}",
823
+ "",
824
+ {
825
+ "arguments": {
826
+ 2: {
827
+ "null_accepted": True,
828
+ "already_cfretained": True,
829
+ "type_modifier": "o",
830
+ }
831
+ }
832
+ },
833
+ ),
834
+ "ODRecordAddValue": (
835
+ b"B^{_ODRecord=}@@^^{__CFError}",
836
+ "",
837
+ {
838
+ "arguments": {
839
+ 3: {
840
+ "already_cfretained": True,
841
+ "type_modifier": "o",
842
+ "null_accepted": True,
843
+ }
844
+ }
845
+ },
846
+ ),
847
+ "ODRecordAuthenticationAllowed": (
848
+ b"B^{__ODRecord=}^^{__CFError=}",
849
+ "",
850
+ {
851
+ "arguments": {
852
+ 1: {
853
+ "null_accepted": True,
854
+ "already_cfretained": True,
855
+ "type_modifier": "o",
856
+ }
857
+ }
858
+ },
859
+ ),
860
+ "ODNodeAddAccountPolicy": (
861
+ b"B^{__ODNode=}^{__CFDictionary=}@^^{__CFError=}",
862
+ "",
863
+ {
864
+ "arguments": {
865
+ 3: {
866
+ "null_accepted": True,
867
+ "already_cfretained": True,
868
+ "type_modifier": "o",
869
+ }
870
+ }
871
+ },
872
+ ),
873
+ }
874
+ aliases = {"kODErrorCredentialsContactMaster": "kODErrorCredentialsContactPrimary"}
875
+ cftypes = [
876
+ ("ODContextRef", b"^{__ODContext=}", "ODContextGetTypeID", None),
877
+ ("ODNodeRef", b"^{__ODNode=}", "ODNodeGetTypeID", None),
878
+ ("ODQueryRef", b"^{__ODQuery=}", "ODQueryGetTypeID", None),
879
+ ("ODRecordRef", b"^{__ODRecord=}", "ODRecordGetTypeID", None),
880
+ ("ODSessionRef", b"^{__ODSession=}", "ODSessionGetTypeID", None),
881
+ ]
882
+ expressions = {}
883
+
884
+ # END OF FILE