aboutsummaryrefslogtreecommitdiff
path: root/src/regex/regex_block_lib.h
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.h
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.h')
-rw-r--r--src/regex/regex_block_lib.h12
1 files changed, 6 insertions, 6 deletions
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"
43/** 43/**
44 * Edge representation. 44 * Edge representation.
45 */ 45 */
46struct REGEX_INTERNAL_Edge 46struct REGEX_BLOCK_Edge
47{ 47{
48 /** 48 /**
49 * Label of the edge. FIXME: might want to not consume exactly multiples of 8 bits, need length! 49 * 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
70 * GNUNET_SYSERR if the block is invalid. 70 * GNUNET_SYSERR if the block is invalid.
71 */ 71 */
72int 72int
73REGEX_INTERNAL_block_check (const struct RegexBlock *block, 73REGEX_BLOCK_check (const struct RegexBlock *block,
74 size_t size, 74 size_t size,
75 const char *xquery); 75 const char *xquery);
76 76
77 77
78/* FIXME: might want to use 'struct REGEX_INTERNAL_Edge' here instead of 3 arguments! */ 78/* FIXME: might want to use 'struct REGEX_BLOCK_Edge' here instead of 3 arguments! */
79 79
80/** 80/**
81 * Iterator over edges in a block. 81 * Iterator over edges in a block.
@@ -110,7 +110,7 @@ typedef int (*REGEX_INTERNAL_EgdeIterator)(void *cls,
110 * be errors in further edges. 110 * be errors in further edges.
111 */ 111 */
112int 112int
113REGEX_INTERNAL_block_iterate (const struct RegexBlock *block, 113REGEX_BLOCK_iterate (const struct RegexBlock *block,
114 size_t size, 114 size_t size,
115 REGEX_INTERNAL_EgdeIterator iterator, 115 REGEX_INTERNAL_EgdeIterator iterator,
116 void *iter_cls); 116 void *iter_cls);
@@ -125,10 +125,10 @@ REGEX_INTERNAL_block_iterate (const struct RegexBlock *block,
125 * @return the regex block 125 * @return the regex block
126 */ 126 */
127struct RegexBlock * 127struct RegexBlock *
128REGEX_INTERNAL_block_create (const struct GNUNET_HashCode *key, 128REGEX_BLOCK_create (const struct GNUNET_HashCode *key,
129 const char *proof, 129 const char *proof,
130 unsigned int num_edges, 130 unsigned int num_edges,
131 const struct REGEX_INTERNAL_Edge *edges, 131 const struct REGEX_BLOCK_Edge *edges,
132 int accepting, 132 int accepting,
133 size_t *rsize); 133 size_t *rsize);
134 134