diff options
Diffstat (limited to 'openbsc/include/openbsc')
-rw-r--r-- | openbsc/include/openbsc/osmo_msc_data.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/openbsc/include/openbsc/osmo_msc_data.h b/openbsc/include/openbsc/osmo_msc_data.h index 384549ec0..0f3f92724 100644 --- a/openbsc/include/openbsc/osmo_msc_data.h +++ b/openbsc/include/openbsc/osmo_msc_data.h @@ -1,8 +1,8 @@ /* * Data for the true BSC * - * (C) 2010 by Holger Hans Peter Freyther <zecke@selfish.org> - * (C) 2010 by On-Waves + * (C) 2010-2011 by Holger Hans Peter Freyther <zecke@selfish.org> + * (C) 2010-2011 by On-Waves * All Rights Reserved * * This program is free software; you can redistribute it and/or modify @@ -36,6 +36,8 @@ struct gsm_audio_support { }; struct osmo_msc_data { + struct llist_head entry; + /* Back pointer */ struct gsm_network *network; @@ -62,6 +64,8 @@ struct osmo_msc_data { /* mgcp agent */ struct osmo_wqueue mgcp_agent; + + int nr; }; /* @@ -71,7 +75,7 @@ struct osmo_bsc_data { struct gsm_network *network; /* msc configuration */ - struct osmo_msc_data msc; + struct llist_head mscs; /* rf ctl related bits */ char *mid_call_txt; @@ -87,4 +91,8 @@ int msc_queue_write(struct bsc_msc_connection *conn, struct msgb *msg, int proto int osmo_bsc_audio_init(struct gsm_network *network); +struct osmo_msc_data *osmo_msc_data_find(struct gsm_network *, int); +struct osmo_msc_data *osmo_msc_data_alloc(struct gsm_network *, int); + + #endif |