cfg_get_value()

Get the value of the specifed configuration item.

Synopsis:

#include <asr/cfg.h>
 
char* cfg_get_value(const cfg_item_t *item)

Arguments:

item

A pointer to the configuration item.

Library:

libasr

Description:

The cfg_get_key function gets the string value of the specified item. If item has no value, the key is returned.

Returns:

A pointer to the string value of the specified item; a pointer to the item's key if the item has no value; NULL if item is NULL.