cl_alloc_sitemap routine

Allocates storage for a series of site information structures.

Syntax

int cl_alloc_sitemap (struct cl_net **sitemap)

Parameters

Item Description
sitemap A pointer to a structure cl_site pointer where a pointer to the newly allocated storage is returned.

Status codes

Item Description
CLE_OK The request complete successfully.
CLE_BADARGS Missing or invalid parameters. This status usually indicates that a NULL pointer was specified for the sitemap parameter.

Example

See the example for the cl_getsitemap routine.