Attach a configuration item to an existing configuration tree.
#include <asr/cfg.h>
cfg_item_t* cfg_encoder_attach(cfg_encoder_t *e, cfg_item_t *attach, char *name)
A pointer to an encoder structure.
A pointer to the configuration node to add the new item to.
The name of the new configuration item.
The cfg_encoder_attach() function creates a new configuration item with the specified name and adds it as a child of the specifed node, attach, behind any existing child nodes. On return, the base and container of the encoder, e, points to the new configuration item.
e->base, the base of the specified encoder (which points to the new tree).