- fix encryption/decryption visisbility
[oweals/gnunet.git] / src / include / gnunet_namestore_plugin.h
index 32d13e200320bfdc42ad3fbcafce4a7bc9006b33..5c7408eec315ee5331c3d8a13d35ddd8bf99d191 100644 (file)
@@ -58,7 +58,7 @@ typedef void (*GNUNET_NAMESTORE_BlockCallback) (void *cls,
  * @param rd array of records with data to store
  */
 typedef void (*GNUNET_NAMESTORE_RecordIterator) (void *cls,
-                                                const struct GNUNET_CRYPTO_EccPrivateKey *private_key,
+                                                const struct GNUNET_CRYPTO_EcdsaPrivateKey *private_key,
                                                 const char *label,
                                                 unsigned int rd_count,
                                                 const struct GNUNET_NAMESTORE_RecordData *rd);
@@ -83,7 +83,7 @@ struct GNUNET_NAMESTORE_PluginFunctions
    * @param block block to cache
    * @return #GNUNET_OK on success, else #GNUNET_SYSERR
    */
-  int (*cache_block) (void *cls, 
+  int (*cache_block) (void *cls,
                      const struct GNUNET_NAMESTORE_Block *block);
 
 
@@ -97,7 +97,7 @@ struct GNUNET_NAMESTORE_PluginFunctions
    * @param iter_cls closure for @a iter
    * @return #GNUNET_OK on success, #GNUNET_NO if there were no results, #GNUNET_SYSERR on error
    */
-  int (*lookup_block) (void *cls, 
+  int (*lookup_block) (void *cls,
                       const struct GNUNET_HashCode *query,
                       GNUNET_NAMESTORE_BlockCallback iter, void *iter_cls);
 
@@ -114,8 +114,8 @@ struct GNUNET_NAMESTORE_PluginFunctions
    * @param rd array of records with data to store
    * @return #GNUNET_OK on success, else #GNUNET_SYSERR
    */
-  int (*store_records) (void *cls, 
-                       const struct GNUNET_CRYPTO_EccPrivateKey *zone,
+  int (*store_records) (void *cls,
+                       const struct GNUNET_CRYPTO_EcdsaPrivateKey *zone,
                        const char *label,
                        unsigned int rd_count,
                        const struct GNUNET_NAMESTORE_RecordData *rd);
@@ -132,8 +132,8 @@ struct GNUNET_NAMESTORE_PluginFunctions
    * @param iter_cls closure for @a iter
    * @return #GNUNET_OK on success, #GNUNET_NO if there were no results, #GNUNET_SYSERR on error
    */
-  int (*iterate_records) (void *cls, 
-                         const struct GNUNET_CRYPTO_EccPrivateKey *zone,
+  int (*iterate_records) (void *cls,
+                         const struct GNUNET_CRYPTO_EcdsaPrivateKey *zone,
                          uint64_t offset,
                          GNUNET_NAMESTORE_RecordIterator iter, void *iter_cls);
 
@@ -149,9 +149,9 @@ struct GNUNET_NAMESTORE_PluginFunctions
    * @param iter_cls closure for @a iter
    * @return #GNUNET_OK on success, #GNUNET_NO if there were no results, #GNUNET_SYSERR on error
    */
-  int (*zone_to_name) (void *cls, 
-                      const struct GNUNET_CRYPTO_EccPrivateKey *zone,
-                      const struct GNUNET_CRYPTO_EccPublicSignKey *value_zone,
+  int (*zone_to_name) (void *cls,
+                      const struct GNUNET_CRYPTO_EcdsaPrivateKey *zone,
+                      const struct GNUNET_CRYPTO_EcdsaPublicKey *value_zone,
                       GNUNET_NAMESTORE_RecordIterator iter, void *iter_cls);