aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/vty
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2015-10-19 15:14:13 +0200
committerJacob Erlbeck <jerlbeck@sysmocom.de>2015-10-29 00:09:04 +0100
commit45513e6040195f5494d40a2750de4dac7037593f (patch)
tree4064efa34c02047181a78fab4086a228aa832bb1 /include/osmocom/vty
parent7211fe157e1107d4a9c04a0ecf494a7b9633c400 (diff)
stats/vty: Add stats_vty.c
This file will contain the VTY code related to statistics. This commit adds a minimal file with just as single VTY command: - show stats This command shows all statistical values To enable this and future commands, the main program needs to call stats_vty_add_cmds(). Sponsored-by: On-Waves ehf
Diffstat (limited to 'include/osmocom/vty')
-rw-r--r--include/osmocom/vty/stats.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/osmocom/vty/stats.h b/include/osmocom/vty/stats.h
new file mode 100644
index 00000000..eaf854e5
--- /dev/null
+++ b/include/osmocom/vty/stats.h
@@ -0,0 +1,3 @@
+#pragma once
+
+void stats_vty_add_cmds();