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)
downloadgnunet-9058f938b0a651aaa3345755b76395c3385d246d.tar.gz
gnunet-9058f938b0a651aaa3345755b76395c3385d246d.zip
-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 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,
82 82
83 83
84int 84int
85REGEX_INTERNAL_block_check (const struct RegexBlock *block, 85REGEX_BLOCK_check (const struct RegexBlock *block,
86 size_t size, 86 size_t size,
87 const char *xquery) 87 const char *xquery)
88{ 88{
@@ -98,7 +98,7 @@ REGEX_INTERNAL_block_check (const struct RegexBlock *block,
98 ctx.xquery = xquery; 98 ctx.xquery = xquery;
99 ctx.found = GNUNET_NO; 99 ctx.found = GNUNET_NO;
100 ctx.key = GNUNET_strdup (GNUNET_h2s (&block->key)); 100 ctx.key = GNUNET_strdup (GNUNET_h2s (&block->key));
101 res = REGEX_INTERNAL_block_iterate (block, size, &check_edge, &ctx); 101 res = REGEX_BLOCK_iterate (block, size, &check_edge, &ctx);
102 GNUNET_free (ctx.key); 102 GNUNET_free (ctx.key);
103 if (GNUNET_SYSERR == res) 103 if (GNUNET_SYSERR == res)
104 return GNUNET_SYSERR; 104 return GNUNET_SYSERR;
@@ -109,7 +109,7 @@ REGEX_INTERNAL_block_check (const struct RegexBlock *block,
109 109
110 110
111int 111int
112REGEX_INTERNAL_block_iterate (const struct RegexBlock *block, 112REGEX_BLOCK_iterate (const struct RegexBlock *block,
113 size_t size, 113 size_t size,
114 REGEX_INTERNAL_EgdeIterator iterator, 114 REGEX_INTERNAL_EgdeIterator iterator,
115 void *iter_cls) 115 void *iter_cls)
@@ -191,10 +191,10 @@ REGEX_INTERNAL_block_iterate (const struct RegexBlock *block,
191 * @return the regex block 191 * @return the regex block
192 */ 192 */
193struct RegexBlock * 193struct RegexBlock *
194REGEX_INTERNAL_block_create (const struct GNUNET_HashCode *key, 194REGEX_BLOCK_create (const struct GNUNET_HashCode *key,
195 const char *proof, 195 const char *proof,
196 unsigned int num_edges, 196 unsigned int num_edges,
197 const struct REGEX_INTERNAL_Edge *edges, 197 const struct REGEX_BLOCK_Edge *edges,
198 int accepting, 198 int accepting,
199 size_t *rsize) 199 size_t *rsize)
200{ 200{