aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/osmo_bsc_grace.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-09-16 00:20:56 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-09-16 00:20:56 +0800
commitbd76fab9cb6f7b452ae225b4dc0b07ac8128fc76 (patch)
tree79b07fcadc4f5ab48b39644bc17c4996b9f44e15 /openbsc/include/openbsc/osmo_bsc_grace.h
parent0ab63d73c1527565b70da00a14bba86f42377776 (diff)
bsc: Add the osmo_bsc_grace from the on-waves/bsc-master branch
The grace code will decide if a given connection is allowed to be made or if it is going to be rejected. For active connections it is going to send a USSD message.
Diffstat (limited to 'openbsc/include/openbsc/osmo_bsc_grace.h')
-rw-r--r--openbsc/include/openbsc/osmo_bsc_grace.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/osmo_bsc_grace.h b/openbsc/include/openbsc/osmo_bsc_grace.h
new file mode 100644
index 000000000..fef8a20da
--- /dev/null
+++ b/openbsc/include/openbsc/osmo_bsc_grace.h
@@ -0,0 +1,29 @@
+/*
+ * (C) 2010 by Holger Hans Peter Freyther <zecke@selfish.org>
+ * (C) 2010 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 General Public License as published by
+ * the Free Software Foundation; either version 2 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ */
+
+#ifndef OSMO_BSC_GRACE_H
+#define OSMO_BSC_GRACE_H
+
+#include "gsm_data.h"
+
+int bsc_grace_allow_new_connection(struct gsm_network *network);
+
+#endif