EC_CONFIG_SCHEMA_TYPE(3)

πŸ’– EC_CONFIG_SCHEMA_TYPE(3) πŸ’–

okay bestie, welcome to the Libecoli Programmer's Manual β€” this is the page for ec_config_schema_type, and honestly? it's giving "small function, big main character energy" ✨


🌸 NAME 🌸

ec_config_schema_type β€” get the type of a schema entry, no cap πŸ’…


✨ SYNOPSIS ✨

#include <ecoli/config.h>

enum ec_config_type ec_config_schema_type(
    const struct ec_config_schema   *schema_elt   /* Pointer to an element of the schema array. */
);

so you pull in <ecoli/config.h>, you hand it a schema_elt β€” literally just a pointer to one element of the schema array β€” and it hands you back an enum ec_config_type. simple as that, periodt 🫢


πŸ¦‹ STRUCTURES πŸ¦‹

Here's the structure that describes the format of a configuration value. lowkey important, so pay attention bestie πŸ‘‘

This structure is used in a const array which is referenced by a struct ec_config. Each entry of the array represents a key/value storage of the configuration dictionary. iconic behaviour fr fr πŸŽ€

struct ec_config_schema {
    enum   flags;
};
not me showing you the whole struct β€” yes, that's the entire thing. enum flags; and nothing else. short king πŸ‘‘

πŸ’œ RETURN VALUE πŸ’œ

The type of the schema entry. that's it, that's the tea β˜• β€” it returns the type, slay πŸ’…


🌈 SEE ALSO 🌈

the whole friend group, go say hi πŸ’–


Copyright (C) 2010-2026 Olivier Matz, Robin Jarry.


and that's the whole page bestie, you ate that πŸ“ stay hydrated, read your manpages, and remember: this came to you from libecoli, dated 2026-06-11, page EC_CONFIG_SCHEMA_TYPE(3) πŸ’–βœ¨πŸ¦‹ mwah πŸ’…

πŸ“¦ where this page comes from