diff options
Diffstat (limited to 'src/namestore/plugin_namestore_sqlite.c')
-rw-r--r-- | src/namestore/plugin_namestore_sqlite.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/namestore/plugin_namestore_sqlite.c b/src/namestore/plugin_namestore_sqlite.c index 15a6586b5..d66271ffa 100644 --- a/src/namestore/plugin_namestore_sqlite.c +++ b/src/namestore/plugin_namestore_sqlite.c | |||
@@ -268,14 +268,14 @@ database_shutdown (struct Plugin *plugin) | |||
268 | static enum GNUNET_GenericReturnValue | 268 | static enum GNUNET_GenericReturnValue |
269 | namestore_sqlite_store_records (void *cls, | 269 | namestore_sqlite_store_records (void *cls, |
270 | const struct | 270 | const struct |
271 | GNUNET_IDENTITY_PrivateKey *zone_key, | 271 | GNUNET_CRYPTO_PrivateKey *zone_key, |
272 | const char *label, | 272 | const char *label, |
273 | unsigned int rd_count, | 273 | unsigned int rd_count, |
274 | const struct GNUNET_GNSRECORD_Data *rd) | 274 | const struct GNUNET_GNSRECORD_Data *rd) |
275 | { | 275 | { |
276 | struct Plugin *plugin = cls; | 276 | struct Plugin *plugin = cls; |
277 | int n; | 277 | int n; |
278 | struct GNUNET_IDENTITY_PublicKey pkey; | 278 | struct GNUNET_CRYPTO_PublicKey pkey; |
279 | uint64_t rvalue; | 279 | uint64_t rvalue; |
280 | ssize_t data_size; | 280 | ssize_t data_size; |
281 | 281 | ||
@@ -426,7 +426,7 @@ static enum GNUNET_GenericReturnValue | |||
426 | get_records_and_call_iterator (struct Plugin *plugin, | 426 | get_records_and_call_iterator (struct Plugin *plugin, |
427 | sqlite3_stmt *stmt, | 427 | sqlite3_stmt *stmt, |
428 | const struct | 428 | const struct |
429 | GNUNET_IDENTITY_PrivateKey *zone_key, | 429 | GNUNET_CRYPTO_PrivateKey *zone_key, |
430 | uint64_t limit, | 430 | uint64_t limit, |
431 | GNUNET_NAMESTORE_RecordIterator iter, | 431 | GNUNET_NAMESTORE_RecordIterator iter, |
432 | void *iter_cls) | 432 | void *iter_cls) |
@@ -461,7 +461,7 @@ get_records_and_call_iterator (struct Plugin *plugin, | |||
461 | size_t data_size; | 461 | size_t data_size; |
462 | void *data; | 462 | void *data; |
463 | char *label; | 463 | char *label; |
464 | struct GNUNET_IDENTITY_PrivateKey zk; | 464 | struct GNUNET_CRYPTO_PrivateKey zk; |
465 | struct GNUNET_SQ_ResultSpec rs[] = { | 465 | struct GNUNET_SQ_ResultSpec rs[] = { |
466 | GNUNET_SQ_result_spec_uint64 (&seq), | 466 | GNUNET_SQ_result_spec_uint64 (&seq), |
467 | GNUNET_SQ_result_spec_uint32 (&record_count), | 467 | GNUNET_SQ_result_spec_uint32 (&record_count), |
@@ -543,7 +543,7 @@ get_records_and_call_iterator (struct Plugin *plugin, | |||
543 | static enum GNUNET_GenericReturnValue | 543 | static enum GNUNET_GenericReturnValue |
544 | namestore_sqlite_lookup_records (void *cls, | 544 | namestore_sqlite_lookup_records (void *cls, |
545 | const struct | 545 | const struct |
546 | GNUNET_IDENTITY_PrivateKey *zone, | 546 | GNUNET_CRYPTO_PrivateKey *zone, |
547 | const char *label, | 547 | const char *label, |
548 | GNUNET_NAMESTORE_RecordIterator iter, | 548 | GNUNET_NAMESTORE_RecordIterator iter, |
549 | void *iter_cls) | 549 | void *iter_cls) |
@@ -595,7 +595,7 @@ namestore_sqlite_lookup_records (void *cls, | |||
595 | static enum GNUNET_GenericReturnValue | 595 | static enum GNUNET_GenericReturnValue |
596 | namestore_sqlite_iterate_records (void *cls, | 596 | namestore_sqlite_iterate_records (void *cls, |
597 | const struct | 597 | const struct |
598 | GNUNET_IDENTITY_PrivateKey *zone, | 598 | GNUNET_CRYPTO_PrivateKey *zone, |
599 | uint64_t serial, | 599 | uint64_t serial, |
600 | uint64_t limit, | 600 | uint64_t limit, |
601 | GNUNET_NAMESTORE_RecordIterator iter, | 601 | GNUNET_NAMESTORE_RecordIterator iter, |
@@ -662,9 +662,9 @@ namestore_sqlite_iterate_records (void *cls, | |||
662 | */ | 662 | */ |
663 | static enum GNUNET_GenericReturnValue | 663 | static enum GNUNET_GenericReturnValue |
664 | namestore_sqlite_zone_to_name (void *cls, | 664 | namestore_sqlite_zone_to_name (void *cls, |
665 | const struct GNUNET_IDENTITY_PrivateKey *zone, | 665 | const struct GNUNET_CRYPTO_PrivateKey *zone, |
666 | const struct | 666 | const struct |
667 | GNUNET_IDENTITY_PublicKey *value_zone, | 667 | GNUNET_CRYPTO_PublicKey *value_zone, |
668 | GNUNET_NAMESTORE_RecordIterator iter, | 668 | GNUNET_NAMESTORE_RecordIterator iter, |
669 | void *iter_cls) | 669 | void *iter_cls) |
670 | { | 670 | { |