aboutsummaryrefslogtreecommitdiff
path: root/src/regex/regex_internal.h
diff options
context:
space:
mode:
authorMaximilian Szengel <gnunet@maxsz.de>2012-11-16 13:08:51 +0000
committerMaximilian Szengel <gnunet@maxsz.de>2012-11-16 13:08:51 +0000
commitb6908a90bf1a1f8008bffa8bfb0416da3c7bc1d5 (patch)
treeb0768f32b98c4e04588577508b4316a41ac4156b /src/regex/regex_internal.h
parent58857960c4d0329b1e19636b07672db320b24ec0 (diff)
Cleaup, indentation, comments etc.
Diffstat (limited to 'src/regex/regex_internal.h')
-rw-r--r--src/regex/regex_internal.h21
1 files changed, 16 insertions, 5 deletions
diff --git a/src/regex/regex_internal.h b/src/regex/regex_internal.h
index 479de7024c..493f017290 100644
--- a/src/regex/regex_internal.h
+++ b/src/regex/regex_internal.h
@@ -19,7 +19,7 @@
*/
/**
* @file src/regex/regex_internal.h
- * @brief common internal definitions for regex library
+ * @brief common internal definitions for regex library.
* @author Maximilian Szengel
*/
#ifndef REGEX_INTERNAL_H
@@ -43,8 +43,9 @@ extern "C"
/**
- * Transition between two states. Each state can have 0-n transitions. If label
- * is 0, this is considered to be an epsilon transition.
+ * Transition between two states. Transitions are stored at the states from
+ * which they origin ('from_state'). Each state can have 0-n transitions.
+ * If label is 0, this is considered to be an epsilon transition.
*/
struct GNUNET_REGEX_Transition
{
@@ -96,16 +97,26 @@ struct GNUNET_REGEX_State
struct GNUNET_REGEX_State *next;
/**
- * This is a multi DLL for StateSet_p.
+ * This is a multi DLL for StateSet_MDLL.
*/
struct GNUNET_REGEX_State *prev_SS;
/**
- * This is a multi DLL for StateSet_p.
+ * This is a multi DLL for StateSet_MDLL.
*/
struct GNUNET_REGEX_State *next_SS;
/**
+ * This is a multi DLL for StateSet_MDLL Stack.
+ */
+ struct GNUNET_REGEX_State *prev_ST;
+
+ /**
+ * This is a multi DLL for StateSet_MDLL Stack.
+ */
+ struct GNUNET_REGEX_State *next_ST;
+
+ /**
* Unique state id.
*/
unsigned int id;