api doc and minor changes
[protos/libecoli.git] / src / ecoli_node_re.c
index 7d68b77..4bbc192 100644 (file)
@@ -27,14 +27,14 @@ struct ec_node_re {
 
 static int
 ec_node_re_parse(const struct ec_node *node,
-               struct ec_pnode *state,
+               struct ec_pnode *pstate,
                const struct ec_strvec *strvec)
 {
        struct ec_node_re *priv = ec_node_priv(node);
        const char *str;
        regmatch_t pos;
 
-       (void)state;
+       (void)pstate;
 
        if (ec_strvec_len(strvec) == 0)
                return EC_PARSE_NOMATCH;
@@ -116,7 +116,6 @@ static struct ec_node_type ec_node_re_type = {
        .schema = ec_node_re_schema,
        .set_config = ec_node_re_set_config,
        .parse = ec_node_re_parse,
-       .complete = ec_complete_unknown,
        .size = sizeof(struct ec_node_re),
        .free_priv = ec_node_re_free_priv,
 };