Function

ODNodeCreateCopy(_:_:_:)

Returns a copy of an existing node.

Declaration

func ODNodeCreateCopy(_ allocator: CFAllocator!, _ node: ODNodeRef!, _ error: UnsafeMutablePointer<Unmanaged<CFError>?>!) -> Unmanaged<ODNodeRef>!

Parameters

inAllocator

The memory allocator to use. If NULL, the default allocator is used.

inNode

The node to copy.

outError

An error reference for error details. Can be NULL.

Return Value

A copy of inNode.

Discussion

The copy includes remote credentials used for proxy and node authentication.

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.