diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/Makefile.am | 3 | ||||
-rw-r--r-- | include/bsc_data.h | 8 | ||||
-rw-r--r-- | include/isup_filter.h | 29 |
3 files changed, 37 insertions, 3 deletions
diff --git a/include/Makefile.am b/include/Makefile.am index c46e698..aff4e37 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -2,6 +2,7 @@ noinst_HEADERS = mtp_level3.h mtp_data.h ipaccess.h thread.h mtp_pcap.h \ mgcp_ss7.h bss_patch.h bssap_sccp.h bsc_data.h udp_input.h \ snmp_mtp.h cellmgr_debug.h bsc_sccp.h bsc_ussd.h sctp_m2ua.h \ isup_types.h counter.h msc_connection.h ss7_application.h \ - mgcp_patch.h ss7_vty.h dtmf_scheduler.h mgcp_callagent.h + mgcp_patch.h ss7_vty.h dtmf_scheduler.h mgcp_callagent.h \ + isup_filter.h SUBDIRS = mgcp diff --git a/include/bsc_data.h b/include/bsc_data.h index ecd0747..b1e0fbe 100644 --- a/include/bsc_data.h +++ b/include/bsc_data.h @@ -1,7 +1,7 @@ /* Everything related to the BSC connection */ /* - * (C) 2010-2011 by Holger Hans Peter Freyther <zecke@selfish.org> - * (C) 2010-2011 by On-Waves + * (C) 2010-2012 by Holger Hans Peter Freyther <zecke@selfish.org> + * (C) 2010-2012 by On-Waves * All Rights Reserved * * This program is free software: you can redistribute it and/or modify @@ -23,6 +23,7 @@ #define BSC_DATA_H #include "mtp_data.h" +#include "mgcp_callagent.h" #include <osmocom/core/linuxlist.h> #include <osmocom/core/select.h> @@ -92,6 +93,9 @@ struct bsc_data { struct llist_head mscs; int num_mscs; + /* Simple send only mgcp agent */ + struct mgcp_callagent mgcp_agent; + /* application */ struct llist_head apps; int num_apps; diff --git a/include/isup_filter.h b/include/isup_filter.h new file mode 100644 index 0000000..2c56f73 --- /dev/null +++ b/include/isup_filter.h @@ -0,0 +1,29 @@ +/* + * (C) 2012 by Holger Hans Peter Freyther + * (C) 2012 by On-Waves + * All Rights Reserved + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * + */ + +#ifndef isup_filter_h +#define isup_filter_h + +struct ss7_application; +struct msgb; + +int isup_scan_for_reset(struct ss7_application *app, struct msgb *msg); + +#endif |