Function

ODNodeCopySupportedAttributes(_:_:_:)

Returns an array of attribute types supported by a given node.

Declaration

func ODNodeCopySupportedAttributes(_ node: ODNodeRef!, _ recordType: String!, _ error: UnsafeMutablePointer<Unmanaged<CFError>?>!) -> Unmanaged<CFArray>!

Parameters

inNode

The node.

inRecordType

The record type to list supported attribute types for. Can be NULL.

outError

An error reference for error details. Can be NULL.

Return Value

An array of supported attribute types.

Discussion

If inRecordType is NULL, this function returns all attribute types supported by all record types of the node; otherwise, only attribute types specific to inRecordType are returned.

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.