doxygen fix
authorMaximilian Szengel <gnunet@maxsz.de>
Wed, 28 Mar 2012 19:27:29 +0000 (19:27 +0000)
committerMaximilian Szengel <gnunet@maxsz.de>
Wed, 28 Mar 2012 19:27:29 +0000 (19:27 +0000)
src/include/gnunet_regex_lib.h
src/regex/regex.c

index d95ad3808916c99f0a6a670f85b96cbee6c5df7f..3a56872c0457d8871a34866918d98c6b26534072 100644 (file)
@@ -48,7 +48,7 @@ struct GNUNET_REGEX_Automaton;
  * @param regex regular expression string
  * @param len length of the string
  *
- * @return NFA.Needs to be freed using GNUNET_REGEX_destroy_automaton
+ * @return NFA, needs to be freed using GNUNET_REGEX_destroy_automaton
  */
 struct GNUNET_REGEX_Automaton *
 GNUNET_REGEX_construct_nfa(const char *regex, const size_t len);
@@ -59,7 +59,7 @@ GNUNET_REGEX_construct_nfa(const char *regex, const size_t len);
  * @param regex regular expression string
  * @param len length of the regular expression
  *
- * @return DFA. Needs to be freed using GNUNET_REGEX_destroy_automaton
+ * @return DFA, needs to be freed using GNUNET_REGEX_destroy_automaton
  */
 struct GNUNET_REGEX_Automaton *
 GNUNET_REGEX_construct_dfa (const char *regex, const size_t len);
index a98e187f548162e54243d6ab5b0d169e52a7a806..f045d957d4eceb7d3439cf803528003fa6024ad2 100644 (file)
@@ -616,12 +616,11 @@ nfa_add_literal (struct GNUNET_REGEX_Context *ctx, const char lit)
 /**
  * Calculates the closure set for the given set of states.
  *
- * @param states set of states for which to calculate the closure
- * @param count number of states in 'states'
- * @param literal for the transition
+ * @param states list of states on which to base the closure on
+ * @param literal transitioning literal for which to base the closure on,
+ *                pass 0 for epsilon transition
  *
- * @return set of states that can be reached from the given 'states' when
- *         using only 'literal' transitions
+ * @return nfa closure on literal (epsilon closure if 'literal' == 0)
  */
 struct GNUNET_CONTAINER_SList *
 create_nfa_closure (struct GNUNET_CONTAINER_SList *states, const char literal)