diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-06-26 12:16:12 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-06-26 12:16:12 +0000 |
commit | 248fc3245a98731cf6fbb1bf460cd4e2e2d56de8 (patch) | |
tree | c0606c24a1c74d5f507d267b03d267a5cfaf4009 /src/regex/regex_internal_lib.h | |
parent | c0101989bb0864a3688f57370e712c91c14ab1cd (diff) | |
download | gnunet-248fc3245a98731cf6fbb1bf460cd4e2e2d56de8.tar.gz gnunet-248fc3245a98731cf6fbb1bf460cd4e2e2d56de8.zip |
-moving REGEX_INTERNAL_check_proof to libgnunetregexblock, integrating proof check into block plugin
Diffstat (limited to 'src/regex/regex_internal_lib.h')
-rw-r--r-- | src/regex/regex_internal_lib.h | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/src/regex/regex_internal_lib.h b/src/regex/regex_internal_lib.h index 1c8946449..3d4a1b65c 100644 --- a/src/regex/regex_internal_lib.h +++ b/src/regex/regex_internal_lib.h | |||
@@ -108,24 +108,11 @@ REGEX_INTERNAL_get_first_key (const char *input_string, size_t string_len, | |||
108 | 108 | ||
109 | 109 | ||
110 | /** | 110 | /** |
111 | * Check if the given 'proof' matches the given 'key'. | ||
112 | * | ||
113 | * @param proof partial regex of a state. | ||
114 | * @param key hash of a state. | ||
115 | * | ||
116 | * @return GNUNET_OK if the proof is valid for the given key. | ||
117 | */ | ||
118 | int | ||
119 | REGEX_INTERNAL_check_proof (const char *proof, | ||
120 | const struct GNUNET_HashCode *key); | ||
121 | |||
122 | |||
123 | /** | ||
124 | * Iterator callback function. | 111 | * Iterator callback function. |
125 | * | 112 | * |
126 | * @param cls closure. | 113 | * @param cls closure. |
127 | * @param key hash for current state. | 114 | * @param key hash for current state. |
128 | * @param proof proof for current state. | 115 | * @param proof proof for current state |
129 | * @param accepting GNUNET_YES if this is an accepting state, GNUNET_NO if not. | 116 | * @param accepting GNUNET_YES if this is an accepting state, GNUNET_NO if not. |
130 | * @param num_edges number of edges leaving current state. | 117 | * @param num_edges number of edges leaving current state. |
131 | * @param edges edges leaving current state. | 118 | * @param edges edges leaving current state. |