git.droids-corp.org
/
protos
/
libecoli.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add first documentation draft and framework
[protos/libecoli.git]
/
include
/
ecoli_complete.h
diff --git
a/include/ecoli_complete.h
b/include/ecoli_complete.h
index
dee4123
..
b28aa4a
100644
(file)
--- 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
*
* This file provide helpers to list and manipulate the possible
* completions for a given input.
*
* XXX comp vs item
+ *
+ * @}
*/
#ifndef ECOLI_COMPLETE_
*/
#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;
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);
};
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_parse *cur_state;
struct ec_comp_group *cur_group;
struct ec_comp_group_list groups;
- struct ec_
keyval
*attrs;
+ struct ec_
dict
*attrs;
};
/*
};
/*