diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-05-14 18:38:29 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-05-14 18:38:29 +0800 |
commit | fa53aba62c4c56ec45aa98029744b74971ac9cdd (patch) | |
tree | 134081a34d25c39c6d935f74ed21e65e735878f8 /openbsc/include | |
parent | 34c0b245fb337c64dc4ced37e3dab19ddcb8fa35 (diff) |
[nat] Make the string -> regexp parsing public
This way it can be used from within a test case to test
the regexps..
Diffstat (limited to 'openbsc/include')
-rw-r--r-- | openbsc/include/openbsc/bsc_nat.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/bsc_nat.h b/openbsc/include/openbsc/bsc_nat.h index b3a12f5c1..ed1e5cd9e 100644 --- a/openbsc/include/openbsc/bsc_nat.h +++ b/openbsc/include/openbsc/bsc_nat.h @@ -292,4 +292,7 @@ int bsc_mgcp_extract_ci(const char *resp); int bsc_write(struct bsc_connection *bsc, struct msgb *msg, int id); +/* regexp handling */ +void bsc_parse_reg(void *ctx, regex_t *reg, char **imsi, int argc, const char **argv); + #endif |