aboutsummaryrefslogtreecommitdiff
path: root/src/regex/regex_test_lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/regex/regex_test_lib.c')
-rw-r--r--src/regex/regex_test_lib.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/regex/regex_test_lib.c b/src/regex/regex_test_lib.c
index 449575150..b871ea872 100644
--- a/src/regex/regex_test_lib.c
+++ b/src/regex/regex_test_lib.c
@@ -1,17 +1,17 @@
1/* 1/*
2 * This file is part of GNUnet 2 * This file is part of GNUnet
3 * (C) 2012 Christian Grothoff (and other contributing authors) 3 * (C) 2012 Christian Grothoff (and other contributing authors)
4 * 4 *
5 * GNUnet is free software; you can redistribute it and/or modify 5 * GNUnet is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published 6 * it under the terms of the GNU General Public License as published
7 * by the Free Software Foundation; either version 3, or (at your 7 * by the Free Software Foundation; either version 3, or (at your
8 * option) any later version. 8 * option) any later version.
9 * 9 *
10 * GNUnet is distributed in the hope that it will be useful, but 10 * GNUnet is distributed in the hope that it will be useful, but
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 * General Public License for more details. 13 * General Public License for more details.
14 * 14 *
15 * You should have received a copy of the GNU General Public License 15 * You should have received a copy of the GNU General Public License
16 * along with GNUnet; see the file COPYING. If not, write to the 16 * along with GNUnet; see the file COPYING. If not, write to the
17 * Free Software Foundation, Inc., 59 Temple Place - Suite 330, 17 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
@@ -153,10 +153,10 @@ regex_combine (struct RegexCombineCtx *ctx)
153 153
154/** 154/**
155 * Get the number of matching characters on the prefix of both strings. 155 * Get the number of matching characters on the prefix of both strings.
156 * 156 *
157 * @param s1 String 1. 157 * @param s1 String 1.
158 * @param s2 String 2. 158 * @param s2 String 2.
159 * 159 *
160 * @return Number of characters of matching prefix. 160 * @return Number of characters of matching prefix.
161 */ 161 */
162static unsigned int 162static unsigned int
@@ -183,10 +183,10 @@ get_prefix_length (const char *s1, const char *s2)
183/** 183/**
184 * Return the child context with the longest prefix match with the regex. 184 * Return the child context with the longest prefix match with the regex.
185 * Usually only one child will match, search all just in case. 185 * Usually only one child will match, search all just in case.
186 * 186 *
187 * @param ctx Context whose children to search. 187 * @param ctx Context whose children to search.
188 * @param regex String to match. 188 * @param regex String to match.
189 * 189 *
190 * @return Child with the longest prefix, NULL if no child matches. 190 * @return Child with the longest prefix, NULL if no child matches.
191 */ 191 */
192static struct RegexCombineCtx * 192static struct RegexCombineCtx *