mco_fh_config_get_node_name

Returns the name of the configuration node.

Prototype

    const char *mco_fh_config_get_node_name(/*IN*/ mco_fh_config_node_h n)

Arguments

n
The configuration node handle.

Description

This function returns the name of the configuration node.

Return Codes

const char *
The name of the configuration node.

Example

    const char *node_name = mco_fh_config_get_node_name(node);

    if (strcmp(node_name, "config") == 0)
    {
        /* parse the "config" node */
        /* ... */
    }