EC_NODE_CONFIG_NODE_LIST_TO_TABLE(3)
π EC_NODE_CONFIG_NODE_LIST_TO_TABLE(3) π
okay so bestie, welcome to the Libecoli Programmer's Manual, and this page is literally about ec_node_config_node_list_to_table(3). yes the name is a whole mouthful, we're gonna get through it together π«Ά
β¨ NAME β¨
ec_node_config_node_list_to_table β Build a node table from a node list in an ec_config.
like, you have a list, you want a table. iconic behaviour honestly π
πΈ SYNOPSIS πΈ
#include <ecoli/node_helper.h>
struct ec_node ** ec_node_config_node_list_to_table(
/*
* The configuration (type must be a list of nodes). If it is NULL, an
* error is returned.
*/
const struct ec_config *config,
/*
* The length of the allocated table on success, or 0 on error.
*/
size_t *len
);
so like, two args, both of them matter, no notes π
π¦ DESCRIPTION π¦
okay so the tea: this function takes a node configuration as a parameter, and that thing must be a node list. from that list, it builds you a whole node table. and a reference is taken for each node β so like, every node in the table gets a lil glow-up reference, you're welcome β¨
on error, no reference is taken. periodt, don't come for her π
π STRUCTURES π
Structure storing the configuration data. it's giving very demure, very mindful struct energy πΈ
struct ec_config {
union ec_config::@165033305204240054252215261010262276266146032272 @204272232073016241350260013126061051223010235320;
};
yeah that member name is a whole jumpscare but we copy it exactly, no cap π
π RETURN VALUE π
the allocated node table, bestie. and it must be freed by the caller β like actually, this is not a drill:
- each entry must be freed with
ec_node_free() - the table itself with
free()
on error,NULLis returned anderrnois set. so check yourerrno, she's talking π
π SEE ALSO π
the whole friend group, fr fr, all of them showing up to the party:
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_config_key_is_reserved(3)ec_config_string(3)ec_config_dict_get(3)ec_config_free(3)ec_node_config_node_list_from_vargs(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)
no skips, we play the whole playlist π
π COPYRIGHT π
Copyright (C) 2010-2026 Olivier Matz, Robin Jarry.
and that's the whole page bestie!! this came from the libecoli manual, dated 2026-06-11, and the page is EC_NODE_C...T_TO_TABLE(3) β mwah, go forth and build those tables π
β¨π¦
π¦ where this page comes from
- fedora 44: libecoli-devel 0.11.7-1.fc44 Β· BSD-3-Clause AND LicenseRef-Fedora-Public-Domain
- fedora 44: libecoli-devel 0.11.7-1.fc44 Β· BSD-3-Clause AND LicenseRef-Fedora-Public-Domain
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms