diff options
Diffstat (limited to 'src/namestore/gnunet-service-namestore.c')
-rw-r--r-- | src/namestore/gnunet-service-namestore.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/namestore/gnunet-service-namestore.c b/src/namestore/gnunet-service-namestore.c index d6c299882..4d497c8a1 100644 --- a/src/namestore/gnunet-service-namestore.c +++ b/src/namestore/gnunet-service-namestore.c | |||
@@ -200,7 +200,7 @@ write_key_to_file (const char *filename, struct GNUNET_NAMESTORE_CryptoContainer | |||
200 | } | 200 | } |
201 | 201 | ||
202 | int zone_to_disk_it (void *cls, | 202 | int zone_to_disk_it (void *cls, |
203 | const GNUNET_HashCode *key, | 203 | const struct GNUNET_HashCode *key, |
204 | void *value) | 204 | void *value) |
205 | { | 205 | { |
206 | struct GNUNET_NAMESTORE_CryptoContainer * c = value; | 206 | struct GNUNET_NAMESTORE_CryptoContainer * c = value; |
@@ -391,7 +391,7 @@ handle_lookup_name_it (void *cls, | |||
391 | struct GNUNET_CRYPTO_RsaSignature *signature_new = NULL; | 391 | struct GNUNET_CRYPTO_RsaSignature *signature_new = NULL; |
392 | struct GNUNET_TIME_Absolute e; | 392 | struct GNUNET_TIME_Absolute e; |
393 | struct GNUNET_CRYPTO_ShortHashCode zone_key_hash; | 393 | struct GNUNET_CRYPTO_ShortHashCode zone_key_hash; |
394 | GNUNET_HashCode long_hash; | 394 | struct GNUNET_HashCode long_hash; |
395 | char *rd_tmp; | 395 | char *rd_tmp; |
396 | char *name_tmp; | 396 | char *name_tmp; |
397 | size_t rd_ser_len; | 397 | size_t rd_ser_len; |
@@ -862,7 +862,7 @@ static void handle_record_create (void *cls, | |||
862 | struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded pub; | 862 | struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded pub; |
863 | struct RecordCreateResponseMessage rcr_msg; | 863 | struct RecordCreateResponseMessage rcr_msg; |
864 | struct GNUNET_CRYPTO_ShortHashCode pubkey_hash; | 864 | struct GNUNET_CRYPTO_ShortHashCode pubkey_hash; |
865 | GNUNET_HashCode long_hash; | 865 | struct GNUNET_HashCode long_hash; |
866 | size_t name_len; | 866 | size_t name_len; |
867 | size_t msg_size; | 867 | size_t msg_size; |
868 | size_t msg_size_exp; | 868 | size_t msg_size_exp; |
@@ -1116,7 +1116,7 @@ static void handle_record_remove (void *cls, | |||
1116 | struct GNUNET_NAMESTORE_CryptoContainer *cc = NULL; | 1116 | struct GNUNET_NAMESTORE_CryptoContainer *cc = NULL; |
1117 | struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded pub; | 1117 | struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded pub; |
1118 | struct GNUNET_CRYPTO_ShortHashCode pubkey_hash; | 1118 | struct GNUNET_CRYPTO_ShortHashCode pubkey_hash; |
1119 | GNUNET_HashCode long_hash; | 1119 | struct GNUNET_HashCode long_hash; |
1120 | char * pkey_tmp = NULL; | 1120 | char * pkey_tmp = NULL; |
1121 | char * name_tmp = NULL; | 1121 | char * name_tmp = NULL; |
1122 | char * rd_ser = NULL; | 1122 | char * rd_ser = NULL; |
@@ -1462,7 +1462,7 @@ void zone_iteraterate_proc (void *cls, | |||
1462 | struct GNUNET_CRYPTO_RsaSignature * new_signature; | 1462 | struct GNUNET_CRYPTO_RsaSignature * new_signature; |
1463 | struct GNUNET_NAMESTORE_CryptoContainer *cc; | 1463 | struct GNUNET_NAMESTORE_CryptoContainer *cc; |
1464 | struct GNUNET_CRYPTO_ShortHashCode hash; | 1464 | struct GNUNET_CRYPTO_ShortHashCode hash; |
1465 | GNUNET_HashCode long_hash; | 1465 | struct GNUNET_HashCode long_hash; |
1466 | struct GNUNET_TIME_Absolute e; | 1466 | struct GNUNET_TIME_Absolute e; |
1467 | unsigned int rd_count_filtered = 0; | 1467 | unsigned int rd_count_filtered = 0; |
1468 | int include; | 1468 | int include; |
@@ -1837,7 +1837,7 @@ static void handle_iteration_next (void *cls, | |||
1837 | 1837 | ||
1838 | int zonekey_file_it (void *cls, const char *filename) | 1838 | int zonekey_file_it (void *cls, const char *filename) |
1839 | { | 1839 | { |
1840 | GNUNET_HashCode long_hash; | 1840 | struct GNUNET_HashCode long_hash; |
1841 | int *counter = cls; | 1841 | int *counter = cls; |
1842 | if ((filename != NULL) && (NULL != strstr(filename, ".zkey"))) | 1842 | if ((filename != NULL) && (NULL != strstr(filename, ".zkey"))) |
1843 | { | 1843 | { |