X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=include%2Fecoli_complete.h;h=b28aa4a873ef77525591398df382a63a0cd77898;hb=376f5016e3979247bf0db515e47df49ba1eb82ac;hp=dee4123b18cd607c00d8cc0730a04617f148ac8a;hpb=18d03456d96f7a086a2ccc82ce97fcf056848d90;p=protos%2Flibecoli.git diff --git a/include/ecoli_complete.h b/include/ecoli_complete.h index dee4123..b28aa4a 100644 --- a/include/ecoli_complete.h +++ b/include/ecoli_complete.h @@ -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; }; /*