aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_regex_lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_regex_lib.h')
-rw-r--r--src/include/gnunet_regex_lib.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/gnunet_regex_lib.h b/src/include/gnunet_regex_lib.h
index 6e0a41275..c9b884291 100644
--- a/src/include/gnunet_regex_lib.h
+++ b/src/include/gnunet_regex_lib.h
@@ -55,7 +55,7 @@ struct GNUNET_REGEX_Edge
55 /** 55 /**
56 * Destionation of the edge. 56 * Destionation of the edge.
57 */ 57 */
58 GNUNET_HashCode destination; 58 struct GNUNET_HashCode destination;
59}; 59};
60 60
61/** 61/**
@@ -134,7 +134,7 @@ GNUNET_REGEX_get_computed_regex (struct GNUNET_REGEX_Automaton *a);
134 */ 134 */
135unsigned int 135unsigned int
136GNUNET_REGEX_get_first_key (const char *input_string, unsigned int string_len, 136GNUNET_REGEX_get_first_key (const char *input_string, unsigned int string_len,
137 GNUNET_HashCode * key); 137 struct GNUNET_HashCode * key);
138 138
139/** 139/**
140 * Check if the given 'proof' matches the given 'key'. 140 * Check if the given 'proof' matches the given 'key'.
@@ -146,7 +146,7 @@ GNUNET_REGEX_get_first_key (const char *input_string, unsigned int string_len,
146 */ 146 */
147int 147int
148GNUNET_REGEX_check_proof (const char *proof, 148GNUNET_REGEX_check_proof (const char *proof,
149 const GNUNET_HashCode *key); 149 const struct GNUNET_HashCode *key);
150 150
151/** 151/**
152 * Iterator callback function. 152 * Iterator callback function.
@@ -159,7 +159,7 @@ GNUNET_REGEX_check_proof (const char *proof,
159 * @param edges edges leaving current state. 159 * @param edges edges leaving current state.
160 */ 160 */
161typedef void (*GNUNET_REGEX_KeyIterator)(void *cls, 161typedef void (*GNUNET_REGEX_KeyIterator)(void *cls,
162 const GNUNET_HashCode *key, 162 const struct GNUNET_HashCode *key,
163 const char *proof, 163 const char *proof,
164 int accepting, 164 int accepting,
165 unsigned int num_edges, 165 unsigned int num_edges,