diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-06-20 08:32:50 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-06-20 08:32:50 +0000 |
commit | 21a2b4f95b4488645ba5a6254fcb8919c4915f73 (patch) | |
tree | 00c92cb7103cc14fba7e63e8dee99fe711856863 /src/regex/regex_block_lib.c | |
parent | 5533b105943b4f6dd688c1758350cd83ebeab3b9 (diff) | |
download | gnunet-21a2b4f95b4488645ba5a6254fcb8919c4915f73.tar.gz gnunet-21a2b4f95b4488645ba5a6254fcb8919c4915f73.zip |
continuing refactoring of regex library structure, disambiguating symbol names between old regex library which is now internal and the public API; moving IP-to-regex conversion functions to tun library, as only vpn is using those to begin with
Diffstat (limited to 'src/regex/regex_block_lib.c')
-rw-r--r-- | src/regex/regex_block_lib.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/regex/regex_block_lib.c b/src/regex/regex_block_lib.c index 2c0e185f1..383cf5626 100644 --- a/src/regex/regex_block_lib.c +++ b/src/regex/regex_block_lib.c | |||
@@ -92,7 +92,7 @@ check_edge (void *cls, | |||
92 | 92 | ||
93 | 93 | ||
94 | int | 94 | int |
95 | GNUNET_REGEX_block_check (const struct RegexBlock *block, | 95 | REGEX_ITERNAL_block_check (const struct RegexBlock *block, |
96 | size_t size, | 96 | size_t size, |
97 | const char *xquery) | 97 | const char *xquery) |
98 | { | 98 | { |
@@ -109,7 +109,7 @@ GNUNET_REGEX_block_check (const struct RegexBlock *block, | |||
109 | ctx.xquery = xquery; | 109 | ctx.xquery = xquery; |
110 | ctx.found = GNUNET_NO; | 110 | ctx.found = GNUNET_NO; |
111 | ctx.key = GNUNET_strdup (GNUNET_h2s (&block->key)); | 111 | ctx.key = GNUNET_strdup (GNUNET_h2s (&block->key)); |
112 | res = GNUNET_REGEX_block_iterate (block, size, &check_edge, &ctx); | 112 | res = REGEX_ITERNAL_block_iterate (block, size, &check_edge, &ctx); |
113 | GNUNET_free (ctx.key); | 113 | GNUNET_free (ctx.key); |
114 | if (GNUNET_SYSERR == res) | 114 | if (GNUNET_SYSERR == res) |
115 | return GNUNET_SYSERR; | 115 | return GNUNET_SYSERR; |
@@ -120,9 +120,9 @@ GNUNET_REGEX_block_check (const struct RegexBlock *block, | |||
120 | 120 | ||
121 | 121 | ||
122 | int | 122 | int |
123 | GNUNET_REGEX_block_iterate (const struct RegexBlock *block, | 123 | REGEX_ITERNAL_block_iterate (const struct RegexBlock *block, |
124 | size_t size, | 124 | size_t size, |
125 | GNUNET_REGEX_EgdeIterator iterator, | 125 | REGEX_ITERNAL_EgdeIterator iterator, |
126 | void *iter_cls) | 126 | void *iter_cls) |
127 | { | 127 | { |
128 | struct RegexEdge *edge; | 128 | struct RegexEdge *edge; |