From 4d87f24e6ff2aaa75b1e29f2903d5e370280e5ba Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Tue, 10 Mar 2009 19:43:44 +0000 Subject: export nm_*_name() functions to get operational and availability state to strings --- include/openbsc/abis_nm.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/openbsc/abis_nm.h') diff --git a/include/openbsc/abis_nm.h b/include/openbsc/abis_nm.h index c280c8915..73bb19c48 100644 --- a/include/openbsc/abis_nm.h +++ b/include/openbsc/abis_nm.h @@ -569,4 +569,6 @@ enum nm_evt { int nm_state_event(enum nm_evt evt, u_int8_t obj_class, void *obj, struct gsm_nm_state *old_state, struct gsm_nm_state *new_state); +const char *nm_opstate_name(u_int8_t os); +const char *nm_avail_name(u_int8_t avail); #endif /* _NM_H */ -- cgit v1.2.3