EC_CONFIG_GET_TYPE(3)
π 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 π«Ά:
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_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.
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
- 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