From 9058f938b0a651aaa3345755b76395c3385d246d Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 26 Jun 2013 11:51:44 +0000 Subject: -renaming symbols of the block library to use the REGEX_BLOCK_ prefix and not the REGEX_INTERNAL_ prefix --- src/regex/regex_block_lib.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 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 052c712c1..851bdba14 100644 --- a/src/regex/regex_block_lib.c +++ b/src/regex/regex_block_lib.c @@ -82,7 +82,7 @@ check_edge (void *cls, int -REGEX_INTERNAL_block_check (const struct RegexBlock *block, +REGEX_BLOCK_check (const struct RegexBlock *block, size_t size, const char *xquery) { @@ -98,7 +98,7 @@ REGEX_INTERNAL_block_check (const struct RegexBlock *block, ctx.xquery = xquery; ctx.found = GNUNET_NO; ctx.key = GNUNET_strdup (GNUNET_h2s (&block->key)); - res = REGEX_INTERNAL_block_iterate (block, size, &check_edge, &ctx); + res = REGEX_BLOCK_iterate (block, size, &check_edge, &ctx); GNUNET_free (ctx.key); if (GNUNET_SYSERR == res) return GNUNET_SYSERR; @@ -109,7 +109,7 @@ REGEX_INTERNAL_block_check (const struct RegexBlock *block, int -REGEX_INTERNAL_block_iterate (const struct RegexBlock *block, +REGEX_BLOCK_iterate (const struct RegexBlock *block, size_t size, REGEX_INTERNAL_EgdeIterator iterator, void *iter_cls) @@ -191,10 +191,10 @@ REGEX_INTERNAL_block_iterate (const struct RegexBlock *block, * @return the regex block */ struct RegexBlock * -REGEX_INTERNAL_block_create (const struct GNUNET_HashCode *key, +REGEX_BLOCK_create (const struct GNUNET_HashCode *key, const char *proof, unsigned int num_edges, - const struct REGEX_INTERNAL_Edge *edges, + const struct REGEX_BLOCK_Edge *edges, int accepting, size_t *rsize) { -- cgit v1.2.3