struct GNUNET_TIME_Absolute expire,
const char *n,
unsigned int rd_count,
- const struct GNUNET_NAMESTORE_RecordData *rd,
+ const struct GNUNET_GNSRECORD_Data *rd,
const struct GNUNET_CRYPTO_EcdsaSignature *signature)
{
int fail = GNUNET_NO;
GNUNET_CRYPTO_short_hash (s_name, strlen (s_name) + 1, &s_zone_value);
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Using PKEY `%s' \n", GNUNET_NAMESTORE_short_h2s (&s_zone_value));
- struct GNUNET_NAMESTORE_RecordData rd;
+ struct GNUNET_GNSRECORD_Data rd;
rd.expiration_time = GNUNET_TIME_absolute_get().abs_value_us;
rd.record_type = GNUNET_GNSRECORD_TYPE_PKEY;
rd.data_size = sizeof (struct GNUNET_CRYPTO_ShortHashCode);
{
res = 1;
if (0 !=
- GNUNET_TESTING_service_run ("test-namestore-api-zone-to-name",
- "namestore",
- "test_namestore_api.conf",
- &run,
- NULL))
+ GNUNET_TESTING_peer_run ("test-namestore-api-zone-to-name",
+ "test_namestore_api.conf",
+ &run,
+ NULL))
return 1;
return res;
}