diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-10-16 20:21:27 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-10-16 20:21:27 +0000 |
commit | accfd6bd85274da2f19e7230c8da6b273cfb2ece (patch) | |
tree | 60966194963795ff07b4da94f4efb6c46d6a23cf /src/namecache/namecache_api.c | |
parent | 3d670727232e79b7e49a1df7ba9260db4e5798a0 (diff) | |
download | gnunet-accfd6bd85274da2f19e7230c8da6b273cfb2ece.tar.gz gnunet-accfd6bd85274da2f19e7230c8da6b273cfb2ece.zip |
-another renaming fest for GNUNET_NAMESTORE_ to GNUNET_GNSRECORD_ symbols that were moved
Diffstat (limited to 'src/namecache/namecache_api.c')
-rw-r--r-- | src/namecache/namecache_api.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/namecache/namecache_api.c b/src/namecache/namecache_api.c index a28ed7d53..942272b99 100644 --- a/src/namecache/namecache_api.c +++ b/src/namecache/namecache_api.c | |||
@@ -76,7 +76,7 @@ struct GNUNET_NAMECACHE_QueueEntry | |||
76 | /** | 76 | /** |
77 | * Function to call with the blocks we get back; or NULL. | 77 | * Function to call with the blocks we get back; or NULL. |
78 | */ | 78 | */ |
79 | GNUNET_NAMESTORE_BlockProcessor block_proc; | 79 | GNUNET_GNSRECORD_BlockProcessor block_proc; |
80 | 80 | ||
81 | /** | 81 | /** |
82 | * Closure for @e block_proc. | 82 | * Closure for @e block_proc. |
@@ -208,8 +208,8 @@ handle_lookup_block_response (struct GNUNET_NAMECACHE_QueueEntry *qe, | |||
208 | const struct LookupBlockResponseMessage *msg, | 208 | const struct LookupBlockResponseMessage *msg, |
209 | size_t size) | 209 | size_t size) |
210 | { | 210 | { |
211 | struct GNUNET_NAMESTORE_Block *block; | 211 | struct GNUNET_GNSRECORD_Block *block; |
212 | char buf[size + sizeof (struct GNUNET_NAMESTORE_Block) | 212 | char buf[size + sizeof (struct GNUNET_GNSRECORD_Block) |
213 | - sizeof (struct LookupBlockResponseMessage)]; | 213 | - sizeof (struct LookupBlockResponseMessage)]; |
214 | 214 | ||
215 | LOG (GNUNET_ERROR_TYPE_DEBUG, | 215 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
@@ -223,7 +223,7 @@ handle_lookup_block_response (struct GNUNET_NAMECACHE_QueueEntry *qe, | |||
223 | return GNUNET_OK; | 223 | return GNUNET_OK; |
224 | } | 224 | } |
225 | 225 | ||
226 | block = (struct GNUNET_NAMESTORE_Block *) buf; | 226 | block = (struct GNUNET_GNSRECORD_Block *) buf; |
227 | block->signature = msg->signature; | 227 | block->signature = msg->signature; |
228 | block->derived_key = msg->derived_key; | 228 | block->derived_key = msg->derived_key; |
229 | block->purpose.purpose = htonl (GNUNET_SIGNATURE_PURPOSE_GNS_RECORD_SIGN); | 229 | block->purpose.purpose = htonl (GNUNET_SIGNATURE_PURPOSE_GNS_RECORD_SIGN); |
@@ -235,7 +235,7 @@ handle_lookup_block_response (struct GNUNET_NAMECACHE_QueueEntry *qe, | |||
235 | &msg[1], | 235 | &msg[1], |
236 | size - sizeof (struct LookupBlockResponseMessage)); | 236 | size - sizeof (struct LookupBlockResponseMessage)); |
237 | if (GNUNET_OK != | 237 | if (GNUNET_OK != |
238 | GNUNET_NAMESTORE_block_verify (block)) | 238 | GNUNET_GNSRECORD_block_verify (block)) |
239 | { | 239 | { |
240 | GNUNET_break (0); | 240 | GNUNET_break (0); |
241 | return GNUNET_SYSERR; | 241 | return GNUNET_SYSERR; |
@@ -623,7 +623,7 @@ GNUNET_NAMECACHE_disconnect (struct GNUNET_NAMECACHE_Handle *h) | |||
623 | */ | 623 | */ |
624 | struct GNUNET_NAMECACHE_QueueEntry * | 624 | struct GNUNET_NAMECACHE_QueueEntry * |
625 | GNUNET_NAMECACHE_block_cache (struct GNUNET_NAMECACHE_Handle *h, | 625 | GNUNET_NAMECACHE_block_cache (struct GNUNET_NAMECACHE_Handle *h, |
626 | const struct GNUNET_NAMESTORE_Block *block, | 626 | const struct GNUNET_GNSRECORD_Block *block, |
627 | GNUNET_NAMECACHE_ContinuationWithStatus cont, | 627 | GNUNET_NAMECACHE_ContinuationWithStatus cont, |
628 | void *cont_cls) | 628 | void *cont_cls) |
629 | { | 629 | { |
@@ -683,7 +683,7 @@ GNUNET_NAMECACHE_block_cache (struct GNUNET_NAMECACHE_Handle *h, | |||
683 | struct GNUNET_NAMECACHE_QueueEntry * | 683 | struct GNUNET_NAMECACHE_QueueEntry * |
684 | GNUNET_NAMECACHE_lookup_block (struct GNUNET_NAMECACHE_Handle *h, | 684 | GNUNET_NAMECACHE_lookup_block (struct GNUNET_NAMECACHE_Handle *h, |
685 | const struct GNUNET_HashCode *derived_hash, | 685 | const struct GNUNET_HashCode *derived_hash, |
686 | GNUNET_NAMESTORE_BlockProcessor proc, void *proc_cls) | 686 | GNUNET_GNSRECORD_BlockProcessor proc, void *proc_cls) |
687 | { | 687 | { |
688 | struct GNUNET_NAMECACHE_QueueEntry *qe; | 688 | struct GNUNET_NAMECACHE_QueueEntry *qe; |
689 | struct PendingMessage *pe; | 689 | struct PendingMessage *pe; |