cl_alloc_nodemap routine

The cl_alloc_nodemap routine allocates storage for a list of nodes and the interfaces associated with each node. This routine should be called before calling the cl_getnodemap routine.

After calling the cl_getnodemap routine, free the storage by calling the cl_free_nodemap routine when you are done.

Syntax

int cl_alloc_nodemap (struct cl_node **nodemap)

Parameters

Item Description
nodemap The base pointer for the nodemap.

Status codes

Item Description
CLE_OK The request completed successfully.
CLE_BADARGS Missing or invalid parameters.

Example

See the example for the cl_getnodemap routine.