aboutsummaryrefslogtreecommitdiff
path: root/src/regex/regex_internal_lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/regex/regex_internal_lib.h')
-rw-r--r--src/regex/regex_internal_lib.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/regex/regex_internal_lib.h b/src/regex/regex_internal_lib.h
index 96334c1c3..6b69d79eb 100644
--- a/src/regex/regex_internal_lib.h
+++ b/src/regex/regex_internal_lib.h
@@ -170,13 +170,13 @@ struct REGEX_INTERNAL_Search;
170/** 170/**
171 * Announce a regular expression: put all states of the automaton in the DHT. 171 * Announce a regular expression: put all states of the automaton in the DHT.
172 * Does not free resources, must call REGEX_INTERNAL_announce_cancel for that. 172 * Does not free resources, must call REGEX_INTERNAL_announce_cancel for that.
173 * 173 *
174 * @param dht An existing and valid DHT service handle. CANNOT be NULL. 174 * @param dht An existing and valid DHT service handle. CANNOT be NULL.
175 * @param priv our private key, must remain valid until the announcement is cancelled 175 * @param priv our private key, must remain valid until the announcement is cancelled
176 * @param regex Regular expression to announce. 176 * @param regex Regular expression to announce.
177 * @param compression How many characters per edge can we squeeze? 177 * @param compression How many characters per edge can we squeeze?
178 * @param stats Optional statistics handle to report usage. Can be NULL. 178 * @param stats Optional statistics handle to report usage. Can be NULL.
179 * 179 *
180 * @return Handle to reuse o free cached resources. 180 * @return Handle to reuse o free cached resources.
181 * Must be freed by calling REGEX_INTERNAL_announce_cancel. 181 * Must be freed by calling REGEX_INTERNAL_announce_cancel.
182 */ 182 */
@@ -191,7 +191,7 @@ REGEX_INTERNAL_announce (struct GNUNET_DHT_Handle *dht,
191/** 191/**
192 * Announce again a regular expression previously announced. 192 * Announce again a regular expression previously announced.
193 * Does use caching to speed up process. 193 * Does use caching to speed up process.
194 * 194 *
195 * @param h Handle returned by a previous REGEX_INTERNAL_announce call. 195 * @param h Handle returned by a previous REGEX_INTERNAL_announce call.
196 */ 196 */
197void 197void
@@ -201,7 +201,7 @@ REGEX_INTERNAL_reannounce (struct REGEX_INTERNAL_Announcement *h);
201/** 201/**
202 * Clear all cached data used by a regex announce. 202 * Clear all cached data used by a regex announce.
203 * Does not close DHT connection. 203 * Does not close DHT connection.
204 * 204 *
205 * @param h Handle returned by a previous REGEX_INTERNAL_announce call. 205 * @param h Handle returned by a previous REGEX_INTERNAL_announce call.
206 */ 206 */
207void 207void
@@ -236,7 +236,7 @@ typedef void (*REGEX_INTERNAL_Found)(void *cls,
236 * @param callback Callback for found peers. 236 * @param callback Callback for found peers.
237 * @param callback_cls Closure for @c callback. 237 * @param callback_cls Closure for @c callback.
238 * @param stats Optional statistics handle to report usage. Can be NULL. 238 * @param stats Optional statistics handle to report usage. Can be NULL.
239 * 239 *
240 * @return Handle to stop search and free resources. 240 * @return Handle to stop search and free resources.
241 * Must be freed by calling REGEX_INTERNAL_search_cancel. 241 * Must be freed by calling REGEX_INTERNAL_search_cancel.
242 */ 242 */
@@ -250,7 +250,7 @@ REGEX_INTERNAL_search (struct GNUNET_DHT_Handle *dht,
250/** 250/**
251 * Stop search and free all data used by a REGEX_INTERNAL_search call. 251 * Stop search and free all data used by a REGEX_INTERNAL_search call.
252 * Does not close DHT connection. 252 * Does not close DHT connection.
253 * 253 *
254 * @param h Handle returned by a previous REGEX_INTERNAL_search call. 254 * @param h Handle returned by a previous REGEX_INTERNAL_search call.
255 */ 255 */
256void 256void