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)
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 5e13c29de7..418f47dbab 100644
--- a/src/regex/regex_test_lib.h
+++ b/src/regex/regex_test_lib.h
@@ -26,8 +26,8 @@
*
*/
-#ifndef GNUNET_REGEX_TEST_LIB_H
-#define GNUNET_REGEX_TEST_LIB_H
+#ifndef REGEX_ITERNAL_TEST_LIB_H
+#define REGEX_ITERNAL_TEST_LIB_H
#ifdef __cplusplus
@@ -46,19 +46,19 @@ extern "C"
* @return A string with a single regex that matches any of the original regexes
*/
char *
-GNUNET_REGEX_combine(char * const regexes[]);
+REGEX_ITERNAL_combine(char * const regexes[]);
/**
* Read a set of regexes from a file, one per line and return them in an array
- * suitable for GNUNET_REGEX_combine.
- * The array must be free'd using GNUNET_REGEX_free_from_file.
+ * suitable for REGEX_ITERNAL_combine.
+ * The array must be free'd using REGEX_ITERNAL_free_from_file.
*
* @param filename Name of the file containing the regexes.
*
* @return A newly allocated, NULL terminated array of regexes.
*/
char **
-GNUNET_REGEX_read_from_file (const char *filename);
+REGEX_ITERNAL_read_from_file (const char *filename);
/**
@@ -67,7 +67,7 @@ GNUNET_REGEX_read_from_file (const char *filename);
* @param regexes NULL-terminated array of regexes.
*/
void
-GNUNET_REGEX_free_from_file (char **regexes);
+REGEX_ITERNAL_free_from_file (char **regexes);
#if 0 /* keep Emacsens' auto-indent happy */
{
@@ -76,5 +76,5 @@ GNUNET_REGEX_free_from_file (char **regexes);
}
#endif
-/* end of gnunet_regex_lib.h */
+/* end of regex_internal_lib.h */
#endif \ No newline at end of file