diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-06-26 12:16:38 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-06-26 12:16:38 +0000 |
commit | 7c7ab1f51ee370790f279573643319c754ba67f4 (patch) | |
tree | 15852f1f9582c6df771b9a5c4eb1d6244d1c8826 /src | |
parent | 248fc3245a98731cf6fbb1bf460cd4e2e2d56de8 (diff) | |
download | gnunet-7c7ab1f51ee370790f279573643319c754ba67f4.tar.gz gnunet-7c7ab1f51ee370790f279573643319c754ba67f4.zip |
-renaming symbols of the block library to use the REGEX_BLOCK_ prefix and not the REGEX_INTERNAL_ prefix
Diffstat (limited to 'src')
-rw-r--r-- | src/regex/regex_block_lib.c | 4 | ||||
-rw-r--r-- | src/regex/regex_block_lib.h | 2 | ||||
-rw-r--r-- | src/regex/test_regex_iterate_api.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/regex/regex_block_lib.c b/src/regex/regex_block_lib.c index 83b61b7c6..bd3ec9679 100644 --- a/src/regex/regex_block_lib.c +++ b/src/regex/regex_block_lib.c | |||
@@ -39,7 +39,7 @@ | |||
39 | * @return GNUNET_OK if the proof is valid for the given key. | 39 | * @return GNUNET_OK if the proof is valid for the given key. |
40 | */ | 40 | */ |
41 | int | 41 | int |
42 | REGEX_INTERNAL_check_proof (const char *proof, | 42 | REGEX_BLOCK_check_proof (const char *proof, |
43 | size_t proof_len, | 43 | size_t proof_len, |
44 | const struct GNUNET_HashCode *key) | 44 | const struct GNUNET_HashCode *key) |
45 | { | 45 | { |
@@ -140,7 +140,7 @@ REGEX_BLOCK_check (const struct RegexBlock *block, | |||
140 | GNUNET_break_op (0); | 140 | GNUNET_break_op (0); |
141 | return GNUNET_SYSERR; | 141 | return GNUNET_SYSERR; |
142 | } | 142 | } |
143 | if (GNUNET_OK != REGEX_INTERNAL_check_proof ((const char *) &block[1], len, &block->key)) | 143 | if (GNUNET_OK != REGEX_BLOCK_check_proof ((const char *) &block[1], len, &block->key)) |
144 | { | 144 | { |
145 | GNUNET_break_op (0); | 145 | GNUNET_break_op (0); |
146 | return GNUNET_SYSERR; | 146 | return GNUNET_SYSERR; |
diff --git a/src/regex/regex_block_lib.h b/src/regex/regex_block_lib.h index fb1c91353..985296b4f 100644 --- a/src/regex/regex_block_lib.h +++ b/src/regex/regex_block_lib.h | |||
@@ -67,7 +67,7 @@ struct REGEX_BLOCK_Edge | |||
67 | * @return GNUNET_OK if the proof is valid for the given key. | 67 | * @return GNUNET_OK if the proof is valid for the given key. |
68 | */ | 68 | */ |
69 | int | 69 | int |
70 | REGEX_INTERNAL_check_proof (const char *proof, | 70 | REGEX_BLOCK_check_proof (const char *proof, |
71 | size_t proof_len, | 71 | size_t proof_len, |
72 | const struct GNUNET_HashCode *key); | 72 | const struct GNUNET_HashCode *key); |
73 | 73 | ||
diff --git a/src/regex/test_regex_iterate_api.c b/src/regex/test_regex_iterate_api.c index 060288897..acbdf9f44 100644 --- a/src/regex/test_regex_iterate_api.c +++ b/src/regex/test_regex_iterate_api.c | |||
@@ -103,7 +103,7 @@ key_iterator (void *cls, const struct GNUNET_HashCode *key, | |||
103 | ctx->match_count++; | 103 | ctx->match_count++; |
104 | } | 104 | } |
105 | 105 | ||
106 | if (GNUNET_OK != REGEX_INTERNAL_check_proof (proof, strlen (proof), key)) | 106 | if (GNUNET_OK != REGEX_BLOCK_check_proof (proof, strlen (proof), key)) |
107 | { | 107 | { |
108 | ctx->error++; | 108 | ctx->error++; |
109 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, | 109 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, |