diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-10-21 10:59:54 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-10-27 10:40:43 +0200 |
commit | 76424392e08fcea56e665295830a9fdcc6dba5b5 (patch) | |
tree | cff9e35ebed3e333c1a7c6490f950d27c2613dab /openbsc/include/openbsc/bsc_nat.h | |
parent | 0586b0fa47d9bfd4b981e2800b703fc917a8c90a (diff) |
nat: Add vty option for number rewriting
Parse a msg file in case we do have a list.
Diffstat (limited to 'openbsc/include/openbsc/bsc_nat.h')
-rw-r--r-- | openbsc/include/openbsc/bsc_nat.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/bsc_nat.h b/openbsc/include/openbsc/bsc_nat.h index acecba7de..083746f68 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; |