diff options
author | Holger Freyther <zecke@selfish.org> | 2008-12-27 09:41:03 +0000 |
---|---|---|
committer | Holger Freyther <zecke@selfish.org> | 2008-12-27 09:41:03 +0000 |
commit | 5677ae35ba3e4b617c590b46f0f224a15f924e5b (patch) | |
tree | 81df2b4d32e47c287e17fbf093c73d973fe6d9f3 | |
parent | 059c254487fa0c68b0e460cab565dc274404c7bf (diff) |
misdn.h forward declare mi_setup
-rw-r--r-- | include/openbsc/misdn.h | 26 | ||||
-rw-r--r-- | src/bsc_hack.c | 1 |
2 files changed, 27 insertions, 0 deletions
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 <laforge@gnumonks.org> + * 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 <openbsc/abis_rsl.h> #include <openbsc/abis_nm.h> #include <openbsc/debug.h> +#include <openbsc/misdn.h> /* global pointer to the gsm network data structure */ static struct gsm_network *gsmnet; |