From 17de5c9d798109f55059190c886609ba377e4eb6 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 30 Jun 2013 19:21:05 +0000 Subject: -towards implementing improved namestore API --- src/namestore/test_namestore_api_zone_iteration.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/namestore/test_namestore_api_zone_iteration.c') diff --git a/src/namestore/test_namestore_api_zone_iteration.c b/src/namestore/test_namestore_api_zone_iteration.c index 48ac35f71..71afc359c 100644 --- a/src/namestore/test_namestore_api_zone_iteration.c +++ b/src/namestore/test_namestore_api_zone_iteration.c @@ -410,7 +410,9 @@ empty_zone_proc (void *cls, s_rd_1 = create_record(1); et.abs_value = s_rd_1->expiration_time; sig_1 = GNUNET_NAMESTORE_create_signature(privkey, et, s_name_1, s_rd_1, 1); - GNUNET_NAMESTORE_record_create(nsh, privkey, s_name_1, s_rd_1, &put_cont, NULL); + GNUNET_NAMESTORE_record_put_by_authority (nsh, privkey, s_name_1, + 1, s_rd_1, + &put_cont, NULL); GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Created record 2 \n"); @@ -419,7 +421,9 @@ empty_zone_proc (void *cls, et.abs_value = s_rd_2->expiration_time; sig_2 = GNUNET_NAMESTORE_create_signature(privkey, et, s_name_2, s_rd_2, 1); - GNUNET_NAMESTORE_record_create(nsh, privkey, s_name_2, s_rd_2, &put_cont, NULL); + GNUNET_NAMESTORE_record_put_by_authority (nsh, privkey, s_name_2, + 1, s_rd_2, + &put_cont, NULL); GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Created record 3\n"); /* name in different zone */ -- cgit v1.2.3