diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2016-08-11 17:50:58 +0000 |
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2016-08-11 17:50:58 +0000 |
| commit | 55589d304c7b5765068ae75d5223d4ff634b7fc3 (patch) | |
| tree | 95fd7ad514568d271acdd76357ede52cf488760c /lib/command_graph.h | |
| parent | 9b887497e855b3fbd818a51df7c089c7a9943575 (diff) | |
lib: Refactor CLI interface function names
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/command_graph.h')
| -rw-r--r-- | lib/command_graph.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/command_graph.h b/lib/command_graph.h index e42b8336e5..a2f84e3a0f 100644 --- a/lib/command_graph.h +++ b/lib/command_graph.h @@ -83,7 +83,7 @@ struct graph_node * @return child node */ struct graph_node * -add_node (struct graph_node *parent, struct graph_node *child); +graphnode_add_child (struct graph_node *parent, struct graph_node *child); /** * Creates a new node, initializes all fields to default values and sets the @@ -93,7 +93,7 @@ add_node (struct graph_node *parent, struct graph_node *child); * @return pointer to the created node */ struct graph_node * -new_node (enum graph_node_type type); +graphnode_new (enum graph_node_type type); /** * Deletes a graph node without deleting its children. @@ -101,7 +101,7 @@ new_node (enum graph_node_type type); * @param[out] node pointer to node to delete */ void -delete_node (struct graph_node *node); +graphnode_delete (struct graph_node *node); /** * Deletes a graph node and recursively deletes all its direct and indirect @@ -110,6 +110,6 @@ delete_node (struct graph_node *node); * @param[out] node start node of graph to free */ void -delete_graph (struct graph_node *node); +graphnode_delete_graph (struct graph_node *node); #endif /* _ZEBRA_COMMAND_GRAPH_H */ |
