From: Maximilian Szengel Date: Wed, 28 Mar 2012 19:27:29 +0000 (+0000) Subject: doxygen fix X-Git-Tag: initial-import-from-subversion-38251~14065 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ffad59b491bb53819aa1ee258dc9dfb03f874cec;p=oweals%2Fgnunet.git doxygen fix --- diff --git a/src/include/gnunet_regex_lib.h b/src/include/gnunet_regex_lib.h index d95ad3808..3a56872c0 100644 --- a/src/include/gnunet_regex_lib.h +++ b/src/include/gnunet_regex_lib.h @@ -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); diff --git a/src/regex/regex.c b/src/regex/regex.c index a98e187f5..f045d957d 100644 --- a/src/regex/regex.c +++ b/src/regex/regex.c @@ -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)