diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-04-26 20:00:55 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-04-26 20:00:55 +0200 |
commit | 1f2674fe293be7c1a852fbe4a7241fbcb149078f (patch) | |
tree | 075dd0aa3d2b19b0c62b18bdf3d99f324dea2966 /src/regex | |
parent | 82a5d35360c4c882d9a5f92c4ac27c61bd4a4cc5 (diff) | |
download | gnunet-1f2674fe293be7c1a852fbe4a7241fbcb149078f.tar.gz gnunet-1f2674fe293be7c1a852fbe4a7241fbcb149078f.zip |
-fix typos
Diffstat (limited to 'src/regex')
-rw-r--r-- | src/regex/regex_block_lib.h | 2 | ||||
-rw-r--r-- | src/regex/regex_internal.h | 4 | ||||
-rw-r--r-- | src/regex/regex_internal_lib.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/regex/regex_block_lib.h b/src/regex/regex_block_lib.h index 3368e3456..11029b9af 100644 --- a/src/regex/regex_block_lib.h +++ b/src/regex/regex_block_lib.h | |||
@@ -58,7 +58,7 @@ struct REGEX_BLOCK_Edge | |||
58 | const char *label; | 58 | const char *label; |
59 | 59 | ||
60 | /** | 60 | /** |
61 | * Destionation of the edge. | 61 | * Destination of the edge. |
62 | */ | 62 | */ |
63 | struct GNUNET_HashCode destination; | 63 | struct GNUNET_HashCode destination; |
64 | }; | 64 | }; |
diff --git a/src/regex/regex_internal.h b/src/regex/regex_internal.h index 17b038f21..8f29cff33 100644 --- a/src/regex/regex_internal.h +++ b/src/regex/regex_internal.h | |||
@@ -203,7 +203,7 @@ struct REGEX_INTERNAL_State | |||
203 | struct GNUNET_HashCode hash; | 203 | struct GNUNET_HashCode hash; |
204 | 204 | ||
205 | /** | 205 | /** |
206 | * Linear state ID accquired by depth-first-search. This ID should be used for | 206 | * Linear state ID acquired by depth-first-search. This ID should be used for |
207 | * storing information about the state in an array, because the 'id' of the | 207 | * storing information about the state in an array, because the 'id' of the |
208 | * state is not guaranteed to be linear. The 'dfs_id' is guaranteed to be > 0 | 208 | * state is not guaranteed to be linear. The 'dfs_id' is guaranteed to be > 0 |
209 | * and < 'state_count'. | 209 | * and < 'state_count'. |
@@ -329,7 +329,7 @@ REGEX_INTERNAL_construct_nfa (const char *regex, const size_t len); | |||
329 | 329 | ||
330 | 330 | ||
331 | /** | 331 | /** |
332 | * Function that get's passed to automaton traversal and is called before each | 332 | * Function that gets passed to automaton traversal and is called before each |
333 | * next traversal from state 's' using transition 't' to check if traversal | 333 | * next traversal from state 's' using transition 't' to check if traversal |
334 | * should proceed. Return GNUNET_NO to stop traversal or GNUNET_YES to continue. | 334 | * should proceed. Return GNUNET_NO to stop traversal or GNUNET_YES to continue. |
335 | * | 335 | * |
diff --git a/src/regex/regex_internal_lib.h b/src/regex/regex_internal_lib.h index cd955e68b..94fac19f9 100644 --- a/src/regex/regex_internal_lib.h +++ b/src/regex/regex_internal_lib.h | |||
@@ -60,7 +60,7 @@ struct REGEX_INTERNAL_Automaton; | |||
60 | * @param len length of the regular expression. | 60 | * @param len length of the regular expression. |
61 | * @param max_path_len limit the path compression length to the | 61 | * @param max_path_len limit the path compression length to the |
62 | * given value. If set to 1, no path compression is applied. Set to 0 for | 62 | * given value. If set to 1, no path compression is applied. Set to 0 for |
63 | * maximal possible path compression (generally not desireable). | 63 | * maximal possible path compression (generally not desirable). |
64 | * @return DFA, needs to be freed using #REGEX_INTERNAL_automaton_destroy(). | 64 | * @return DFA, needs to be freed using #REGEX_INTERNAL_automaton_destroy(). |
65 | */ | 65 | */ |
66 | struct REGEX_INTERNAL_Automaton * | 66 | struct REGEX_INTERNAL_Automaton * |