EC_CONFIG_GET_TYPE(3)

πŸ“¦
version 0.11.7 Β· 5 versions
, in fedora 44

πŸ’– EC_CONFIG_GET_TYPE(3) πŸ’–

okay so bestie, welcome to the Libecoli Programmer's Manual ✨ this little cutie is ec_config_get_type(3) and she does exactly one thing and she does it flawlessly πŸ’…


🌸 NAME 🌸

ec_config_get_type β€” get the type of the configuration πŸŽ€

like. that's it. that's her whole job. and she ate.


✨ SYNOPSIS ✨

#include <ecoli/config.h>

enum ec_config_type ec_config_get_type(
    const struct ec_config   *config   /* The configuration. */
);

so you're gonna #include <ecoli/config.h>, then you hand her a const struct ec_config *config (that's the configuration btw πŸ’–) and she gives you back an enum ec_config_type. no cap.


πŸ¦‹ STRUCTURES πŸ¦‹

this is the struct that's holding all the configuration data, she's the main character fr:

struct ec_config {
    union ec_config::@165033305204240054252215261010262276266146032272  @204272232073016241350260013126061051223010235320;
};

no notes, just copy it exactly, don't touch a single character bestie πŸ™ˆ


πŸ‘‘ RETURN VALUE πŸ‘‘

she returns the configuration type. that's the tea β˜• the whole point. iconic behavior honestly.


🌈 SEE ALSO 🌈

the whole friend group, go say hi 🫢:


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


ok that's the whole page bestie, go forth and type-check your configs πŸ’…βœ¨

libecoli 🌸 2026-06-11 🌸 EC_CONFIG_GET_TYPE(3) β€” mwah, bye πŸŽ€πŸ¦‹πŸ’–

πŸ“¦ where this page comes from