diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-06-20 08:32:50 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-06-20 08:32:50 +0000 |
commit | 21a2b4f95b4488645ba5a6254fcb8919c4915f73 (patch) | |
tree | 00c92cb7103cc14fba7e63e8dee99fe711856863 /src/regex/regex_block_lib.h | |
parent | 5533b105943b4f6dd688c1758350cd83ebeab3b9 (diff) | |
download | gnunet-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_block_lib.h')
-rw-r--r-- | src/regex/regex_block_lib.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/regex/regex_block_lib.h b/src/regex/regex_block_lib.h index e68f34bda..2ef7ef30c 100644 --- a/src/regex/regex_block_lib.h +++ b/src/regex/regex_block_lib.h | |||
@@ -52,7 +52,7 @@ extern "C" | |||
52 | * GNUNET_SYSERR if the block is invalid. | 52 | * GNUNET_SYSERR if the block is invalid. |
53 | */ | 53 | */ |
54 | int | 54 | int |
55 | GNUNET_REGEX_block_check (const struct RegexBlock *block, | 55 | REGEX_ITERNAL_block_check (const struct RegexBlock *block, |
56 | size_t size, | 56 | size_t size, |
57 | const char *xquery); | 57 | const char *xquery); |
58 | 58 | ||
@@ -66,7 +66,7 @@ GNUNET_REGEX_block_check (const struct RegexBlock *block, | |||
66 | * | 66 | * |
67 | * @return GNUNET_YES if should keep iterating, GNUNET_NO otherwise. | 67 | * @return GNUNET_YES if should keep iterating, GNUNET_NO otherwise. |
68 | */ | 68 | */ |
69 | typedef int (*GNUNET_REGEX_EgdeIterator)(void *cls, | 69 | typedef int (*REGEX_ITERNAL_EgdeIterator)(void *cls, |
70 | const char *token, | 70 | const char *token, |
71 | size_t len, | 71 | size_t len, |
72 | const struct GNUNET_HashCode *key); | 72 | const struct GNUNET_HashCode *key); |
@@ -89,9 +89,9 @@ typedef int (*GNUNET_REGEX_EgdeIterator)(void *cls, | |||
89 | * be errors in further edges. | 89 | * be errors in further edges. |
90 | */ | 90 | */ |
91 | int | 91 | int |
92 | GNUNET_REGEX_block_iterate (const struct RegexBlock *block, | 92 | REGEX_ITERNAL_block_iterate (const struct RegexBlock *block, |
93 | size_t size, | 93 | size_t size, |
94 | GNUNET_REGEX_EgdeIterator iterator, | 94 | REGEX_ITERNAL_EgdeIterator iterator, |
95 | void *iter_cls); | 95 | void *iter_cls); |
96 | 96 | ||
97 | #if 0 /* keep Emacsens' auto-indent happy */ | 97 | #if 0 /* keep Emacsens' auto-indent happy */ |