aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-sysmo/utils.h
diff options
context:
space:
mode:
authorÁlvaro Neira Ayuso <anayuso@sysmocom.de>2014-05-20 07:42:24 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-05-20 09:45:36 +0200
commitafee0b7929a00500f9c204f3bc7e12f72451e832 (patch)
treefcdbc562a6312d0dbf5e98d7332e9f6a88be6f5b /src/osmo-bts-sysmo/utils.h
parentf5f41e805195c8c3294a9e6a68b10f975fbabbbd (diff)
utils: Classify the OML message using the return type
Classify the OML message and return the manufacturer type or an error. Currently ETSI, ip.access and Osmocom are known. Signed-off-by: Alvaro Neira Ayuso <anayuso@sysmocom.de>
Diffstat (limited to 'src/osmo-bts-sysmo/utils.h')
-rw-r--r--src/osmo-bts-sysmo/utils.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/osmo-bts-sysmo/utils.h b/src/osmo-bts-sysmo/utils.h
index 4f2293aa..b0c624f7 100644
--- a/src/osmo-bts-sysmo/utils.h
+++ b/src/osmo-bts-sysmo/utils.h
@@ -21,6 +21,12 @@ enum manuf_type_id {
OSMOCOM_MANUF_ID,
};
+enum oml_message_type {
+ OML_MSG_TYPE_ETSI,
+ OML_MSG_TYPE_IPA,
+ OML_MSG_TYPE_OSMO,
+};
+
static const char osmocom_magic[] = "org.osmocom";
static const char ipaccess_magic[] = "com.ipaccess";