aboutsummaryrefslogtreecommitdiff
path: root/src/regex/regex_test_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-06-20 08:32:50 +0000
committerChristian Grothoff <christian@grothoff.org>2013-06-20 08:32:50 +0000
commit21a2b4f95b4488645ba5a6254fcb8919c4915f73 (patch)
tree00c92cb7103cc14fba7e63e8dee99fe711856863 /src/regex/regex_test_lib.h
parent5533b105943b4f6dd688c1758350cd83ebeab3b9 (diff)
downloadgnunet-21a2b4f95b4488645ba5a6254fcb8919c4915f73.tar.gz
gnunet-21a2b4f95b4488645ba5a6254fcb8919c4915f73.zip
continuing refactoring of regex library structure, disambiguating symbol names between old regex library which is now internal and the public API; moving IP-to-regex conversion functions to tun library, as only vpn is using those to begin with
Diffstat (limited to 'src/regex/regex_test_lib.h')
-rw-r--r--src/regex/regex_test_lib.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/regex/regex_test_lib.h b/src/regex/regex_test_lib.h
index 5e13c29de..418f47dba 100644
--- a/src/regex/regex_test_lib.h
+++ b/src/regex/regex_test_lib.h
@@ -26,8 +26,8 @@
26 * 26 *
27 */ 27 */
28 28
29#ifndef GNUNET_REGEX_TEST_LIB_H 29#ifndef REGEX_ITERNAL_TEST_LIB_H
30#define GNUNET_REGEX_TEST_LIB_H 30#define REGEX_ITERNAL_TEST_LIB_H
31 31
32 32
33#ifdef __cplusplus 33#ifdef __cplusplus
@@ -46,19 +46,19 @@ extern "C"
46 * @return A string with a single regex that matches any of the original regexes 46 * @return A string with a single regex that matches any of the original regexes
47 */ 47 */
48char * 48char *
49GNUNET_REGEX_combine(char * const regexes[]); 49REGEX_ITERNAL_combine(char * const regexes[]);
50 50
51/** 51/**
52 * Read a set of regexes from a file, one per line and return them in an array 52 * Read a set of regexes from a file, one per line and return them in an array
53 * suitable for GNUNET_REGEX_combine. 53 * suitable for REGEX_ITERNAL_combine.
54 * The array must be free'd using GNUNET_REGEX_free_from_file. 54 * The array must be free'd using REGEX_ITERNAL_free_from_file.
55 * 55 *
56 * @param filename Name of the file containing the regexes. 56 * @param filename Name of the file containing the regexes.
57 * 57 *
58 * @return A newly allocated, NULL terminated array of regexes. 58 * @return A newly allocated, NULL terminated array of regexes.
59 */ 59 */
60char ** 60char **
61GNUNET_REGEX_read_from_file (const char *filename); 61REGEX_ITERNAL_read_from_file (const char *filename);
62 62
63 63
64/** 64/**
@@ -67,7 +67,7 @@ GNUNET_REGEX_read_from_file (const char *filename);
67 * @param regexes NULL-terminated array of regexes. 67 * @param regexes NULL-terminated array of regexes.
68 */ 68 */
69void 69void
70GNUNET_REGEX_free_from_file (char **regexes); 70REGEX_ITERNAL_free_from_file (char **regexes);
71 71
72#if 0 /* keep Emacsens' auto-indent happy */ 72#if 0 /* keep Emacsens' auto-indent happy */
73{ 73{
@@ -76,5 +76,5 @@ GNUNET_REGEX_free_from_file (char **regexes);
76} 76}
77#endif 77#endif
78 78
79/* end of gnunet_regex_lib.h */ 79/* end of regex_internal_lib.h */
80#endif \ No newline at end of file 80#endif \ No newline at end of file