diff options
author | ng0 <ng0@n0.is> | 2019-09-08 12:33:09 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-09-08 12:33:09 +0000 |
commit | d41ed82a4ea0cc8e1674b6d5d2c49fd6462610bb (patch) | |
tree | 9efd18ea7d425652085ed0bd5e8e45604bc5f6b9 /src/regex/regex_test_lib.h | |
parent | a0fce305c565c0937d917a92712f15e9c5736260 (diff) | |
download | gnunet-d41ed82a4ea0cc8e1674b6d5d2c49fd6462610bb.tar.gz gnunet-d41ed82a4ea0cc8e1674b6d5d2c49fd6462610bb.zip |
uncrustify as demanded.
Diffstat (limited to 'src/regex/regex_test_lib.h')
-rw-r--r-- | src/regex/regex_test_lib.h | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/src/regex/regex_test_lib.h b/src/regex/regex_test_lib.h index 226a0fbb6..fe4b30498 100644 --- a/src/regex/regex_test_lib.h +++ b/src/regex/regex_test_lib.h | |||
@@ -11,7 +11,7 @@ | |||
11 | * WITHOUT ANY WARRANTY; without even the implied warranty of | 11 | * WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 | * Affero General Public License for more details. | 13 | * Affero General Public License for more details. |
14 | * | 14 | * |
15 | * You should have received a copy of the GNU Affero General Public License | 15 | * You should have received a copy of the GNU Affero General Public License |
16 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 16 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 | 17 | ||
@@ -54,7 +54,7 @@ extern "C" | |||
54 | * @return A string with a single regex that matches any of the original regexes | 54 | * @return A string with a single regex that matches any of the original regexes |
55 | */ | 55 | */ |
56 | char * | 56 | char * |
57 | REGEX_TEST_combine (char * const regexes[], unsigned int alphabet_size); | 57 | REGEX_TEST_combine(char * const regexes[], unsigned int alphabet_size); |
58 | 58 | ||
59 | 59 | ||
60 | /** | 60 | /** |
@@ -67,7 +67,7 @@ REGEX_TEST_combine (char * const regexes[], unsigned int alphabet_size); | |||
67 | * @return A newly allocated, NULL terminated array of regexes. | 67 | * @return A newly allocated, NULL terminated array of regexes. |
68 | */ | 68 | */ |
69 | char ** | 69 | char ** |
70 | REGEX_TEST_read_from_file (const char *filename); | 70 | REGEX_TEST_read_from_file(const char *filename); |
71 | 71 | ||
72 | 72 | ||
73 | /** | 73 | /** |
@@ -76,7 +76,7 @@ REGEX_TEST_read_from_file (const char *filename); | |||
76 | * @param regexes NULL-terminated array of regexes. | 76 | * @param regexes NULL-terminated array of regexes. |
77 | */ | 77 | */ |
78 | void | 78 | void |
79 | REGEX_TEST_free_from_file (char **regexes); | 79 | REGEX_TEST_free_from_file(char **regexes); |
80 | 80 | ||
81 | 81 | ||
82 | /** | 82 | /** |
@@ -93,7 +93,7 @@ REGEX_TEST_free_from_file (char **regexes); | |||
93 | * needs to be freed, otherwise. | 93 | * needs to be freed, otherwise. |
94 | */ | 94 | */ |
95 | char * | 95 | char * |
96 | REGEX_TEST_generate_random_regex (size_t rx_length, char *matching_str); | 96 | REGEX_TEST_generate_random_regex(size_t rx_length, char *matching_str); |
97 | 97 | ||
98 | 98 | ||
99 | /** | 99 | /** |
@@ -106,15 +106,14 @@ REGEX_TEST_generate_random_regex (size_t rx_length, char *matching_str); | |||
106 | * @return random string that needs to be freed. | 106 | * @return random string that needs to be freed. |
107 | */ | 107 | */ |
108 | char * | 108 | char * |
109 | REGEX_TEST_generate_random_string (size_t max_len); | 109 | REGEX_TEST_generate_random_string(size_t max_len); |
110 | 110 | ||
111 | 111 | ||
112 | /** | 112 | /** |
113 | * Options for graph creation function | 113 | * Options for graph creation function |
114 | * REGEX_TEST_automaton_save_graph. | 114 | * REGEX_TEST_automaton_save_graph. |
115 | */ | 115 | */ |
116 | enum REGEX_TEST_GraphSavingOptions | 116 | enum REGEX_TEST_GraphSavingOptions { |
117 | { | ||
118 | /** | 117 | /** |
119 | * Default. Do nothing special. | 118 | * Default. Do nothing special. |
120 | */ | 119 | */ |
@@ -142,9 +141,9 @@ enum REGEX_TEST_GraphSavingOptions | |||
142 | * mode | 141 | * mode |
143 | */ | 142 | */ |
144 | void | 143 | void |
145 | REGEX_TEST_automaton_save_graph (struct REGEX_INTERNAL_Automaton *a, | 144 | REGEX_TEST_automaton_save_graph(struct REGEX_INTERNAL_Automaton *a, |
146 | const char *filename, | 145 | const char *filename, |
147 | enum REGEX_TEST_GraphSavingOptions options); | 146 | enum REGEX_TEST_GraphSavingOptions options); |
148 | 147 | ||
149 | 148 | ||
150 | 149 | ||