diff options
author | Sylvain Munaut <tnt@246tNt.com> | 2010-09-17 14:40:56 +0200 |
---|---|---|
committer | Sylvain Munaut <tnt@246tNt.com> | 2010-09-17 14:40:56 +0200 |
commit | 8f553d57cb44c8797d456a27adfb6637aa1bd1c6 (patch) | |
tree | f3d908122b9f00bbf49ade0e839ff43e5ea04f27 /src/shared/libosmocore/include/osmocom | |
parent | 66d8352a24a0dae83605b7e31c0e0427365ce1ac (diff) | |
parent | af5ee34c353ea2868a4b04b227bc1b511e1ac42b (diff) |
Merge commit 'af5ee34c353ea2868a4b04b227bc1b511e1ac42b'
Diffstat (limited to 'src/shared/libosmocore/include/osmocom')
-rw-r--r-- | src/shared/libosmocore/include/osmocom/vty/vty.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/shared/libosmocore/include/osmocom/vty/vty.h b/src/shared/libosmocore/include/osmocom/vty/vty.h index e7399ba1..8035585d 100644 --- a/src/shared/libosmocore/include/osmocom/vty/vty.h +++ b/src/shared/libosmocore/include/osmocom/vty/vty.h @@ -133,6 +133,7 @@ struct vty_app_info { 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. */ @@ -154,6 +155,8 @@ int vty_config_unlock (struct vty *); int vty_shell (struct vty *); int vty_shell_serv (struct vty *); void vty_hello (struct vty *); +void *vty_current_index(struct vty *); +int vty_current_node(struct vty *vty); -void *tall_vty_ctx; +extern void *tall_vty_ctx; #endif |