X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Fecoli_config.c;h=5a9a5fb7815a9e2a7de4f3fc66e5cc3b89c52c95;hb=038508b2212449e82ff8ace9eae8742d99ed0186;hp=63b572555c28ca6cfd071f7e75bff1d97e328b3e;hpb=d8c60a316b5c2a8b959f6191274504d433cf64f0;p=protos%2Flibecoli.git diff --git a/lib/ecoli_config.c b/lib/ecoli_config.c index 63b5725..5a9a5fb 100644 --- a/lib/ecoli_config.c +++ b/lib/ecoli_config.c @@ -375,6 +375,18 @@ ec_config_schema_lookup(const struct ec_config_schema *schema, return NULL; } +enum ec_config_type +ec_config_schema_type(const struct ec_config_schema *schema_elt) +{ + return schema_elt->type; +} + +const struct ec_config_schema * +ec_config_schema_sub(const struct ec_config_schema *schema_elt) +{ + return schema_elt->subschema; +} + void ec_config_free(struct ec_config *value) {