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/gns/plugin_block_gns.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/gns/plugin_block_gns.c')
-rw-r--r-- | src/gns/plugin_block_gns.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gns/plugin_block_gns.c b/src/gns/plugin_block_gns.c index ad2e6594e..65cf69f72 100644 --- a/src/gns/plugin_block_gns.c +++ b/src/gns/plugin_block_gns.c | |||
@@ -61,7 +61,7 @@ block_plugin_gns_evaluate (void *cls, enum GNUNET_BLOCK_Type type, | |||
61 | size_t xquery_size, const void *reply_block, | 61 | size_t xquery_size, const void *reply_block, |
62 | size_t reply_block_size) | 62 | size_t reply_block_size) |
63 | { | 63 | { |
64 | const struct GNUNET_NAMESTORE_Block *block; | 64 | const struct GNUNET_GNSRECORD_Block *block; |
65 | struct GNUNET_HashCode h; | 65 | struct GNUNET_HashCode h; |
66 | struct GNUNET_HashCode chash; | 66 | struct GNUNET_HashCode chash; |
67 | struct GNUNET_HashCode mhash; | 67 | struct GNUNET_HashCode mhash; |
@@ -79,7 +79,7 @@ block_plugin_gns_evaluate (void *cls, enum GNUNET_BLOCK_Type type, | |||
79 | } | 79 | } |
80 | 80 | ||
81 | /* this is a reply */ | 81 | /* this is a reply */ |
82 | if (reply_block_size < sizeof (struct GNUNET_NAMESTORE_Block)) | 82 | if (reply_block_size < sizeof (struct GNUNET_GNSRECORD_Block)) |
83 | { | 83 | { |
84 | GNUNET_break_op (0); | 84 | GNUNET_break_op (0); |
85 | return GNUNET_BLOCK_EVALUATION_RESULT_INVALID; | 85 | return GNUNET_BLOCK_EVALUATION_RESULT_INVALID; |
@@ -100,7 +100,7 @@ block_plugin_gns_evaluate (void *cls, enum GNUNET_BLOCK_Type type, | |||
100 | return GNUNET_BLOCK_EVALUATION_RESULT_INVALID; | 100 | return GNUNET_BLOCK_EVALUATION_RESULT_INVALID; |
101 | } | 101 | } |
102 | if (GNUNET_OK != | 102 | if (GNUNET_OK != |
103 | GNUNET_NAMESTORE_block_verify (block)) | 103 | GNUNET_GNSRECORD_block_verify (block)) |
104 | { | 104 | { |
105 | GNUNET_break_op (0); | 105 | GNUNET_break_op (0); |
106 | return GNUNET_BLOCK_EVALUATION_RESULT_INVALID; | 106 | return GNUNET_BLOCK_EVALUATION_RESULT_INVALID; |
@@ -140,11 +140,11 @@ block_plugin_gns_get_key (void *cls, enum GNUNET_BLOCK_Type type, | |||
140 | const void *reply_block, size_t reply_block_size, | 140 | const void *reply_block, size_t reply_block_size, |
141 | struct GNUNET_HashCode *key) | 141 | struct GNUNET_HashCode *key) |
142 | { | 142 | { |
143 | const struct GNUNET_NAMESTORE_Block *block; | 143 | const struct GNUNET_GNSRECORD_Block *block; |
144 | 144 | ||
145 | if (type != GNUNET_BLOCK_TYPE_GNS_NAMERECORD) | 145 | if (type != GNUNET_BLOCK_TYPE_GNS_NAMERECORD) |
146 | return GNUNET_SYSERR; | 146 | return GNUNET_SYSERR; |
147 | if (reply_block_size < sizeof (struct GNUNET_NAMESTORE_Block)) | 147 | if (reply_block_size < sizeof (struct GNUNET_GNSRECORD_Block)) |
148 | { | 148 | { |
149 | GNUNET_break_op (0); | 149 | GNUNET_break_op (0); |
150 | return GNUNET_BLOCK_EVALUATION_RESULT_INVALID; | 150 | return GNUNET_BLOCK_EVALUATION_RESULT_INVALID; |