From 5677ae35ba3e4b617c590b46f0f224a15f924e5b Mon Sep 17 00:00:00 2001 From: Holger Freyther Date: Sat, 27 Dec 2008 09:41:03 +0000 Subject: [PATCH] misdn.h forward declare mi_setup --- include/openbsc/misdn.h | 26 ++++++++++++++++++++++++++ src/bsc_hack.c | 1 + 2 files changed, 27 insertions(+) create mode 100644 include/openbsc/misdn.h diff --git a/include/openbsc/misdn.h b/include/openbsc/misdn.h new file mode 100644 index 000000000..f3f198022 --- /dev/null +++ b/include/openbsc/misdn.h @@ -0,0 +1,26 @@ +/* (C) 2008 by Harald Welte + * 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 MISDN_H +#define MISDN_H + +int mi_setup(struct gsm_bts *bts, int cardnr, + void (cb)(int event, struct gsm_bts *bts)); + +#endif diff --git a/src/bsc_hack.c b/src/bsc_hack.c index 384f25d4d..ec178778f 100644 --- a/src/bsc_hack.c +++ b/src/bsc_hack.c @@ -32,6 +32,7 @@ #include #include #include +#include /* global pointer to the gsm network data structure */ static struct gsm_network *gsmnet;