aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_namestore_service.h
diff options
context:
space:
mode:
authorMartin Schanzenbach <schanzen@gnunet.org>2023-10-18 13:37:38 +0200
committerMartin Schanzenbach <schanzen@gnunet.org>2023-10-18 13:37:38 +0200
commit9ef4abad615bea12d13be542b8ae5fbeb2dfee32 (patch)
tree8875a687e004d331c9ea6a1d511a328c72b88113 /src/include/gnunet_namestore_service.h
parente95236b3ed78cd597c15f34b89385295702b627f (diff)
downloadgnunet-9ef4abad615bea12d13be542b8ae5fbeb2dfee32.tar.gz
gnunet-9ef4abad615bea12d13be542b8ae5fbeb2dfee32.zip
NEWS: Refactoring components under src/ into lib/, plugin/, cli/ and service/
This also includes a necessary API refactoring of crypto from IDENTITY to UTIL.
Diffstat (limited to 'src/include/gnunet_namestore_service.h')
-rw-r--r--src/include/gnunet_namestore_service.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/include/gnunet_namestore_service.h b/src/include/gnunet_namestore_service.h
index b93a345c7..61691ff55 100644
--- a/src/include/gnunet_namestore_service.h
+++ b/src/include/gnunet_namestore_service.h
@@ -153,7 +153,7 @@ typedef void
153 */ 153 */
154struct GNUNET_NAMESTORE_QueueEntry * 154struct GNUNET_NAMESTORE_QueueEntry *
155GNUNET_NAMESTORE_records_store (struct GNUNET_NAMESTORE_Handle *h, 155GNUNET_NAMESTORE_records_store (struct GNUNET_NAMESTORE_Handle *h,
156 const struct GNUNET_IDENTITY_PrivateKey *pkey, 156 const struct GNUNET_CRYPTO_PrivateKey *pkey,
157 const char *label, 157 const char *label,
158 unsigned int rd_count, 158 unsigned int rd_count,
159 const struct GNUNET_GNSRECORD_Data *rd, 159 const struct GNUNET_GNSRECORD_Data *rd,
@@ -187,7 +187,7 @@ GNUNET_NAMESTORE_records_store (struct GNUNET_NAMESTORE_Handle *h,
187struct GNUNET_NAMESTORE_QueueEntry * 187struct GNUNET_NAMESTORE_QueueEntry *
188GNUNET_NAMESTORE_records_store2 ( 188GNUNET_NAMESTORE_records_store2 (
189 struct GNUNET_NAMESTORE_Handle *h, 189 struct GNUNET_NAMESTORE_Handle *h,
190 const struct GNUNET_IDENTITY_PrivateKey *pkey, 190 const struct GNUNET_CRYPTO_PrivateKey *pkey,
191 unsigned int rd_set_count, 191 unsigned int rd_set_count,
192 const struct GNUNET_NAMESTORE_RecordInfo *record_info, 192 const struct GNUNET_NAMESTORE_RecordInfo *record_info,
193 unsigned int *rds_sent, 193 unsigned int *rds_sent,
@@ -217,7 +217,7 @@ GNUNET_NAMESTORE_records_store2 (
217 */ 217 */
218struct GNUNET_NAMESTORE_QueueEntry * 218struct GNUNET_NAMESTORE_QueueEntry *
219GNUNET_NAMESTORE_records_store_ (struct GNUNET_NAMESTORE_Handle *h, 219GNUNET_NAMESTORE_records_store_ (struct GNUNET_NAMESTORE_Handle *h,
220 const struct GNUNET_IDENTITY_PrivateKey *pkey, 220 const struct GNUNET_CRYPTO_PrivateKey *pkey,
221 const char *label, 221 const char *label,
222 unsigned int rd_count, 222 unsigned int rd_count,
223 const struct GNUNET_GNSRECORD_Data *rd, 223 const struct GNUNET_GNSRECORD_Data *rd,
@@ -240,7 +240,7 @@ GNUNET_NAMESTORE_records_store_ (struct GNUNET_NAMESTORE_Handle *h,
240typedef void 240typedef void
241(*GNUNET_NAMESTORE_RecordMonitor) (void *cls, 241(*GNUNET_NAMESTORE_RecordMonitor) (void *cls,
242 const struct 242 const struct
243 GNUNET_IDENTITY_PrivateKey *zone, 243 GNUNET_CRYPTO_PrivateKey *zone,
244 const char *label, 244 const char *label,
245 unsigned int rd_count, 245 unsigned int rd_count,
246 const struct GNUNET_GNSRECORD_Data *rd); 246 const struct GNUNET_GNSRECORD_Data *rd);
@@ -260,7 +260,7 @@ typedef void
260typedef void 260typedef void
261(*GNUNET_NAMESTORE_RecordSetMonitor) (void *cls, 261(*GNUNET_NAMESTORE_RecordSetMonitor) (void *cls,
262 const struct 262 const struct
263 GNUNET_IDENTITY_PrivateKey *zone, 263 GNUNET_CRYPTO_PrivateKey *zone,
264 const char *label, 264 const char *label,
265 unsigned int rd_count, 265 unsigned int rd_count,
266 const struct GNUNET_GNSRECORD_Data *rd, 266 const struct GNUNET_GNSRECORD_Data *rd,
@@ -284,7 +284,7 @@ typedef void
284struct GNUNET_NAMESTORE_QueueEntry * 284struct GNUNET_NAMESTORE_QueueEntry *
285GNUNET_NAMESTORE_records_lookup (struct GNUNET_NAMESTORE_Handle *h, 285GNUNET_NAMESTORE_records_lookup (struct GNUNET_NAMESTORE_Handle *h,
286 const struct 286 const struct
287 GNUNET_IDENTITY_PrivateKey *pkey, 287 GNUNET_CRYPTO_PrivateKey *pkey,
288 const char *label, 288 const char *label,
289 GNUNET_SCHEDULER_TaskCallback error_cb, 289 GNUNET_SCHEDULER_TaskCallback error_cb,
290 void *error_cb_cls, 290 void *error_cb_cls,
@@ -309,7 +309,7 @@ GNUNET_NAMESTORE_records_lookup (struct GNUNET_NAMESTORE_Handle *h,
309struct GNUNET_NAMESTORE_QueueEntry * 309struct GNUNET_NAMESTORE_QueueEntry *
310GNUNET_NAMESTORE_records_lookup2 (struct GNUNET_NAMESTORE_Handle *h, 310GNUNET_NAMESTORE_records_lookup2 (struct GNUNET_NAMESTORE_Handle *h,
311 const struct 311 const struct
312 GNUNET_IDENTITY_PrivateKey *pkey, 312 GNUNET_CRYPTO_PrivateKey *pkey,
313 const char *label, 313 const char *label,
314 GNUNET_SCHEDULER_TaskCallback error_cb, 314 GNUNET_SCHEDULER_TaskCallback error_cb,
315 void *error_cb_cls, 315 void *error_cb_cls,
@@ -338,9 +338,9 @@ GNUNET_NAMESTORE_records_lookup2 (struct GNUNET_NAMESTORE_Handle *h,
338 */ 338 */
339struct GNUNET_NAMESTORE_QueueEntry * 339struct GNUNET_NAMESTORE_QueueEntry *
340GNUNET_NAMESTORE_zone_to_name (struct GNUNET_NAMESTORE_Handle *h, 340GNUNET_NAMESTORE_zone_to_name (struct GNUNET_NAMESTORE_Handle *h,
341 const struct GNUNET_IDENTITY_PrivateKey *zone, 341 const struct GNUNET_CRYPTO_PrivateKey *zone,
342 const struct 342 const struct
343 GNUNET_IDENTITY_PublicKey *value_zone, 343 GNUNET_CRYPTO_PublicKey *value_zone,
344 GNUNET_SCHEDULER_TaskCallback error_cb, 344 GNUNET_SCHEDULER_TaskCallback error_cb,
345 void *error_cb_cls, 345 void *error_cb_cls,
346 GNUNET_NAMESTORE_RecordMonitor proc, 346 GNUNET_NAMESTORE_RecordMonitor proc,
@@ -390,7 +390,7 @@ GNUNET_NAMESTORE_cancel (struct GNUNET_NAMESTORE_QueueEntry *qe);
390struct GNUNET_NAMESTORE_ZoneIterator * 390struct GNUNET_NAMESTORE_ZoneIterator *
391GNUNET_NAMESTORE_zone_iteration_start (struct GNUNET_NAMESTORE_Handle *h, 391GNUNET_NAMESTORE_zone_iteration_start (struct GNUNET_NAMESTORE_Handle *h,
392 const struct 392 const struct
393 GNUNET_IDENTITY_PrivateKey *zone, 393 GNUNET_CRYPTO_PrivateKey *zone,
394 GNUNET_SCHEDULER_TaskCallback error_cb, 394 GNUNET_SCHEDULER_TaskCallback error_cb,
395 void *error_cb_cls, 395 void *error_cb_cls,
396 GNUNET_NAMESTORE_RecordMonitor proc, 396 GNUNET_NAMESTORE_RecordMonitor proc,
@@ -427,7 +427,7 @@ GNUNET_NAMESTORE_zone_iteration_start (struct GNUNET_NAMESTORE_Handle *h,
427struct GNUNET_NAMESTORE_ZoneIterator * 427struct GNUNET_NAMESTORE_ZoneIterator *
428GNUNET_NAMESTORE_zone_iteration_start2 (struct GNUNET_NAMESTORE_Handle *h, 428GNUNET_NAMESTORE_zone_iteration_start2 (struct GNUNET_NAMESTORE_Handle *h,
429 const struct 429 const struct
430 GNUNET_IDENTITY_PrivateKey *zone, 430 GNUNET_CRYPTO_PrivateKey *zone,
431 GNUNET_SCHEDULER_TaskCallback error_cb, 431 GNUNET_SCHEDULER_TaskCallback error_cb,
432 void *error_cb_cls, 432 void *error_cb_cls,
433 GNUNET_NAMESTORE_RecordSetMonitor proc, 433 GNUNET_NAMESTORE_RecordSetMonitor proc,
@@ -501,7 +501,7 @@ struct GNUNET_NAMESTORE_ZoneMonitor;
501struct GNUNET_NAMESTORE_ZoneMonitor * 501struct GNUNET_NAMESTORE_ZoneMonitor *
502GNUNET_NAMESTORE_zone_monitor_start ( 502GNUNET_NAMESTORE_zone_monitor_start (
503 const struct GNUNET_CONFIGURATION_Handle *cfg, 503 const struct GNUNET_CONFIGURATION_Handle *cfg,
504 const struct GNUNET_IDENTITY_PrivateKey *zone, 504 const struct GNUNET_CRYPTO_PrivateKey *zone,
505 int iterate_first, 505 int iterate_first,
506 GNUNET_SCHEDULER_TaskCallback error_cb, 506 GNUNET_SCHEDULER_TaskCallback error_cb,
507 void *error_cb_cls, 507 void *error_cb_cls,
@@ -541,7 +541,7 @@ GNUNET_NAMESTORE_zone_monitor_start (
541struct GNUNET_NAMESTORE_ZoneMonitor * 541struct GNUNET_NAMESTORE_ZoneMonitor *
542GNUNET_NAMESTORE_zone_monitor_start2 ( 542GNUNET_NAMESTORE_zone_monitor_start2 (
543 const struct GNUNET_CONFIGURATION_Handle *cfg, 543 const struct GNUNET_CONFIGURATION_Handle *cfg,
544 const struct GNUNET_IDENTITY_PrivateKey *zone, 544 const struct GNUNET_CRYPTO_PrivateKey *zone,
545 int iterate_first, 545 int iterate_first,
546 GNUNET_SCHEDULER_TaskCallback error_cb, 546 GNUNET_SCHEDULER_TaskCallback error_cb,
547 void *error_cb_cls, 547 void *error_cb_cls,
@@ -637,7 +637,7 @@ GNUNET_NAMESTORE_transaction_commit (struct GNUNET_NAMESTORE_Handle *h,
637struct GNUNET_NAMESTORE_QueueEntry * 637struct GNUNET_NAMESTORE_QueueEntry *
638GNUNET_NAMESTORE_records_edit ( 638GNUNET_NAMESTORE_records_edit (
639 struct GNUNET_NAMESTORE_Handle *h, 639 struct GNUNET_NAMESTORE_Handle *h,
640 const struct GNUNET_IDENTITY_PrivateKey *pkey, 640 const struct GNUNET_CRYPTO_PrivateKey *pkey,
641 const char *label, 641 const char *label,
642 GNUNET_SCHEDULER_TaskCallback error_cb, 642 GNUNET_SCHEDULER_TaskCallback error_cb,
643 void *error_cb_cls, 643 void *error_cb_cls,