aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/bsc_nat.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-10-27 12:41:19 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-10-27 12:41:19 +0200
commit732d9c19bf5c9e50b647ce87f01ac231b1f13c9c (patch)
tree84299874e5cf903d17e174d59e9d6b9f2478f0e0 /openbsc/include/openbsc/bsc_nat.h
parentc4fd45ccf17705792f39c09b51392996ecb2c4f2 (diff)
parent643931db3d235005d8e1fb818275cc322c002692 (diff)
Merge branch 'zecke/number-rewrite'0.9.9
Diffstat (limited to 'openbsc/include/openbsc/bsc_nat.h')
-rw-r--r--openbsc/include/openbsc/bsc_nat.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/bsc_nat.h b/openbsc/include/openbsc/bsc_nat.h
index 7c7dde323..dfc11d534 100644
--- a/openbsc/include/openbsc/bsc_nat.h
+++ b/openbsc/include/openbsc/bsc_nat.h
@@ -28,6 +28,7 @@
#include <osmocore/select.h>
#include <osmocore/msgb.h>
+#include <osmocore/msgfile.h>
#include <osmocore/timer.h>
#include <osmocore/write_queue.h>
#include <osmocore/rate_ctr.h>
@@ -237,6 +238,10 @@ struct bsc_nat {
/* filter */
char *acc_lst_name;
+ /* number rewriting */
+ char *num_rewr_name;
+ struct msg_entries *num_rewr;
+
/* USSD messages we want to match */
char *ussd_lst_name;
char *ussd_query;
@@ -339,4 +344,6 @@ int bsc_ussd_init(struct bsc_nat *nat);
int bsc_check_ussd(struct sccp_connections *con, struct bsc_nat_parsed *parsed, struct msgb *msg);
int bsc_close_ussd_connections(struct bsc_nat *nat);
+struct msgb *bsc_nat_rewrite_setup(struct bsc_nat *nat, struct msgb *msg, struct bsc_nat_parsed *, const char *imsi);
+
#endif