libosmogsm 1.9.0.209-e0c63
Osmocom GSM library
bts_features.c File Reference

osmo-bts features. More...

Functions

 osmo_static_assert (ARRAY_SIZE(osmo_bts_features_descs)==_NUM_BTS_FEAT+1, _bts_features_descs)
 
const char * osmo_bts_feature_name (enum osmo_bts_features feature)
 return description string of a BTS feature (osmo_bts_features_descs). More...
 
 osmo_static_assert (ARRAY_SIZE(osmo_bts_features_names)==_NUM_BTS_FEAT+1, _bts_features_names)
 

Variables

const struct value_string osmo_bts_features_descs []
 
const struct value_string osmo_bts_features_names []
 

Detailed Description

osmo-bts features.

Function Documentation

◆ osmo_bts_feature_name()

const char * osmo_bts_feature_name ( enum osmo_bts_features  feature)

return description string of a BTS feature (osmo_bts_features_descs).

To get the plain feature name, use osmo_bts_features_name() instead.

References get_value_string(), and osmo_bts_features_descs.

◆ osmo_static_assert() [1/2]

osmo_static_assert ( ARRAY_SIZE(osmo_bts_features_descs = =_NUM_BTS_FEAT+1,
_bts_features_descs   
)

References ARRAY_SIZE.

◆ osmo_static_assert() [2/2]

osmo_static_assert ( ARRAY_SIZE(osmo_bts_features_names = =_NUM_BTS_FEAT+1,
_bts_features_names   
)

References ARRAY_SIZE.

Variable Documentation

◆ osmo_bts_features_descs

const struct value_string osmo_bts_features_descs[]

◆ osmo_bts_features_names

const struct value_string osmo_bts_features_names[]

Referenced by osmo_bts_features_name().