37typedef struct ec_strvec *(*ec_node_dynlist_get_t)(
struct ec_pnode *pstate,
void *opaque);
struct ec_node * ec_node_dynlist(const char *id, ec_node_dynlist_get_t get, void *opaque, const char *re_str, enum ec_node_dynlist_flags flags)
Create a dynlist node.
struct ec_strvec *(* ec_node_dynlist_get_t)(struct ec_pnode *pstate, void *opaque)
Callback invoked by parse() or complete() to build the strvec containing the list of object names.
ec_node_dynlist_flags
Flags passed at ec_node_dynlist creation.
@ DYNLIST_MATCH_REGEXP
Match names from regexp pattern.
@ DYNLIST_MATCH_LIST
Match names returned by the user callback.
@ DYNLIST_EXCLUDE_LIST
Don't match names returned by the user callback, even if it matches the regexp.
struct ec_node * ec_node(const char *typename, const char *id)
Create a new node from its type name.
struct ec_pnode * ec_pnode(const struct ec_node *node)
Create an empty parsing tree.
struct ec_strvec * ec_strvec(void)
Allocate a new empty string vector.