Constants

The Clinfo C API routines use the constants that are defined in the clinfo.h file.

These constants include:

Item Description
CL_MAXNAMELEN The maximum length of a character string naming a cluster, node, or interface (256). The value of CL_MAXNAMELEN is the same as MAXHOSTNAMELEN , defined in the sys/param.h file.
CL_MAX_EN_REQS The maximum number of event notification requests allowed (10).
CL_ERRMSG_LEN Maximum error message length (128 characters).
CL_MAXCLUSTERS Provides current size of space in data structures for the array holding information about the number of clusters.
CL_MAXNODES Provides current size of space in data structures for the array holding information about the number of nodes in a cluster.
CL_MAXNETIFS Provides current size of space in data structures for the array holding information about the number of interfaces attached to a node.
CL_MAXGROUPS Provides current size of space in data structures for the array holding information about the number of resource groups.