Return the type of the configuration node.
MCO_FH_CONFIG_NODE_TYPE mco_fh_config_get_node_type(/*IN*/ mco_fh_config_node_h n)
| n | The configuration node handle |
This function returns the type of the configuration node.
| MCO_FH_CFG_NODE_* | The type of the configuration node. The type can be one of the following: SCALAR, OBJECT or VECTOR |
| MCO_FH_CFG_NODE_NULL | The node handle is invalid |
{
...
mco_fh_config_node_h nxcfg = mco_fh_config_node_get_child(n, "extraConfig");
MCO_FH_CONFIG_NODE_TYPE nxcfgtype = mco_fh_config_get_node_type(nxcfg);
...
}