diff options
Diffstat (limited to 'src/namestore/plugin_namestore_postgres.c')
-rw-r--r-- | src/namestore/plugin_namestore_postgres.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/namestore/plugin_namestore_postgres.c b/src/namestore/plugin_namestore_postgres.c index de819f196..c6debf3a9 100644 --- a/src/namestore/plugin_namestore_postgres.c +++ b/src/namestore/plugin_namestore_postgres.c | |||
@@ -224,13 +224,13 @@ database_connect (struct Plugin *plugin) | |||
224 | static enum GNUNET_GenericReturnValue | 224 | static enum GNUNET_GenericReturnValue |
225 | namestore_postgres_store_records (void *cls, | 225 | namestore_postgres_store_records (void *cls, |
226 | const struct | 226 | const struct |
227 | GNUNET_IDENTITY_PrivateKey *zone_key, | 227 | GNUNET_CRYPTO_PrivateKey *zone_key, |
228 | const char *label, | 228 | const char *label, |
229 | unsigned int rd_count, | 229 | unsigned int rd_count, |
230 | const struct GNUNET_GNSRECORD_Data *rd) | 230 | const struct GNUNET_GNSRECORD_Data *rd) |
231 | { | 231 | { |
232 | struct Plugin *plugin = cls; | 232 | struct Plugin *plugin = cls; |
233 | struct GNUNET_IDENTITY_PublicKey pkey; | 233 | struct GNUNET_CRYPTO_PublicKey pkey; |
234 | uint64_t rvalue; | 234 | uint64_t rvalue; |
235 | uint32_t rd_count32 = (uint32_t) rd_count; | 235 | uint32_t rd_count32 = (uint32_t) rd_count; |
236 | ssize_t data_size; | 236 | ssize_t data_size; |
@@ -342,7 +342,7 @@ struct ParserContext | |||
342 | /** | 342 | /** |
343 | * Zone key, NULL if part of record. | 343 | * Zone key, NULL if part of record. |
344 | */ | 344 | */ |
345 | const struct GNUNET_IDENTITY_PrivateKey *zone_key; | 345 | const struct GNUNET_CRYPTO_PrivateKey *zone_key; |
346 | 346 | ||
347 | /** | 347 | /** |
348 | * Number of results still to return (counted down by | 348 | * Number of results still to return (counted down by |
@@ -378,7 +378,7 @@ parse_result_call_iterator (void *cls, | |||
378 | size_t data_size; | 378 | size_t data_size; |
379 | uint32_t record_count; | 379 | uint32_t record_count; |
380 | char *label; | 380 | char *label; |
381 | struct GNUNET_IDENTITY_PrivateKey zk; | 381 | struct GNUNET_CRYPTO_PrivateKey zk; |
382 | struct GNUNET_PQ_ResultSpec rs_with_zone[] = { | 382 | struct GNUNET_PQ_ResultSpec rs_with_zone[] = { |
383 | GNUNET_PQ_result_spec_uint64 ("seq", &serial), | 383 | GNUNET_PQ_result_spec_uint64 ("seq", &serial), |
384 | GNUNET_PQ_result_spec_uint32 ("record_count", &record_count), | 384 | GNUNET_PQ_result_spec_uint32 ("record_count", &record_count), |
@@ -456,7 +456,7 @@ parse_result_call_iterator (void *cls, | |||
456 | static enum GNUNET_GenericReturnValue | 456 | static enum GNUNET_GenericReturnValue |
457 | lookup_records (void *cls, | 457 | lookup_records (void *cls, |
458 | const struct | 458 | const struct |
459 | GNUNET_IDENTITY_PrivateKey *zone, | 459 | GNUNET_CRYPTO_PrivateKey *zone, |
460 | const char *label, | 460 | const char *label, |
461 | GNUNET_NAMESTORE_RecordIterator iter, | 461 | GNUNET_NAMESTORE_RecordIterator iter, |
462 | void *iter_cls, | 462 | void *iter_cls, |
@@ -506,7 +506,7 @@ lookup_records (void *cls, | |||
506 | static enum GNUNET_GenericReturnValue | 506 | static enum GNUNET_GenericReturnValue |
507 | namestore_postgres_lookup_records (void *cls, | 507 | namestore_postgres_lookup_records (void *cls, |
508 | const struct | 508 | const struct |
509 | GNUNET_IDENTITY_PrivateKey *zone, | 509 | GNUNET_CRYPTO_PrivateKey *zone, |
510 | const char *label, | 510 | const char *label, |
511 | GNUNET_NAMESTORE_RecordIterator iter, | 511 | GNUNET_NAMESTORE_RecordIterator iter, |
512 | void *iter_cls) | 512 | void *iter_cls) |
@@ -528,7 +528,7 @@ namestore_postgres_lookup_records (void *cls, | |||
528 | static int | 528 | static int |
529 | namestore_postgres_edit_records (void *cls, | 529 | namestore_postgres_edit_records (void *cls, |
530 | const struct | 530 | const struct |
531 | GNUNET_IDENTITY_PrivateKey *zone, | 531 | GNUNET_CRYPTO_PrivateKey *zone, |
532 | const char *label, | 532 | const char *label, |
533 | GNUNET_NAMESTORE_RecordIterator iter, | 533 | GNUNET_NAMESTORE_RecordIterator iter, |
534 | void *iter_cls) | 534 | void *iter_cls) |
@@ -552,7 +552,7 @@ namestore_postgres_edit_records (void *cls, | |||
552 | static enum GNUNET_GenericReturnValue | 552 | static enum GNUNET_GenericReturnValue |
553 | namestore_postgres_iterate_records (void *cls, | 553 | namestore_postgres_iterate_records (void *cls, |
554 | const struct | 554 | const struct |
555 | GNUNET_IDENTITY_PrivateKey *zone, | 555 | GNUNET_CRYPTO_PrivateKey *zone, |
556 | uint64_t serial, | 556 | uint64_t serial, |
557 | uint64_t limit, | 557 | uint64_t limit, |
558 | GNUNET_NAMESTORE_RecordIterator iter, | 558 | GNUNET_NAMESTORE_RecordIterator iter, |
@@ -620,9 +620,9 @@ namestore_postgres_iterate_records (void *cls, | |||
620 | static enum GNUNET_GenericReturnValue | 620 | static enum GNUNET_GenericReturnValue |
621 | namestore_postgres_zone_to_name (void *cls, | 621 | namestore_postgres_zone_to_name (void *cls, |
622 | const struct | 622 | const struct |
623 | GNUNET_IDENTITY_PrivateKey *zone, | 623 | GNUNET_CRYPTO_PrivateKey *zone, |
624 | const struct | 624 | const struct |
625 | GNUNET_IDENTITY_PublicKey *value_zone, | 625 | GNUNET_CRYPTO_PublicKey *value_zone, |
626 | GNUNET_NAMESTORE_RecordIterator iter, | 626 | GNUNET_NAMESTORE_RecordIterator iter, |
627 | void *iter_cls) | 627 | void *iter_cls) |
628 | { | 628 | { |