summaryrefslogtreecommitdiffstats
path: root/include/osmocom/vty/command.h
diff options
context:
space:
mode:
authorHarald Welte2010-05-25 23:00:45 +0200
committerHarald Welte2010-05-25 23:38:19 +0200
commit237f6241f2b91a81b928ce4e3fc1364f61f11eaa (patch)
tree55367ceed33587f5511857a39d2f10448300a873 /include/osmocom/vty/command.h
parentrename log_info to osmo_log_info to avoid namespace clash with app (diff)
downloadlibosmocore-237f6241f2b91a81b928ce4e3fc1364f61f11eaa.tar.gz
libosmocore-237f6241f2b91a81b928ce4e3fc1364f61f11eaa.tar.xz
libosmocore-237f6241f2b91a81b928ce4e3fc1364f61f11eaa.zip
[VTY] Introduce "struct vty_app_info" for vty_init() function
Diffstat (limited to 'include/osmocom/vty/command.h')
-rw-r--r--include/osmocom/vty/command.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/osmocom/vty/command.h b/include/osmocom/vty/command.h
index 1db8ffe..0136f57 100644
--- a/include/osmocom/vty/command.h
+++ b/include/osmocom/vty/command.h
@@ -58,9 +58,7 @@ struct host {
const char *motd;
char *motdfile;
- const char *prog_name;
- const char *prog_version;
- const char *prog_copyright;
+ const struct vty_app_info *app_info;
};
/* There are some command levels which called from command node. */
@@ -387,6 +385,4 @@ void print_version(int print_copyright);
extern void *tall_vty_cmd_ctx;
-enum node_type (*vty_go_parent_cb)(struct vty *vty);
-
#endif /* _ZEBRA_COMMAND_H */