aboutsummaryrefslogtreecommitdiff
path: root/src/regex/regex_block_lib.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-06-20 08:32:50 +0000
committerChristian Grothoff <christian@grothoff.org>2013-06-20 08:32:50 +0000
commit21a2b4f95b4488645ba5a6254fcb8919c4915f73 (patch)
tree00c92cb7103cc14fba7e63e8dee99fe711856863 /src/regex/regex_block_lib.c
parent5533b105943b4f6dd688c1758350cd83ebeab3b9 (diff)
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.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/regex/regex_block_lib.c b/src/regex/regex_block_lib.c
index 2c0e185f1e..383cf56262 100644
--- a/src/regex/regex_block_lib.c
+++ b/src/regex/regex_block_lib.c
@@ -92,7 +92,7 @@ check_edge (void *cls,
int
-GNUNET_REGEX_block_check (const struct RegexBlock *block,
+REGEX_ITERNAL_block_check (const struct RegexBlock *block,
size_t size,
const char *xquery)
{
@@ -109,7 +109,7 @@ GNUNET_REGEX_block_check (const struct RegexBlock *block,
ctx.xquery = xquery;
ctx.found = GNUNET_NO;
ctx.key = GNUNET_strdup (GNUNET_h2s (&block->key));
- res = GNUNET_REGEX_block_iterate (block, size, &check_edge, &ctx);
+ res = REGEX_ITERNAL_block_iterate (block, size, &check_edge, &ctx);
GNUNET_free (ctx.key);
if (GNUNET_SYSERR == res)
return GNUNET_SYSERR;
@@ -120,9 +120,9 @@ GNUNET_REGEX_block_check (const struct RegexBlock *block,
int
-GNUNET_REGEX_block_iterate (const struct RegexBlock *block,
+REGEX_ITERNAL_block_iterate (const struct RegexBlock *block,
size_t size,
- GNUNET_REGEX_EgdeIterator iterator,
+ REGEX_ITERNAL_EgdeIterator iterator,
void *iter_cls)
{
struct RegexEdge *edge;