summaryrefslogtreecommitdiffstats
path: root/src/shared/libosmocore/include/osmocom/vty
diff options
context:
space:
mode:
authorSylvain Munaut2010-09-17 14:40:56 +0200
committerSylvain Munaut2010-09-17 14:40:56 +0200
commit8f553d57cb44c8797d456a27adfb6637aa1bd1c6 (patch)
treef3d908122b9f00bbf49ade0e839ff43e5ea04f27 /src/shared/libosmocore/include/osmocom/vty
parent[layer23] Added missing state change (diff)
parentMake sure we don't user std{err,in,out} if they don't exist. (diff)
downloadosmocom-8f553d57cb44c8797d456a27adfb6637aa1bd1c6.tar.gz
osmocom-8f553d57cb44c8797d456a27adfb6637aa1bd1c6.tar.xz
osmocom-8f553d57cb44c8797d456a27adfb6637aa1bd1c6.zip
Merge commit 'af5ee34c353ea2868a4b04b227bc1b511e1ac42b'
Diffstat (limited to 'src/shared/libosmocore/include/osmocom/vty')
-rw-r--r--src/shared/libosmocore/include/osmocom/vty/vty.h5
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 e7399ba..8035585 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