gchar * afgs_config_get_ref AfgsConfiguration config,
gchar *  key

Returns a reference to the value for given key.

Return the value associated to the given key. This function work pretty much like afgs_config_get but returning a reference to the AfgsConfiguration internal copy.

This mean you don't have to worry about freeing returned value from this function. But also means bad things will happen it you free the value returned.

config A config file object.
key The key to lookup for the value.
A reference to the defined value or NULL if not found.