Function

ODNodeCopyRecord(_:_:_:_:_:)

Returns a reference to a record of a node.

Declaration

func ODNodeCopyRecord(_ node: ODNodeRef!, _ recordType: String!, _ recordName: CFString!, _ attributes: CFTypeRef!, _ error: UnsafeMutablePointer<Unmanaged<CFError>?>!) -> Unmanaged<ODRecordRef>!

Parameters

inNode

The node.

inRecordType

The type of the record.

inRecordName

The name of the record.

inAttributes

An array of directory attributes to be copied in addition to the record. Can be NULL.

outError

An error reference for error details. Can be NULL.

Return Value

A reference to a specified record of inNode.

See Also

Working with Nodes

func ODNodeCopyUnreachableSubnodeNames(ODNodeRef!, UnsafeMutablePointer<Unmanaged<CFError>?>!) -> Unmanaged<CFArray>!

Returns an array of the subnodes of a given node that are currently unreachable.

func ODNodeGetTypeID() -> CFTypeID

Returns the type ID for an Open Directory node.