hide ec_node structure
[protos/libecoli.git] / include / ecoli_complete.h
index dee4123..b28aa4a 100644 (file)
@@ -3,12 +3,17 @@
  */
 
 /**
- * API for generating completions item on a node.
+ * @defgroup complete Complete
+ * @{
+ *
+ * @brief Complete string input using a grammar tree
  *
  * This file provide helpers to list and manipulate the possible
  * completions for a given input.
  *
  * XXX comp vs item
+ *
+ * @}
  */
 
 #ifndef ECOLI_COMPLETE_
@@ -36,7 +41,7 @@ struct ec_comp_group {
        const struct ec_node *node;
        struct ec_comp_item_list items;
        struct ec_parse *state;
-       struct ec_keyval *attrs;
+       struct ec_dict *attrs;
 };
 
 TAILQ_HEAD(ec_comp_group_list, ec_comp_group);
@@ -49,7 +54,7 @@ struct ec_comp {
        struct ec_parse *cur_state;
        struct ec_comp_group *cur_group;
        struct ec_comp_group_list groups;
-       struct ec_keyval *attrs;
+       struct ec_dict *attrs;
 };
 
 /*