diff options
author | Harald Welte <laforge@gnumonks.org> | 2011-09-04 22:42:03 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2011-09-04 22:47:25 +0200 |
commit | 6d7b78bde165f39dcd9033f0c5386f5699801233 (patch) | |
tree | fe80fb89129b7cfc580ec3b11b471c7da2b289ac /include | |
parent | f41f2a7f92d7eea87e3f036a849bf8b131e2b389 (diff) |
add minimal configuration file support
this config file allows configuration of unit id, oml ip,
and local rtp bind IP.
Diffstat (limited to 'include')
-rw-r--r-- | include/osmo-bts/gsm_data.h | 5 | ||||
-rw-r--r-- | include/osmo-bts/vty.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/include/osmo-bts/gsm_data.h b/include/osmo-bts/gsm_data.h index 2498f7d0..85762ae8 100644 --- a/include/osmo-bts/gsm_data.h +++ b/include/osmo-bts/gsm_data.h @@ -8,7 +8,8 @@ #include <osmo-bts/paging.h> struct gsm_network { - + struct llist_head bts_list; + unsigned int num_bts; }; /* data structure for BTS related data specific to the BTS role */ @@ -41,6 +42,8 @@ struct gsm_bts_role_bts { uint8_t max_ta; struct llist_head agch_queue; struct paging_state *paging_state; + char *bsc_oml_host; + char *rtp_bind_host; }; #define bts_role_bts(x) ((struct gsm_bts_role_bts *)(x)->role) diff --git a/include/osmo-bts/vty.h b/include/osmo-bts/vty.h index f0b7ea4b..a8d4e8bf 100644 --- a/include/osmo-bts/vty.h +++ b/include/osmo-bts/vty.h @@ -17,6 +17,8 @@ extern struct cmd_element ournode_end_cmd; enum node_type bts_vty_go_parent(struct vty *vty); int bts_vty_is_config_node(struct vty *vty, int node); +int bts_vty_init(const struct log_info *cat); + extern struct vty_app_info bts_vty_info; #endif |