diff options
Diffstat (limited to 'src/namestore/namestore.h')
-rw-r--r-- | src/namestore/namestore.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/namestore/namestore.h b/src/namestore/namestore.h index a70d3a62c..f8aa71f0e 100644 --- a/src/namestore/namestore.h +++ b/src/namestore/namestore.h | |||
@@ -45,7 +45,16 @@ | |||
45 | 45 | ||
46 | #define GNUNET_MESSAGE_TYPE_NAMESTORE_DISCONNECT 443 | 46 | #define GNUNET_MESSAGE_TYPE_NAMESTORE_DISCONNECT 443 |
47 | 47 | ||
48 | 48 | /** | |
49 | * Sign name and records | ||
50 | * | ||
51 | * @param key the private key | ||
52 | * @param name the name | ||
53 | * @param rd record data | ||
54 | * @param rd_count number of records | ||
55 | * | ||
56 | * @return the signature | ||
57 | */ | ||
49 | struct GNUNET_CRYPTO_RsaSignature * | 58 | struct GNUNET_CRYPTO_RsaSignature * |
50 | GNUNET_NAMESTORE_create_signature (const struct GNUNET_CRYPTO_RsaPrivateKey *key, const char *name, struct GNUNET_NAMESTORE_RecordData *rd, unsigned int rd_count); | 59 | GNUNET_NAMESTORE_create_signature (const struct GNUNET_CRYPTO_RsaPrivateKey *key, const char *name, struct GNUNET_NAMESTORE_RecordData *rd, unsigned int rd_count); |
51 | 60 | ||