aboutsummaryrefslogtreecommitdiff
path: root/src/regex
diff options
context:
space:
mode:
Diffstat (limited to 'src/regex')
-rw-r--r--src/regex/regex.c6
-rw-r--r--src/regex/test_regex_iterate_api.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/regex/regex.c b/src/regex/regex.c
index d697aee89..80eb01b9c 100644
--- a/src/regex/regex.c
+++ b/src/regex/regex.c
@@ -192,7 +192,7 @@ struct GNUNET_REGEX_State
192 /** 192 /**
193 * Hash of the state. 193 * Hash of the state.
194 */ 194 */
195 GNUNET_HashCode hash; 195 struct GNUNET_HashCode hash;
196 196
197 /** 197 /**
198 * Proof for this state. 198 * Proof for this state.
@@ -2435,7 +2435,7 @@ GNUNET_REGEX_get_computed_regex (struct GNUNET_REGEX_Automaton *a)
2435 */ 2435 */
2436unsigned int 2436unsigned int
2437GNUNET_REGEX_get_first_key (const char *input_string, unsigned int string_len, 2437GNUNET_REGEX_get_first_key (const char *input_string, unsigned int string_len,
2438 GNUNET_HashCode * key) 2438 struct GNUNET_HashCode * key)
2439{ 2439{
2440 unsigned int size; 2440 unsigned int size;
2441 2441
@@ -2461,7 +2461,7 @@ GNUNET_REGEX_get_first_key (const char *input_string, unsigned int string_len,
2461 * @return GNUNET_OK if the proof is valid for the given key 2461 * @return GNUNET_OK if the proof is valid for the given key
2462 */ 2462 */
2463int 2463int
2464GNUNET_REGEX_check_proof (const char *proof, const GNUNET_HashCode * key) 2464GNUNET_REGEX_check_proof (const char *proof, const struct GNUNET_HashCode * key)
2465{ 2465{
2466 return GNUNET_OK; 2466 return GNUNET_OK;
2467} 2467}
diff --git a/src/regex/test_regex_iterate_api.c b/src/regex/test_regex_iterate_api.c
index 90907baee..a4cef5a51 100644
--- a/src/regex/test_regex_iterate_api.c
+++ b/src/regex/test_regex_iterate_api.c
@@ -28,7 +28,7 @@
28#include "gnunet_regex_lib.h" 28#include "gnunet_regex_lib.h"
29 29
30void 30void
31key_iterator (void *cls, const GNUNET_HashCode * key, const char *proof, 31key_iterator (void *cls, const struct GNUNET_HashCode * key, const char *proof,
32 int accepting, unsigned int num_edges, 32 int accepting, unsigned int num_edges,
33 const struct GNUNET_REGEX_Edge *edges) 33 const struct GNUNET_REGEX_Edge *edges)
34{ 34{