|
Libecoli 0.11.1
Extensible COmmand LIne library
|
A node that matches a sequence of child nodes in order. More...
Macros | |
| #define | EC_NODE_SEQ(args...) |
Functions | |
| struct ec_node * | ec_node_seq (const char *id) |
| int | ec_node_seq_add (struct ec_node *node, struct ec_node *child) |
A node that matches a sequence of child nodes in order.
Configuration Schema
| #define EC_NODE_SEQ | ( | args... | ) |
Create a sequence node from a list of child nodes.
All child nodes passed as arguments are consumed and will be freed when the sequence node is freed, or immediately on error.
Example:
Definition at line 29 of file node_seq.h.
| struct ec_node * ec_node_seq | ( | const char * | id | ) |
Create an empty sequence node.
Use ec_node_seq_add() to add children.
| id | The node identifier. |