git.droids-corp.org
/
protos
/
libecoli.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
hide ec_node structure
[protos/libecoli.git]
/
include
/
ecoli_config.h
diff --git
a/include/ecoli_config.h
b/include/ecoli_config.h
index
7aa427f
..
ba93337
100644
(file)
--- a/
include/ecoli_config.h
+++ b/
include/ecoli_config.h
@@
-2,6
+2,13
@@
* Copyright 2018, Olivier MATZ <zer0@droids-corp.org>
*/
* Copyright 2018, Olivier MATZ <zer0@droids-corp.org>
*/
+/**
+ * @defgroup config Node configuration
+ * @{
+ *
+ * @brief Configure nodes behavior through generic API.
+ */
+
#ifndef ECOLI_CONFIG_
#define ECOLI_CONFIG_
#ifndef ECOLI_CONFIG_
#define ECOLI_CONFIG_
@@
-16,7
+23,7
@@
#endif
struct ec_config;
#endif
struct ec_config;
-struct ec_
keyval
;
+struct ec_
dict
;
/**
* The type identifier for a config value.
/**
* 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 */
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 */
};
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
void ec_config_dump(FILE *out, const struct ec_config *config);
#endif
+
+/** @} */