Description.
This function is similar to
ndb_mgm_get_status(), in
that it is used to obtain the status of the nodes in a MySQL
Cluster. However, ndb_mgm_get_status2()
allows one to specify the type or types of nodes
(ndb_mgm_node_type) to be
checked.
The caller must free the pointer returned by this function.
Signature.
struct ndb_mgm_cluster_state* ndb_mgm_get_status2
(
NdbMgmHandle handle,
const enum ndb_mgm_node_type types[]
)
Parameters. This function takes two parameters:
A management server handle
A pointer to array of the node types to be checked. These
are ndb_mgm_node_type
values. The array should be terminated by an element of
type NDB_MGM_NODE_TYPE_UNKNOWN.
Return value.
A pointer to an
ndb_mgm_cluster_state data
structure.
