aboutsummaryrefslogtreecommitdiff
path: root/src/regex/regex_block_lib.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-06-26 11:51:44 +0000
committerChristian Grothoff <christian@grothoff.org>2013-06-26 11:51:44 +0000
commit9058f938b0a651aaa3345755b76395c3385d246d (patch)
treec21583b85693e152de8af325c014eb52c716919d /src/regex/regex_block_lib.c
parent5f38f9933e6f19fcef0ded8aad3d6db4e6cbb666 (diff)
-renaming symbols of the block library to use the REGEX_BLOCK_ prefix and not the REGEX_INTERNAL_ prefix
Diffstat (limited to 'src/regex/regex_block_lib.c')
-rw-r--r--src/regex/regex_block_lib.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/regex/regex_block_lib.c b/src/regex/regex_block_lib.c
index 052c712c19..851bdba14d 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)
{