Function

ODNodeCreateWithNodeType(_:_:_:_:)

Returns a new node created with a specified type.

Declaration

func ODNodeCreateWithNodeType(_ allocator: CFAllocator!, _ session: ODSessionRef!, _ nodeType: ODNodeType, _ error: UnsafeMutablePointer<Unmanaged<CFError>?>!) -> Unmanaged<ODNodeRef>!

Parameters

inAllocator

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

inSession

The session to create the node in.

inType

The type of the node.

outError

An error reference for error details. Can be NULL.

Return Value

The created node.

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.