X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fecoli_config.h;h=96e47b322cdcc2454effbcee229426e1d1cf276a;hb=41be2fa5bc7520b4d9ba2028aa151ddfac8e62ed;hp=fa6b5010828c0ecf3ba1e0db309f3a4c100ddd4d;hpb=8937e9addfe15dfe34ea241884aa10cfb3dc54fb;p=protos%2Flibecoli.git diff --git a/lib/ecoli_config.h b/lib/ecoli_config.h index fa6b501..96e47b3 100644 --- a/lib/ecoli_config.h +++ b/lib/ecoli_config.h @@ -8,6 +8,7 @@ #include #include #include +#include #ifndef EC_COUNT_OF //XXX #define EC_COUNT_OF(x) ((sizeof(x)/sizeof(0[x])) / \ @@ -109,6 +110,16 @@ void ec_config_schema_dump(FILE *out, const struct ec_config_schema *schema, /* config */ +/** + * Get the type of the configuration. + * + * @param config + * The configuration. + * @return + * The configuration type. + */ +enum ec_config_type ec_config_get_type(const struct ec_config *config); + /** * Create a boolean configuration value. *