1{ Parsed from OpenDirectory.framework ODNode.h } 2 3 4{$ifdef TYPES} 5type 6 ODNodePtr = ^ODNode; 7{$endif} 8 9{$ifdef CLASSES} 10 11type 12 ODNode = objcclass external (NSObject) 13 private 14 _internal: pointer; 15 public 16 class function nodeWithSession_type_error (inSession: ODSession; inType: ODNodeType; outError: NSErrorPtr): instancetype; message 'nodeWithSession:type:error:'; { available in 10_6, NA } 17 class function nodeWithSession_name_error (inSession: ODSession; inName: NSString; outError: NSErrorPtr): instancetype; message 'nodeWithSession:name:error:'; { available in 10_6, NA } 18 function initWithSession_type_error (inSession: ODSession; inType: ODNodeType; outError: NSErrorPtr): instancetype; message 'initWithSession:type:error:'; { available in 10_6, NA } 19 function initWithSession_name_error (inSession: ODSession; inName: NSString; outError: NSErrorPtr): instancetype; message 'initWithSession:name:error:'; { available in 10_6, NA } 20 function subnodeNamesAndReturnError (outError: NSErrorPtr): NSArray; message 'subnodeNamesAndReturnError:'; { available in 10_6, NA } 21 function unreachableSubnodeNamesAndReturnError (outError: NSErrorPtr): NSArray; message 'unreachableSubnodeNamesAndReturnError:'; { available in 10_6, NA } 22 function nodeName: NSString; message 'nodeName'; 23 function nodeDetailsForKeys_error (inKeys: NSArray; outError: NSErrorPtr): NSDictionary; message 'nodeDetailsForKeys:error:'; { available in 10_6, NA } 24 function supportedRecordTypesAndReturnError (outError: NSErrorPtr): NSArray; message 'supportedRecordTypesAndReturnError:'; { available in 10_6, NA } 25 function supportedAttributesForRecordType_error (inRecordType: ODRecordType; outError: NSErrorPtr): NSArray; message 'supportedAttributesForRecordType:error:'; { available in 10_6, NA } 26 function setCredentialsWithRecordType_recordName_password_error (inRecordType: ODRecordType; inRecordName: NSString; inPassword: NSString; outError: NSErrorPtr): ObjCBOOL; message 'setCredentialsWithRecordType:recordName:password:error:'; { available in 10_6, NA } 27 function setCredentialsWithRecordType_authenticationType_authenticationItems_continueItems_context_error (inRecordType: ODRecordType; inType: ODAuthenticationType; inItems: NSArray; outItems: NSArrayPtr; outContext: idPtr; outError: NSErrorPtr): ObjCBOOL; message 'setCredentialsWithRecordType:authenticationType:authenticationItems:continueItems:context:error:'; { available in 10_6, NA } 28 function setCredentialsUsingKerberosCache_error (inCacheName: NSString; outError: NSErrorPtr): ObjCBOOL; message 'setCredentialsUsingKerberosCache:error:'; { available in 10_6, NA } 29 function createRecordWithRecordType_name_attributes_error (inRecordType: ODRecordType; inRecordName: NSString; inAttributes: NSDictionary; outError: NSErrorPtr): ODRecord; message 'createRecordWithRecordType:name:attributes:error:'; { available in 10_6, NA } 30 function recordWithRecordType_name_attributes_error (inRecordType: ODRecordType; inRecordName: NSString; inAttributes: id; outError: NSErrorPtr): ODRecord; message 'recordWithRecordType:name:attributes:error:'; { available in 10_6, NA } 31 function customCall_sendData_error (inCustomCode: NSInteger; inSendData: NSData; outError: NSErrorPtr): NSData; message 'customCall:sendData:error:'; { available in 10_6, NA } 32 function customFunction_payload_error (function_: NSString; payload: id; error: NSErrorPtr): id; message 'customFunction:payload:error:'; { available in 10_9, NA } 33 function configuration: ODConfiguration; message 'configuration'; 34 function policiesAndReturnError (error: NSErrorPtr): NSDictionary; message 'policiesAndReturnError:'; { available in __MAC_10_9, __MAC_10_10, __IPHONE_NA, __IPHONE_NA, "use accountPoliciesAndReturnError:" } 35 function supportedPoliciesAndReturnError (error: NSErrorPtr): NSDictionary; message 'supportedPoliciesAndReturnError:'; deprecated 'in __MAC_10_9, __MAC_10_10, __IPHONE_NA, __IPHONE_NA'; 36 function setPolicies_error (policies: NSDictionary; error: NSErrorPtr): ObjCBOOL; message 'setPolicies:error:'; { available in __MAC_10_9, __MAC_10_10, __IPHONE_NA, __IPHONE_NA, "use setAccountPolicies:error:" } 37 function setPolicy_value_error (policy: ODPolicyType; value: id; error: NSErrorPtr): ObjCBOOL; message 'setPolicy:value:error:'; { available in __MAC_10_9, __MAC_10_10, __IPHONE_NA, __IPHONE_NA, "use addAccountPolicy:toCategory:error:" } 38 function removePolicy_error (policy: ODPolicyType; error: NSErrorPtr): ObjCBOOL; message 'removePolicy:error:'; { available in __MAC_10_9, __MAC_10_10, __IPHONE_NA, __IPHONE_NA, "use removeAccountPolicy:fromCategory:error:" } 39 function addAccountPolicy_toCategory_error (policy: NSDictionary; category: ODPolicyCategoryType; error: NSErrorPtr): ObjCBOOL; message 'addAccountPolicy:toCategory:error:'; { available starting in __MAC_10_10, __IPHONE_NA } 40 function removeAccountPolicy_fromCategory_error (policy: NSDictionary; category: ODPolicyCategoryType; error: NSErrorPtr): ObjCBOOL; message 'removeAccountPolicy:fromCategory:error:'; { available starting in __MAC_10_10, __IPHONE_NA } 41 function setAccountPolicies_error (policies: NSDictionary; error: NSErrorPtr): ObjCBOOL; message 'setAccountPolicies:error:'; { available starting in __MAC_10_10, __IPHONE_NA } 42 function accountPoliciesAndReturnError (error: NSErrorPtr): NSDictionary; message 'accountPoliciesAndReturnError:'; { available starting in __MAC_10_10, __IPHONE_NA } 43 function passwordContentCheck_forRecordName_error (password: NSString; recordName: NSString; error: NSErrorPtr): ObjCBOOL; message 'passwordContentCheck:forRecordName:error:'; { available starting in __MAC_10_10, __IPHONE_NA } 44 end; 45{$endif} 46 47