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.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.c')
-rw-r--r-- | src/namestore/test_namestore_api_monitoring.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/namestore/test_namestore_api_monitoring.c b/src/namestore/test_namestore_api_monitoring.c index 2d5888a5e..4ccb425a2 100644 --- a/src/namestore/test_namestore_api_monitoring.c +++ b/src/namestore/test_namestore_api_monitoring.c | |||
@@ -44,15 +44,15 @@ static int res; | |||
44 | 44 | ||
45 | static char * s_name_1; | 45 | static char * s_name_1; |
46 | 46 | ||
47 | static struct GNUNET_NAMESTORE_RecordData *s_rd_1; | 47 | static struct GNUNET_GNSRECORD_Data *s_rd_1; |
48 | 48 | ||
49 | static char * s_name_2; | 49 | static char * s_name_2; |
50 | 50 | ||
51 | static struct GNUNET_NAMESTORE_RecordData *s_rd_2; | 51 | static struct GNUNET_GNSRECORD_Data *s_rd_2; |
52 | 52 | ||
53 | static char * s_name_3; | 53 | static char * s_name_3; |
54 | 54 | ||
55 | static struct GNUNET_NAMESTORE_RecordData *s_rd_3; | 55 | static struct GNUNET_GNSRECORD_Data *s_rd_3; |
56 | 56 | ||
57 | struct GNUNET_NAMESTORE_QueueEntry * ns_ops[3]; | 57 | struct GNUNET_NAMESTORE_QueueEntry * ns_ops[3]; |
58 | 58 | ||
@@ -148,7 +148,7 @@ zone_proc (void *cls, | |||
148 | const struct GNUNET_CRYPTO_EcdsaPrivateKey *zone_key, | 148 | const struct GNUNET_CRYPTO_EcdsaPrivateKey *zone_key, |
149 | const char *name, | 149 | const char *name, |
150 | unsigned int rd_count, | 150 | unsigned int rd_count, |
151 | const struct GNUNET_NAMESTORE_RecordData *rd) | 151 | const struct GNUNET_GNSRECORD_Data *rd) |
152 | { | 152 | { |
153 | static int returned_records; | 153 | static int returned_records; |
154 | static int fail = GNUNET_NO; | 154 | static int fail = GNUNET_NO; |
@@ -168,7 +168,7 @@ zone_proc (void *cls, | |||
168 | 168 | ||
169 | if (0 == strcmp (name, s_name_1)) | 169 | if (0 == strcmp (name, s_name_1)) |
170 | { | 170 | { |
171 | if (GNUNET_YES != GNUNET_NAMESTORE_records_cmp(rd, s_rd_1)) | 171 | if (GNUNET_YES != GNUNET_GNSRECORD_records_cmp(rd, s_rd_1)) |
172 | { | 172 | { |
173 | GNUNET_break (0); | 173 | GNUNET_break (0); |
174 | fail = GNUNET_YES; | 174 | fail = GNUNET_YES; |
@@ -176,7 +176,7 @@ zone_proc (void *cls, | |||
176 | } | 176 | } |
177 | else if (0 == strcmp (name, s_name_2)) | 177 | else if (0 == strcmp (name, s_name_2)) |
178 | { | 178 | { |
179 | if (GNUNET_YES != GNUNET_NAMESTORE_records_cmp(rd, s_rd_2)) | 179 | if (GNUNET_YES != GNUNET_GNSRECORD_records_cmp(rd, s_rd_2)) |
180 | { | 180 | { |
181 | GNUNET_break (0); | 181 | GNUNET_break (0); |
182 | fail = GNUNET_YES; | 182 | fail = GNUNET_YES; |
@@ -234,13 +234,13 @@ put_cont (void *cls, int32_t success, const char *emsg) | |||
234 | } | 234 | } |
235 | 235 | ||
236 | 236 | ||
237 | static struct GNUNET_NAMESTORE_RecordData * | 237 | static struct GNUNET_GNSRECORD_Data * |
238 | create_record (unsigned int count) | 238 | create_record (unsigned int count) |
239 | { | 239 | { |
240 | unsigned int c; | 240 | unsigned int c; |
241 | struct GNUNET_NAMESTORE_RecordData * rd; | 241 | struct GNUNET_GNSRECORD_Data * rd; |
242 | 242 | ||
243 | rd = GNUNET_malloc (count * sizeof (struct GNUNET_NAMESTORE_RecordData)); | 243 | rd = GNUNET_malloc (count * sizeof (struct GNUNET_GNSRECORD_Data)); |
244 | for (c = 0; c < count; c++) | 244 | for (c = 0; c < count; c++) |
245 | { | 245 | { |
246 | rd[c].expiration_time = GNUNET_TIME_relative_to_absolute (GNUNET_TIME_UNIT_HOURS).abs_value_us; | 246 | rd[c].expiration_time = GNUNET_TIME_relative_to_absolute (GNUNET_TIME_UNIT_HOURS).abs_value_us; |