ec_node_config_node_list_from_vargs - Man Page

Build a list of config nodes from variable arguments.

Synopsis

#include <ecoli/node_helper.h>

struct ec_config * ec_node_config_node_list_from_vargs(
    /*
     * List of pointer to ec_node structures, terminated with EC_VA_END.
     */
    va_list  ap
);

Description

The va_list argument is a list of pointer to ec_node structures, terminated with EC_VA_END.

This helper is used by nodes that contain a list of nodes, like "seq", "or", ...

Return Value

A pointer to an ec_config structure. In this case, the nodes will be freed when the config structure will be freed. On error, NULL is returned (and errno is set), and the nodes are freed.

See Also

ec_config_schema_sub(3), ec_config_u64(3), ec_config_list_del(3), ec_config_dict(3), ec_config_count(3), ec_config_schema_dump(3), ec_config_i64(3), ec_config_list_next(3), ec_config_get_type(3), ec_config_dict_set(3), ec_config_list_first(3), ec_config_schema_type(3), ec_config_node(3), ec_config_list(3), ec_config_cmp(3), ec_node_config_node_list_to_table(3), ec_config_key_is_reserved(3), ec_config_string(3), ec_config_dict_get(3), ec_config_free(3), ec_config_list_add(3), ec_config_schema_validate(3), ec_config_schema_lookup(3), ec_config_validate(3), ec_config_dup(3), ec_config_dump(3), ec_config_dict_del(3), ec_config_bool(3)

Referenced By

ec_config_bool(3), ec_config_cmp(3), ec_config_count(3), ec_config_dict(3), ec_config_dict_del(3), ec_config_dict_get(3), ec_config_dict_set(3), ec_config_dump(3), ec_config_dup(3), ec_config_free(3), ec_config_get_type(3), ec_config_i64(3), ec_config_key_is_reserved(3), ec_config_list(3), ec_config_list_add(3), ec_config_list_del(3), ec_config_list_first(3), ec_config_list_next(3), ec_config_node(3), ec_config_schema_dump(3), ec_config_schema_lookup(3), ec_config_schema_sub(3), ec_config_schema_type(3), ec_config_schema_validate(3), ec_config_string(3), ec_config_u64(3), ec_config_validate(3), ec_node_config_node_list_to_table(3).

2026-06-11 Libecoli Programmer's Manual