aboutsummaryrefslogtreecommitdiff
path: root/src/regex/regex_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/regex/regex_internal.h')
-rw-r--r--src/regex/regex_internal.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/regex/regex_internal.h b/src/regex/regex_internal.h
index 49e5dd022..21c498145 100644
--- a/src/regex/regex_internal.h
+++ b/src/regex/regex_internal.h
@@ -267,6 +267,18 @@ struct GNUNET_REGEX_Automaton
267 267
268 268
269/** 269/**
270 * Construct an NFA by parsing the regex string of length 'len'.
271 *
272 * @param regex regular expression string.
273 * @param len length of the string.
274 *
275 * @return NFA, needs to be freed using GNUNET_REGEX_automaton_destroy.
276 */
277struct GNUNET_REGEX_Automaton *
278GNUNET_REGEX_construct_nfa (const char *regex, const size_t len);
279
280
281/**
270 * Function that get's passed to automaton traversal and is called before each 282 * Function that get's passed to automaton traversal and is called before each
271 * next traversal from state 's' using transition 't' to check if traversal 283 * next traversal from state 's' using transition 't' to check if traversal
272 * should proceed. Return GNUNET_NO to stop traversal or GNUNET_YES to continue. 284 * should proceed. Return GNUNET_NO to stop traversal or GNUNET_YES to continue.