From 21a2b4f95b4488645ba5a6254fcb8919c4915f73 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 20 Jun 2013 08:32:50 +0000 Subject: 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 --- src/regex/regex_block_lib.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/regex/regex_block_lib.c') 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, 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; -- cgit v1.2.3