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.


struct ndb_mgm_cluster_state* ndb_mgm_get_status2
      NdbMgmHandle handle,
      const enum ndb_mgm_node_type types[]

Parameters.  This function takes two parameters:

Return value.  A pointer to an ndb_mgm_cluster_state data structure.