EC_CONFIG_DICT_SET(3)
π EC_CONFIG_DICT_SET(3) π
okay so bestie, we're in the Libecoli Programmer's Manual and today's main character is ec_config_dict_set β the girl whose whole job is putting a value into a hash table configuration. that's it. that's the vibe. β¨
πΈ NAME πΈ
ec_config_dict_set β Set a value in a hash table configuration.
π SYNOPSIS π
#include <ecoli/config.h>
int ec_config_dict_set(
struct ec_config *dict, /* The hash table configuration. */
const char *key, /* The key to update. */
/*
* The value to set. The value object will be freed when freeing the dict
* object. On error, the value object is also freed.
*/
struct ec_config *value
);
like, look at her. three args, zero drama (okay a little drama, the value ownership thing is giving unhinged but we'll get there). π
π¦ STRUCTURES π¦
Structure storing the configuration data.
struct ec_config {
union ec_config::@165033305204240054252215261010262276266146032272 @204272232073016241350260013126061051223010235320;
};
no cap, that union name is literally how it came out of the tooling and we are NOT touching it. she's iconic as she is. π«Ά
β RETURN VALUE β
0on success β slay, we ate π-1on error β anderrnois set, so go check it, bestie, don't just stand there π
π₯ SEE ALSO π₯
the whole friend group, fr fr:
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_get_type(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, periodt π this was libecoli, dated 2026-06-11, and yes she's still EC_CONFIG_DICT_SET(3) β go set some dict values, bestie, you got this π§β¨
π¦ 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