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:


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