blob: 5a81cd1370121bef290c97b377a7399deec1ec13 [file] [log] [blame]
Holger Hans Peter Freytherbd76fab2010-09-16 00:20:56 +08001/*
Holger Hans Peter Freytherdc030962013-01-07 17:30:13 +01002 * (C) 2010-2013 by Holger Hans Peter Freyther <zecke@selfish.org>
3 * (C) 2010-2013 by On-Waves
Holger Hans Peter Freytherbd76fab2010-09-16 00:20:56 +08004 * All Rights Reserved
5 *
6 * This program is free software; you can redistribute it and/or modify
Harald Welte9af6ddf2011-01-01 15:25:50 +01007 * it under the terms of the GNU Affero General Public License as published by
8 * the Free Software Foundation; either version 3 of the License, or
Holger Hans Peter Freytherbd76fab2010-09-16 00:20:56 +08009 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
Harald Welte9af6ddf2011-01-01 15:25:50 +010014 * GNU Affero General Public License for more details.
Holger Hans Peter Freytherbd76fab2010-09-16 00:20:56 +080015 *
Harald Welte9af6ddf2011-01-01 15:25:50 +010016 * You should have received a copy of the GNU Affero General Public License
17 * along with this program. If not, see <http://www.gnu.org/licenses/>.
Holger Hans Peter Freytherbd76fab2010-09-16 00:20:56 +080018 *
19 */
20
21#ifndef OSMO_BSC_GRACE_H
22#define OSMO_BSC_GRACE_H
23
Neels Hofmeyr150abff2017-01-25 16:14:25 +010024#include <openbsc/gsm_data.h>
Neels Hofmeyr6d804b12017-02-18 22:20:46 +010025#include <openbsc/signal.h>
Holger Hans Peter Freytherbd76fab2010-09-16 00:20:56 +080026
Neels Hofmeyra369e242017-02-23 21:57:23 +010027struct bsc_msc_data;
Holger Hans Peter Freytherdc030962013-01-07 17:30:13 +010028
Holger Hans Peter Freyther3d119f12012-08-30 16:43:28 +020029int bsc_grace_allow_new_connection(struct gsm_network *net, struct gsm_bts *bts);
Neels Hofmeyr6d804b12017-02-18 22:20:46 +010030int bsc_grace_paging_request(enum signal_rf rf_policy,
31 struct bsc_subscr *subscr,
32 int chan_needed,
33 struct bsc_msc_data *msc);
Holger Hans Peter Freytherbd76fab2010-09-16 00:20:56 +080034
35#endif