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.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/regex/regex_block_lib.h') diff --git a/src/regex/regex_block_lib.h b/src/regex/regex_block_lib.h index ad4884f4d..79bd20a1e 100644 --- a/src/regex/regex_block_lib.h +++ b/src/regex/regex_block_lib.h @@ -43,7 +43,7 @@ extern "C" /** * Edge representation. */ -struct REGEX_INTERNAL_Edge +struct REGEX_BLOCK_Edge { /** * Label of the edge. FIXME: might want to not consume exactly multiples of 8 bits, need length! @@ -70,12 +70,12 @@ struct REGEX_INTERNAL_Edge * GNUNET_SYSERR if the block is invalid. */ int -REGEX_INTERNAL_block_check (const struct RegexBlock *block, +REGEX_BLOCK_check (const struct RegexBlock *block, size_t size, const char *xquery); -/* FIXME: might want to use 'struct REGEX_INTERNAL_Edge' here instead of 3 arguments! */ +/* FIXME: might want to use 'struct REGEX_BLOCK_Edge' here instead of 3 arguments! */ /** * Iterator over edges in a block. @@ -110,7 +110,7 @@ typedef int (*REGEX_INTERNAL_EgdeIterator)(void *cls, * be errors in further edges. */ 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); @@ -125,10 +125,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