X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=include%2Fecoli_config.h;h=ba933378af7c8ce9ff3dbac9e3cfc6c17be3a99b;hb=70ebe6bd8740d8cb32cd0b0a21ca28a4fa74a2a5;hp=7aa427f1d83e253aa247a372fae64378c142e6d6;hpb=18d03456d96f7a086a2ccc82ce97fcf056848d90;p=protos%2Flibecoli.git diff --git a/include/ecoli_config.h b/include/ecoli_config.h index 7aa427f..ba93337 100644 --- a/include/ecoli_config.h +++ b/include/ecoli_config.h @@ -2,6 +2,13 @@ * Copyright 2018, Olivier MATZ */ +/** + * @defgroup config Node configuration + * @{ + * + * @brief Configure nodes behavior through generic API. + */ + #ifndef ECOLI_CONFIG_ #define ECOLI_CONFIG_ @@ -16,7 +23,7 @@ #endif struct ec_config; -struct ec_keyval; +struct ec_dict; /** * The type identifier for a config value. @@ -66,7 +73,7 @@ struct ec_config { uint64_t u64; /** Unsigned integer value */ char *string; /** String value */ struct ec_node *node; /** Node value */ - struct ec_keyval *dict; /** Hash table value */ + struct ec_dict *dict; /** Hash table value */ struct ec_config_list list; /** List value */ }; @@ -402,3 +409,5 @@ ec_config_dup(const struct ec_config *config); void ec_config_dump(FILE *out, const struct ec_config *config); #endif + +/** @} */