commit | 8f09f01380dc6c798782fc06bf51e90bd5f7cf40 | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <zecke@selfish.org> | Wed Aug 25 17:34:56 2010 +0800 |
committer | Holger Hans Peter Freyther <zecke@selfish.org> | Thu Aug 26 15:00:52 2010 +0800 |
tree | e722ad668713dfd0b21397c4c12840d460aec82a | |
parent | 50cfb780d229919fbe6b49fde627becdd3cd3d97 [diff] |
vty: Add a new callback to let code decide if it is a config node or not
diff --git a/include/osmocom/vty/vty.h b/include/osmocom/vty/vty.h index e7399ba..71b6be0 100644 --- a/include/osmocom/vty/vty.h +++ b/include/osmocom/vty/vty.h
@@ -133,6 +133,7 @@ const char *copyright; void *tall_ctx; enum node_type (*go_parent_cb)(struct vty *vty); + int (*is_config_node)(struct vty *vty, int node); }; /* Prototypes. */