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)
downloadgnunet-b6908a90bf1a1f8008bffa8bfb0416da3c7bc1d5.tar.gz
gnunet-b6908a90bf1a1f8008bffa8bfb0416da3c7bc1d5.zip
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 479de7024..493f01729 100644
--- a/src/regex/regex_internal.h
+++ b/src/regex/regex_internal.h
@@ -19,7 +19,7 @@
19*/ 19*/
20/** 20/**
21 * @file src/regex/regex_internal.h 21 * @file src/regex/regex_internal.h
22 * @brief common internal definitions for regex library 22 * @brief common internal definitions for regex library.
23 * @author Maximilian Szengel 23 * @author Maximilian Szengel
24 */ 24 */
25#ifndef REGEX_INTERNAL_H 25#ifndef REGEX_INTERNAL_H
@@ -43,8 +43,9 @@ extern "C"
43 43
44 44
45/** 45/**
46 * Transition between two states. Each state can have 0-n transitions. If label 46 * Transition between two states. Transitions are stored at the states from
47 * is 0, this is considered to be an epsilon transition. 47 * which they origin ('from_state'). Each state can have 0-n transitions.
48 * If label is 0, this is considered to be an epsilon transition.
48 */ 49 */
49struct GNUNET_REGEX_Transition 50struct GNUNET_REGEX_Transition
50{ 51{
@@ -96,16 +97,26 @@ struct GNUNET_REGEX_State
96 struct GNUNET_REGEX_State *next; 97 struct GNUNET_REGEX_State *next;
97 98
98 /** 99 /**
99 * This is a multi DLL for StateSet_p. 100 * This is a multi DLL for StateSet_MDLL.
100 */ 101 */
101 struct GNUNET_REGEX_State *prev_SS; 102 struct GNUNET_REGEX_State *prev_SS;
102 103
103 /** 104 /**
104 * This is a multi DLL for StateSet_p. 105 * This is a multi DLL for StateSet_MDLL.
105 */ 106 */
106 struct GNUNET_REGEX_State *next_SS; 107 struct GNUNET_REGEX_State *next_SS;
107 108
108 /** 109 /**
110 * This is a multi DLL for StateSet_MDLL Stack.
111 */
112 struct GNUNET_REGEX_State *prev_ST;
113
114 /**
115 * This is a multi DLL for StateSet_MDLL Stack.
116 */
117 struct GNUNET_REGEX_State *next_ST;
118
119 /**
109 * Unique state id. 120 * Unique state id.
110 */ 121 */
111 unsigned int id; 122 unsigned int id;