summaryrefslogtreecommitdiff
path: root/lib/command_graph.h
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2016-08-05 16:41:42 +0000
committerQuentin Young <qlyoung@cumulusnetworks.com>2016-08-05 16:41:42 +0000
commit0aa2c2ff01c78e6c194c16ce1d9925af918e7e4f (patch)
tree52e9e08ef7d6419a797e6d01d5678b7ee15c9b43 /lib/command_graph.h
parent39fb395f7d628279c02c245028a6ab6029d272d7 (diff)
lib: Add docstring support
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/command_graph.h')
-rw-r--r--lib/command_graph.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/command_graph.h b/lib/command_graph.h
index e1feb9f77f..c987213633 100644
--- a/lib/command_graph.h
+++ b/lib/command_graph.h
@@ -27,7 +27,8 @@ struct graph_node
vector children; // this node's children
struct graph_node * end; // pointer to end for SELECTOR_GN & OPTION_GN
- char* text; // for WORD_GN and VARIABLE_GN
+ char *text; // original format text
+ char *doc; // docstring for this node
long long value; // for NUMBER_GN
long long min, max; // for RANGE_GN