summaryrefslogtreecommitdiff
path: root/lib/command_graph.h
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2016-07-21 21:38:03 +0000
committerQuentin Young <qlyoung@cumulusnetworks.com>2016-07-21 21:38:03 +0000
commit18be0e599d1ba666e59a3d027e973eb41798f46f (patch)
tree2d813d4a693a8af73e405aaec147e225c72b61ec /lib/command_graph.h
parent9d0662e009c0cf4532b88c9a1fb0f7c0dc174584 (diff)
lib: Mostly complete matcher
Input matching and completions works. Still some rough edges. Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/command_graph.h')
-rw-r--r--lib/command_graph.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/command_graph.h b/lib/command_graph.h
index 8d23577d37..081ecaac4c 100644
--- a/lib/command_graph.h
+++ b/lib/command_graph.h
@@ -82,4 +82,11 @@ new_node(enum graph_node_type);
extern void
walk_graph(struct graph_node *, int);
+/**
+ * Returns a string representation of the given node.
+ * @param[in] the node to describe
+ * @return pointer to description string
+ */
+extern const char *
+describe_node(struct graph_node *);
#endif