diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-06-26 11:51:44 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-06-26 11:51:44 +0000 |
commit | 9058f938b0a651aaa3345755b76395c3385d246d (patch) | |
tree | c21583b85693e152de8af325c014eb52c716919d /src/regex/regex_internal_dht.c | |
parent | 5f38f9933e6f19fcef0ded8aad3d6db4e6cbb666 (diff) | |
download | gnunet-9058f938b0a651aaa3345755b76395c3385d246d.tar.gz gnunet-9058f938b0a651aaa3345755b76395c3385d246d.zip |
-renaming symbols of the block library to use the REGEX_BLOCK_ prefix and not the REGEX_INTERNAL_ prefix
Diffstat (limited to 'src/regex/regex_internal_dht.c')
-rw-r--r-- | src/regex/regex_internal_dht.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/regex/regex_internal_dht.c b/src/regex/regex_internal_dht.c index 3ddee06ff..5618eb66a 100644 --- a/src/regex/regex_internal_dht.c +++ b/src/regex/regex_internal_dht.c | |||
@@ -87,7 +87,7 @@ regex_iterator (void *cls, | |||
87 | const char *proof, | 87 | const char *proof, |
88 | int accepting, | 88 | int accepting, |
89 | unsigned int num_edges, | 89 | unsigned int num_edges, |
90 | const struct REGEX_INTERNAL_Edge *edges) | 90 | const struct REGEX_BLOCK_Edge *edges) |
91 | { | 91 | { |
92 | struct REGEX_INTERNAL_Announcement *h = cls; | 92 | struct REGEX_INTERNAL_Announcement *h = cls; |
93 | struct RegexBlock *block; | 93 | struct RegexBlock *block; |
@@ -123,7 +123,7 @@ regex_iterator (void *cls, | |||
123 | DHT_TTL, | 123 | DHT_TTL, |
124 | NULL, NULL); | 124 | NULL, NULL); |
125 | } | 125 | } |
126 | block = REGEX_INTERNAL_block_create (key, proof, | 126 | block = REGEX_BLOCK_create (key, proof, |
127 | num_edges, edges, | 127 | num_edges, edges, |
128 | accepting, | 128 | accepting, |
129 | &size); | 129 | &size); |
@@ -573,7 +573,7 @@ regex_next_edge (const struct RegexBlock *block, | |||
573 | /* Find the longest match for the current string position, | 573 | /* Find the longest match for the current string position, |
574 | * among tokens in the given block */ | 574 | * among tokens in the given block */ |
575 | ctx->longest_match = 0; | 575 | ctx->longest_match = 0; |
576 | result = REGEX_INTERNAL_block_iterate (block, size, | 576 | result = REGEX_BLOCK_iterate (block, size, |
577 | ®ex_edge_iterator, ctx); | 577 | ®ex_edge_iterator, ctx); |
578 | GNUNET_break (GNUNET_OK == result); | 578 | GNUNET_break (GNUNET_OK == result); |
579 | 579 | ||