EC_CONFIG_SCHEMA_SUB(3)
π ec_config_schema_sub(3) π
okay bestie, welcome to the Libecoli Programmer's Manual β¨ pull up a chair, we're talking about ec_config_schema_sub β the lil function that gets you the subschema of a schema entry. yes, that's the whole job. it's giving "small but mighty" π
β¨ NAME β¨
ec_config_schema_sub β grab the subschema of a schema entry π«Ά
πΈ SYNOPSIS πΈ
#include <ecoli/config.h>
const struct ec_config_schema * ec_config_schema_sub(
const struct ec_config_schema *schema_elt /* Pointer to an element of the schema array. */
);
so you hand it schema_elt, which is a pointer to an element of the schema array, and it hands you back a const struct ec_config_schema *. no cap π
π¦ STRUCTURES π¦
this is the structure that describes the format of a configuration value, bestie. it's a whole vibe.
it gets used inside a const array that a struct ec_config references β and every single entry of that array represents a key/value storage of the configuration dictionary. iconic behavior honestly π
struct ec_config_schema {
enum flags;
};
that's it. that's the struct. enum flags; and nothing else. she's minimal, she's mysterious, we love her π
β RETURN VALUE β
the subschema if any, or NULL. that's the tea β sometimes you get the subschema, sometimes you get NULL, and you just have to be okay with that π
π₯ SEE ALSO π₯
a whole friend group of functions, fr fr β go say hi to all of them:
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_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)
π COPYRIGHT π
Copyright (C) 2010-2026 Olivier Matz, Robin Jarry.
and that's the whole page, bestie π this was libecoli, dated 2026-06-11, and the page you just read is EC_CONFIG_SCHEMA_SUB(3). slay, go forth and call your subschema function π§β¨
π¦ 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