diff options
author | Harald Welte <laforge@gnumonks.org> | 2009-03-10 19:43:44 +0000 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2009-03-10 19:43:44 +0000 |
commit | 4d87f24e6ff2aaa75b1e29f2903d5e370280e5ba (patch) | |
tree | f7127b6ee92e2dd9f32828a0663322d140c9a8df /include | |
parent | 44d542eba58d3584d3f1fd344f512cd56034693d (diff) |
export nm_*_name() functions to get operational and availability state to strings
Diffstat (limited to 'include')
-rw-r--r-- | include/openbsc/abis_nm.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 */ |