aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/vty
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2012-03-24 18:26:24 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2012-03-28 17:53:27 +0200
commit738f13395d1d8a005011e45ebbc6a869bbcfd9a6 (patch)
tree8276662e23dbed7d3fa78e09e9d2e1892ac1d333 /include/osmocom/vty
parent8db7020c88480cc586b0379df9753d16e5f99a27 (diff)
vty: Add a function to write the current config to a file.
Diffstat (limited to 'include/osmocom/vty')
-rw-r--r--include/osmocom/vty/misc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/osmocom/vty/misc.h b/include/osmocom/vty/misc.h
index 707f82fa..89234733 100644
--- a/include/osmocom/vty/misc.h
+++ b/include/osmocom/vty/misc.h
@@ -7,4 +7,7 @@
void vty_out_rate_ctr_group(struct vty *vty, const char *prefix,
struct rate_ctr_group *ctrg);
+int osmo_vty_write_config_file(const char *filename);
+int osmo_vty_save_config_file(void);
+
#endif