diff options
Diffstat (limited to 'src/namestore/plugin_rest_namestore.c')
-rw-r--r-- | src/namestore/plugin_rest_namestore.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/namestore/plugin_rest_namestore.c b/src/namestore/plugin_rest_namestore.c index 1f2f58097..31e78e6dd 100644 --- a/src/namestore/plugin_rest_namestore.c +++ b/src/namestore/plugin_rest_namestore.c | |||
@@ -214,7 +214,7 @@ struct RequestHandle | |||
214 | /** | 214 | /** |
215 | * Private key for the zone | 215 | * Private key for the zone |
216 | */ | 216 | */ |
217 | const struct GNUNET_IDENTITY_PrivateKey *zone_pkey; | 217 | const struct GNUNET_CRYPTO_PrivateKey *zone_pkey; |
218 | 218 | ||
219 | /** | 219 | /** |
220 | * IDENTITY Operation | 220 | * IDENTITY Operation |
@@ -482,7 +482,7 @@ namestore_list_finished (void *cls) | |||
482 | */ | 482 | */ |
483 | static void | 483 | static void |
484 | namestore_list_iteration (void *cls, | 484 | namestore_list_iteration (void *cls, |
485 | const struct GNUNET_IDENTITY_PrivateKey *zone_key, | 485 | const struct GNUNET_CRYPTO_PrivateKey *zone_key, |
486 | const char *rname, | 486 | const char *rname, |
487 | unsigned int rd_len, | 487 | unsigned int rd_len, |
488 | const struct GNUNET_GNSRECORD_Data *rd, | 488 | const struct GNUNET_GNSRECORD_Data *rd, |
@@ -541,7 +541,7 @@ ns_lookup_error_cb (void *cls) | |||
541 | 541 | ||
542 | static void | 542 | static void |
543 | ns_get_lookup_cb (void *cls, | 543 | ns_get_lookup_cb (void *cls, |
544 | const struct GNUNET_IDENTITY_PrivateKey *zone, | 544 | const struct GNUNET_CRYPTO_PrivateKey *zone, |
545 | const char *label, | 545 | const char *label, |
546 | unsigned int rd_len, | 546 | unsigned int rd_len, |
547 | const struct GNUNET_GNSRECORD_Data *rd) | 547 | const struct GNUNET_GNSRECORD_Data *rd) |
@@ -692,7 +692,7 @@ namestore_get (struct GNUNET_REST_RequestHandle *con_handle, | |||
692 | 692 | ||
693 | static void | 693 | static void |
694 | ns_lookup_cb (void *cls, | 694 | ns_lookup_cb (void *cls, |
695 | const struct GNUNET_IDENTITY_PrivateKey *zone, | 695 | const struct GNUNET_CRYPTO_PrivateKey *zone, |
696 | const char *label, | 696 | const char *label, |
697 | unsigned int rd_count, | 697 | unsigned int rd_count, |
698 | const struct GNUNET_GNSRECORD_Data *rd) | 698 | const struct GNUNET_GNSRECORD_Data *rd) |
@@ -1152,7 +1152,7 @@ list_ego (void *cls, | |||
1152 | const char *identifier) | 1152 | const char *identifier) |
1153 | { | 1153 | { |
1154 | struct EgoEntry *ego_entry; | 1154 | struct EgoEntry *ego_entry; |
1155 | struct GNUNET_IDENTITY_PublicKey pk; | 1155 | struct GNUNET_CRYPTO_PublicKey pk; |
1156 | 1156 | ||
1157 | if ((NULL == ego) && (ID_REST_STATE_INIT == state)) | 1157 | if ((NULL == ego) && (ID_REST_STATE_INIT == state)) |
1158 | { | 1158 | { |
@@ -1169,7 +1169,7 @@ list_ego (void *cls, | |||
1169 | { | 1169 | { |
1170 | ego_entry = GNUNET_new (struct EgoEntry); | 1170 | ego_entry = GNUNET_new (struct EgoEntry); |
1171 | GNUNET_IDENTITY_ego_get_public_key (ego, &pk); | 1171 | GNUNET_IDENTITY_ego_get_public_key (ego, &pk); |
1172 | ego_entry->keystring = GNUNET_IDENTITY_public_key_to_string (&pk); | 1172 | ego_entry->keystring = GNUNET_CRYPTO_public_key_to_string (&pk); |
1173 | ego_entry->ego = ego; | 1173 | ego_entry->ego = ego; |
1174 | ego_entry->identifier = GNUNET_strdup (identifier); | 1174 | ego_entry->identifier = GNUNET_strdup (identifier); |
1175 | GNUNET_CONTAINER_DLL_insert_tail (ego_head, | 1175 | GNUNET_CONTAINER_DLL_insert_tail (ego_head, |
@@ -1195,7 +1195,7 @@ list_ego (void *cls, | |||
1195 | /* Add */ | 1195 | /* Add */ |
1196 | ego_entry = GNUNET_new (struct EgoEntry); | 1196 | ego_entry = GNUNET_new (struct EgoEntry); |
1197 | GNUNET_IDENTITY_ego_get_public_key (ego, &pk); | 1197 | GNUNET_IDENTITY_ego_get_public_key (ego, &pk); |
1198 | ego_entry->keystring = GNUNET_IDENTITY_public_key_to_string (&pk); | 1198 | ego_entry->keystring = GNUNET_CRYPTO_public_key_to_string (&pk); |
1199 | ego_entry->ego = ego; | 1199 | ego_entry->ego = ego; |
1200 | ego_entry->identifier = GNUNET_strdup (identifier); | 1200 | ego_entry->identifier = GNUNET_strdup (identifier); |
1201 | GNUNET_CONTAINER_DLL_insert_tail (ego_head, | 1201 | GNUNET_CONTAINER_DLL_insert_tail (ego_head, |