api documentation for ec_parse
[protos/libecoli.git] / include / ecoli_config.h
index b6d638e..8ae15ed 100644 (file)
@@ -2,6 +2,13 @@
  * 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_
 
 #include <stdint.h>
 #include <stdio.h>
 
-#ifndef EC_COUNT_OF //XXX
-#define EC_COUNT_OF(x) ((sizeof(x)/sizeof(0[x])) / \
-               ((size_t)(!(sizeof(x) % sizeof(0[x])))))
-#endif
-
 struct ec_config;
 struct ec_dict;
 
@@ -402,3 +404,5 @@ ec_config_dup(const struct ec_config *config);
 void ec_config_dump(FILE *out, const struct ec_config *config);
 
 #endif
+
+/** @} */