[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r20801 - in gnunet/src: include regex
From: |
gnunet |
Subject: |
[GNUnet-SVN] r20801 - in gnunet/src: include regex |
Date: |
Wed, 28 Mar 2012 21:27:29 +0200 |
Author: szengel
Date: 2012-03-28 21:27:29 +0200 (Wed, 28 Mar 2012)
New Revision: 20801
Modified:
gnunet/src/include/gnunet_regex_lib.h
gnunet/src/regex/regex.c
Log:
doxygen fix
Modified: gnunet/src/include/gnunet_regex_lib.h
===================================================================
--- gnunet/src/include/gnunet_regex_lib.h 2012-03-28 15:49:20 UTC (rev
20800)
+++ gnunet/src/include/gnunet_regex_lib.h 2012-03-28 19:27:29 UTC (rev
20801)
@@ -48,7 +48,7 @@
* @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 @@
* @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);
Modified: gnunet/src/regex/regex.c
===================================================================
--- gnunet/src/regex/regex.c 2012-03-28 15:49:20 UTC (rev 20800)
+++ gnunet/src/regex/regex.c 2012-03-28 19:27:29 UTC (rev 20801)
@@ -616,12 +616,11 @@
/**
* 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)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r20801 - in gnunet/src: include regex,
gnunet <=