diff options
author | Harald Welte <laforge@gnumonks.org> | 2016-01-09 12:34:18 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2016-01-22 09:09:09 +0100 |
commit | 611ef23700619f0e8e3a7c0b87f4568c1c09a6c0 (patch) | |
tree | 56caf4c258a6cc155a3c08dd2a17dd3c40cabe80 /include | |
parent | a0192b859ba9230c84381cbf065816760da62ba7 (diff) |
merge bts-specific main function into common/main.c:bts_main()
This removes a lot of copy+paste duplication between different BTS
models.
Diffstat (limited to 'include')
-rw-r--r-- | include/osmo-bts/bts.h | 2 | ||||
-rw-r--r-- | include/osmo-bts/bts_model.h | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/include/osmo-bts/bts.h b/include/osmo-bts/bts.h index 0b91ccbc..9e211864 100644 --- a/include/osmo-bts/bts.h +++ b/include/osmo-bts/bts.h @@ -43,5 +43,7 @@ int trx_ms_pwr_ctrl_is_osmo(struct gsm_bts_trx *trx); struct gsm_time *get_time(struct gsm_bts *bts); +int bts_main(int argc, char **argv); + #endif /* _BTS_H */ diff --git a/include/osmo-bts/bts_model.h b/include/osmo-bts/bts_model.h index 99b957df..41b5e93b 100644 --- a/include/osmo-bts/bts_model.h +++ b/include/osmo-bts/bts_model.h @@ -44,4 +44,7 @@ void bts_model_abis_close(struct gsm_bts *bts); int bts_model_ctrl_cmds_install(struct gsm_bts *bts); +int bts_model_handle_options(int argc, char **argv); +void bts_model_print_help(); + #endif |