Function

ODNodeCreateWithName(_:_:_:_:)

Returns a new node created with a specified name.

Declaration

func ODNodeCreateWithName(_ allocator: CFAllocator!, _ session: ODSessionRef!, _ nodeName: CFString!, _ 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.

inNodeName

The name 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.