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/namestore/test_namestore_api_lookup_public.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/namestore/test_namestore_api_lookup_public.c')
-rw-r--r-- | src/namestore/test_namestore_api_lookup_public.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/namestore/test_namestore_api_lookup_public.c b/src/namestore/test_namestore_api_lookup_public.c index 6c6ee55ec..97de58a6c 100644 --- a/src/namestore/test_namestore_api_lookup_public.c +++ b/src/namestore/test_namestore_api_lookup_public.c | |||
@@ -94,7 +94,7 @@ end (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
94 | static void | 94 | static void |
95 | rd_decrypt_cb (void *cls, | 95 | rd_decrypt_cb (void *cls, |
96 | unsigned int rd_count, | 96 | unsigned int rd_count, |
97 | const struct GNUNET_NAMESTORE_RecordData *rd) | 97 | const struct GNUNET_GNSRECORD_Data *rd) |
98 | { | 98 | { |
99 | char rd_cmp_data[TEST_RECORD_DATALEN]; | 99 | char rd_cmp_data[TEST_RECORD_DATALEN]; |
100 | 100 | ||
@@ -115,7 +115,7 @@ rd_decrypt_cb (void *cls, | |||
115 | 115 | ||
116 | static void | 116 | static void |
117 | name_lookup_proc (void *cls, | 117 | name_lookup_proc (void *cls, |
118 | const struct GNUNET_NAMESTORE_Block *block) | 118 | const struct GNUNET_GNSRECORD_Block *block) |
119 | { | 119 | { |
120 | const char *name = cls; | 120 | const char *name = cls; |
121 | nsqe = NULL; | 121 | nsqe = NULL; |
@@ -140,7 +140,7 @@ name_lookup_proc (void *cls, | |||
140 | 140 | ||
141 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 141 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
142 | "Namestore returned block, decrypting \n"); | 142 | "Namestore returned block, decrypting \n"); |
143 | GNUNET_assert (GNUNET_OK == GNUNET_NAMESTORE_block_decrypt(block, | 143 | GNUNET_assert (GNUNET_OK == GNUNET_GNSRECORD_block_decrypt(block, |
144 | &pubkey, name, &rd_decrypt_cb, (void *) name)); | 144 | &pubkey, name, &rd_decrypt_cb, (void *) name)); |
145 | } | 145 | } |
146 | 146 | ||
@@ -160,7 +160,7 @@ put_cont (void *cls, int32_t success, const char *emsg) | |||
160 | 160 | ||
161 | /* Create derived hash */ | 161 | /* Create derived hash */ |
162 | GNUNET_CRYPTO_ecdsa_key_get_public (privkey, &pubkey); | 162 | GNUNET_CRYPTO_ecdsa_key_get_public (privkey, &pubkey); |
163 | GNUNET_NAMESTORE_query_from_public_key (&pubkey, name, &derived_hash); | 163 | GNUNET_GNSRECORD_query_from_public_key (&pubkey, name, &derived_hash); |
164 | 164 | ||
165 | nsqe = GNUNET_NAMESTORE_lookup_block (nsh, &derived_hash, | 165 | nsqe = GNUNET_NAMESTORE_lookup_block (nsh, &derived_hash, |
166 | &name_lookup_proc, (void *) name); | 166 | &name_lookup_proc, (void *) name); |
@@ -172,7 +172,7 @@ run (void *cls, | |||
172 | const struct GNUNET_CONFIGURATION_Handle *cfg, | 172 | const struct GNUNET_CONFIGURATION_Handle *cfg, |
173 | struct GNUNET_TESTING_Peer *peer) | 173 | struct GNUNET_TESTING_Peer *peer) |
174 | { | 174 | { |
175 | struct GNUNET_NAMESTORE_RecordData rd; | 175 | struct GNUNET_GNSRECORD_Data rd; |
176 | char *hostkey_file; | 176 | char *hostkey_file; |
177 | const char * name = "dummy.dummy.gnunet"; | 177 | const char * name = "dummy.dummy.gnunet"; |
178 | 178 | ||