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_monitoring_existing.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_monitoring_existing.c')
-rw-r--r-- | src/namestore/test_namestore_api_monitoring_existing.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/namestore/test_namestore_api_monitoring_existing.c b/src/namestore/test_namestore_api_monitoring_existing.c index 3b2ca6092..b8ac7a729 100644 --- a/src/namestore/test_namestore_api_monitoring_existing.c +++ b/src/namestore/test_namestore_api_monitoring_existing.c | |||
@@ -45,15 +45,15 @@ static int res; | |||
45 | 45 | ||
46 | static char * s_name_1; | 46 | static char * s_name_1; |
47 | 47 | ||
48 | static struct GNUNET_NAMESTORE_RecordData *s_rd_1; | 48 | static struct GNUNET_GNSRECORD_Data *s_rd_1; |
49 | 49 | ||
50 | static char * s_name_2; | 50 | static char * s_name_2; |
51 | 51 | ||
52 | static struct GNUNET_NAMESTORE_RecordData *s_rd_2; | 52 | static struct GNUNET_GNSRECORD_Data *s_rd_2; |
53 | 53 | ||
54 | static char * s_name_3; | 54 | static char * s_name_3; |
55 | 55 | ||
56 | static struct GNUNET_NAMESTORE_RecordData *s_rd_3; | 56 | static struct GNUNET_GNSRECORD_Data *s_rd_3; |
57 | 57 | ||
58 | struct GNUNET_NAMESTORE_QueueEntry * ns_ops[3]; | 58 | struct GNUNET_NAMESTORE_QueueEntry * ns_ops[3]; |
59 | 59 | ||
@@ -149,7 +149,7 @@ zone_proc (void *cls, | |||
149 | const struct GNUNET_CRYPTO_EcdsaPrivateKey *zone_key, | 149 | const struct GNUNET_CRYPTO_EcdsaPrivateKey *zone_key, |
150 | const char *name, | 150 | const char *name, |
151 | unsigned int rd_count, | 151 | unsigned int rd_count, |
152 | const struct GNUNET_NAMESTORE_RecordData *rd) | 152 | const struct GNUNET_GNSRECORD_Data *rd) |
153 | { | 153 | { |
154 | static int returned_records; | 154 | static int returned_records; |
155 | static int fail = GNUNET_NO; | 155 | static int fail = GNUNET_NO; |
@@ -169,7 +169,7 @@ zone_proc (void *cls, | |||
169 | 169 | ||
170 | if (0 == strcmp (name, s_name_1)) | 170 | if (0 == strcmp (name, s_name_1)) |
171 | { | 171 | { |
172 | if (GNUNET_YES != GNUNET_NAMESTORE_records_cmp(rd, s_rd_1)) | 172 | if (GNUNET_YES != GNUNET_GNSRECORD_records_cmp(rd, s_rd_1)) |
173 | { | 173 | { |
174 | GNUNET_break (0); | 174 | GNUNET_break (0); |
175 | fail = GNUNET_YES; | 175 | fail = GNUNET_YES; |
@@ -177,7 +177,7 @@ zone_proc (void *cls, | |||
177 | } | 177 | } |
178 | else if (0 == strcmp (name, s_name_2)) | 178 | else if (0 == strcmp (name, s_name_2)) |
179 | { | 179 | { |
180 | if (GNUNET_YES != GNUNET_NAMESTORE_records_cmp(rd, s_rd_2)) | 180 | if (GNUNET_YES != GNUNET_GNSRECORD_records_cmp(rd, s_rd_2)) |
181 | { | 181 | { |
182 | GNUNET_break (0); | 182 | GNUNET_break (0); |
183 | fail = GNUNET_YES; | 183 | fail = GNUNET_YES; |
@@ -252,13 +252,13 @@ put_cont (void *cls, int32_t success, const char *emsg) | |||
252 | } | 252 | } |
253 | 253 | ||
254 | 254 | ||
255 | static struct GNUNET_NAMESTORE_RecordData * | 255 | static struct GNUNET_GNSRECORD_Data * |
256 | create_record (unsigned int count) | 256 | create_record (unsigned int count) |
257 | { | 257 | { |
258 | unsigned int c; | 258 | unsigned int c; |
259 | struct GNUNET_NAMESTORE_RecordData * rd; | 259 | struct GNUNET_GNSRECORD_Data * rd; |
260 | 260 | ||
261 | rd = GNUNET_malloc (count * sizeof (struct GNUNET_NAMESTORE_RecordData)); | 261 | rd = GNUNET_malloc (count * sizeof (struct GNUNET_GNSRECORD_Data)); |
262 | for (c = 0; c < count; c++) | 262 | for (c = 0; c < count; c++) |
263 | { | 263 | { |
264 | rd[c].expiration_time = GNUNET_TIME_relative_to_absolute (GNUNET_TIME_UNIT_HOURS).abs_value_us; | 264 | rd[c].expiration_time = GNUNET_TIME_relative_to_absolute (GNUNET_TIME_UNIT_HOURS).abs_value_us; |