diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2015-04-04 22:14:34 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2015-05-03 21:42:28 +0200 |
commit | d04d009f473d89a426c16dd24e5a4c692caf0017 (patch) | |
tree | 5296416239ba4a967f19c18c550a57445dd8c32c /openbsc/include | |
parent | 4579bb1ed7464d66343d84846314ec66e6f8cccd (diff) |
filter: Move VTY code into the filter module
Diffstat (limited to 'openbsc/include')
-rw-r--r-- | openbsc/include/openbsc/bsc_msg_filter.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/bsc_msg_filter.h b/openbsc/include/openbsc/bsc_msg_filter.h index 248a0828b..bff326fc7 100644 --- a/openbsc/include/openbsc/bsc_msg_filter.h +++ b/openbsc/include/openbsc/bsc_msg_filter.h @@ -7,6 +7,8 @@ #include <regex.h> +struct vty; + /* TODO: remove */ struct bsc_nat; struct bsc_nat_parsed; @@ -78,3 +80,5 @@ void bsc_nat_acc_lst_delete(struct bsc_nat_acc_lst *lst); struct bsc_nat_acc_lst_entry *bsc_nat_acc_lst_entry_create(struct bsc_nat_acc_lst *); int bsc_nat_lst_check_allow(struct bsc_nat_acc_lst *lst, const char *imsi); +void bsc_nat_lst_vty_init(struct bsc_nat *nat, int node); +void bsc_nat_acc_lst_write(struct vty *vty, struct bsc_nat_acc_lst *lst); |