aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-04-20 15:53:53 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2018-05-04 15:02:24 +0000
commitf28f1ef9afa4edfcbdc32e4d820d23886e0e38b2 (patch)
tree8564d96d6183fa65686b7454e78b621418bb6d8b /include/osmocom
parentad7277073c1a8e24a24969ee38747a7cc74dcd1b (diff)
resurrect meas_feed.c: vty, vty-test
At this point, meas-feed is usable again, however, osmo-bsc is not able to include the IMSI in every report like osmo-nitb did. In consequence, the meas-vis and meas-web tools are unable to handle the current measurement reports: these so far use the IMSI to list reports, and all reports without an IMSI are collapsed onto the same line, swapping values. So though osmo-bsc now sends usable measurement reports via meas-feed, two avenues to improve should be pursued: OS#3192: the visualization tools should use bts,ts,ss numbers, not IMSI. OS#2969: osmo-bsc should always know a mobile identity. Related: OS#2968 Change-Id: I186c7a995dd2b81746c32a58b55da64ed195a1ce
Diffstat (limited to 'include/osmocom')
-rw-r--r--include/osmocom/bsc/meas_feed.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/osmocom/bsc/meas_feed.h b/include/osmocom/bsc/meas_feed.h
index 55bce098e..1849a8932 100644
--- a/include/osmocom/bsc/meas_feed.h
+++ b/include/osmocom/bsc/meas_feed.h
@@ -1,5 +1,4 @@
-#ifndef _OPENBSC_MEAS_FEED_H
-#define _OPENBSC_MEAS_FEED_H
+#pragma once
#include <stdint.h>
@@ -37,5 +36,8 @@ enum meas_feed_msgtype {
#define MEAS_FEED_VERSION 1
+int meas_feed_cfg_set(const char *dst_host, uint16_t dst_port);
+void meas_feed_scenario_set(const char *name);
-#endif
+void meas_feed_cfg_get(char **host, uint16_t *port);
+const char *meas_feed_scenario_get(void);