mirror of https://gerrit.osmocom.org/libosmocore
OML: add external alerts
Add special cause for alerts produced by external processes. Change-Id: Idd7ee085321f8172c72ecfdba320186049f4d988 Related: OS#1615
This commit is contained in:
parent
6030ce844e
commit
319f321da5
|
@ -275,6 +275,8 @@ enum abis_mm_event_causes {
|
|||
OSMO_EVT_MIN_PAG_TAB_FULL = 0x0401,
|
||||
/* Warning causes */
|
||||
OSMO_EVT_WARN_SW_WARN = 0x0001,
|
||||
/* External causes */
|
||||
OSMO_EVT_EXT_ALARM = 0xfeed,
|
||||
};
|
||||
|
||||
extern const struct value_string abis_mm_event_cause_names[];
|
||||
|
|
|
@ -161,6 +161,7 @@ const struct value_string abis_mm_event_cause_names[] = {
|
|||
{ OSMO_EVT_MAJ_NET_CONGEST, "Network congestion" },
|
||||
{ OSMO_EVT_MIN_PAG_TAB_FULL, "Paging table full" },
|
||||
{ OSMO_EVT_WARN_SW_WARN, "Software warning" },
|
||||
{ OSMO_EVT_EXT_ALARM, "External alarm" },
|
||||
{ 0, NULL }
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue