aboutsummaryrefslogtreecommitdiff
path: root/src/regex/regex_internal.h
diff options
context:
space:
mode:
authorMaximilian Szengel <gnunet@maxsz.de>2012-11-13 17:02:07 +0000
committerMaximilian Szengel <gnunet@maxsz.de>2012-11-13 17:02:07 +0000
commit6bb3af348c931d7a01bf2b063ad9e2e294cc7af9 (patch)
tree01156e2a7d495a33fd3eea30413b0b1c65096cfc /src/regex/regex_internal.h
parenta1ab1459c85a5a647f36aba790c36d89c9faa268 (diff)
optimizations
Diffstat (limited to 'src/regex/regex_internal.h')
-rw-r--r--src/regex/regex_internal.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/regex/regex_internal.h b/src/regex/regex_internal.h
index 21c4981454..479de7024c 100644
--- a/src/regex/regex_internal.h
+++ b/src/regex/regex_internal.h
@@ -86,16 +86,26 @@ struct GNUNET_REGEX_Transition
struct GNUNET_REGEX_State
{
/**
- * This is a linked list.
+ * This is a linked list to keep states in an automaton.
*/
struct GNUNET_REGEX_State *prev;
/**
- * This is a linked list.
+ * This is a linked list to keep states in an automaton.
*/
struct GNUNET_REGEX_State *next;
/**
+ * This is a multi DLL for StateSet_p.
+ */
+ struct GNUNET_REGEX_State *prev_SS;
+
+ /**
+ * This is a multi DLL for StateSet_p.
+ */
+ struct GNUNET_REGEX_State *next_SS;
+
+ /**
* Unique state id.
*/
unsigned int id;