Add a configuration item with a string value to an encoder.
#include <asr/cfg.h>
cfg_item_t* cfg_encoder_add_string(cfg_encoder_t *e, const char *name, const char *value)
A pointer to the encoder structure to add the new configuration item to.
The name of the new configuration item.
The string value of the configuration item.
The cfg_encoder_add_string() function creates a new configuration item with the specified name and string value and adds it as a child of the encoder container (after any other child nodes). Spaces and quotes are removed from the name and value before the configuration item is created.
A pointer to the new configuration item.