aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-03-29 12:48:36 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-03-29 12:48:36 +0200
commit5f1b7c14f58c38533b14424009edb8c1711fd122 (patch)
treefd35f10fca741996b1ba84985bf6b0e3227e9a06 /openbsc/include
parent5b3e9198f008fe77e3d748e8e5d00f5af2de1dd9 (diff)
nat: Move creation of the structs to a separate file
This way one can create the bsc_nat structure in unit tests..
Diffstat (limited to 'openbsc/include')
-rw-r--r--openbsc/include/openbsc/bsc_nat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/bsc_nat.h b/openbsc/include/openbsc/bsc_nat.h
index 9aa994865..2f2b8c962 100644
--- a/openbsc/include/openbsc/bsc_nat.h
+++ b/openbsc/include/openbsc/bsc_nat.h
@@ -135,6 +135,8 @@ struct bsc_nat {
/* create and init the structures */
struct bsc_config *bsc_config_alloc(struct bsc_nat *nat, const char *token, unsigned int lac);
struct bsc_config *bsc_config_num(struct bsc_nat *nat, int num);
+struct bsc_nat *bsc_nat_alloc(void);
+struct bsc_connection *bsc_connection_alloc(struct bsc_nat *nat);
/**