diff options
author | Martin Schanzenbach <mschanzenbach@posteo.de> | 2012-02-20 14:28:25 +0000 |
---|---|---|
committer | Martin Schanzenbach <mschanzenbach@posteo.de> | 2012-02-20 14:28:25 +0000 |
commit | 5fcf9d5393b0416ba91943c38f67cad242242d93 (patch) | |
tree | 749e08855263265612d0ac32e8db07e65823f628 /src/include/gnunet_namestore_service.h | |
parent | fae59dd582474d41063b27c04ee64735ac71e3d3 (diff) | |
download | gnunet-5fcf9d5393b0416ba91943c38f67cad242242d93.tar.gz gnunet-5fcf9d5393b0416ba91943c38f67cad242242d93.zip |
namestore stub api added
fixes to namestore api
Diffstat (limited to 'src/include/gnunet_namestore_service.h')
-rw-r--r-- | src/include/gnunet_namestore_service.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/gnunet_namestore_service.h b/src/include/gnunet_namestore_service.h index 0865e8d63..e7da0d3f2 100644 --- a/src/include/gnunet_namestore_service.h +++ b/src/include/gnunet_namestore_service.h | |||
@@ -152,7 +152,7 @@ struct GNUNET_NAMESTORE_SignatureLocation | |||
152 | * @param sig where the signature is now located in the S-tree | 152 | * @param sig where the signature is now located in the S-tree |
153 | */ | 153 | */ |
154 | typedef void (*GNUNET_NAMESTORE_ContinuationWithSignature) (void *cls, | 154 | typedef void (*GNUNET_NAMESTORE_ContinuationWithSignature) (void *cls, |
155 | const struct GNUNET_NAMESPACE_SignatureLocation *sig); | 155 | const struct GNUNET_NAMESTORE_SignatureLocation *sig); |
156 | 156 | ||
157 | 157 | ||
158 | 158 | ||
@@ -264,7 +264,7 @@ GNUNET_NAMESTORE_stree_start (struct GNUNET_NAMESTORE_Handle *h, | |||
264 | */ | 264 | */ |
265 | struct GNUNET_NAMESTORE_QueueEntry * | 265 | struct GNUNET_NAMESTORE_QueueEntry * |
266 | GNUNET_NAMESTORE_stree_put (struct GNUNET_NAMESTORE_Handle *h, | 266 | GNUNET_NAMESTORE_stree_put (struct GNUNET_NAMESTORE_Handle *h, |
267 | const struct GNUNET_CRYPTO_PublicKey *zone_key, | 267 | const struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded *zone_key, |
268 | const struct GNUNET_NAMESTORE_SignatureLocation *loc, | 268 | const struct GNUNET_NAMESTORE_SignatureLocation *loc, |
269 | const struct GNUNET_NAMESTORE_SignatureLocation *ploc, | 269 | const struct GNUNET_NAMESTORE_SignatureLocation *ploc, |
270 | const struct GNUNET_CRYPTO_RsaSignature *sig, | 270 | const struct GNUNET_CRYPTO_RsaSignature *sig, |
@@ -383,7 +383,7 @@ GNUNET_NAMESTORE_lookup_name (struct GNUNET_NAMESTORE_Handle *h, | |||
383 | 383 | ||
384 | /** | 384 | /** |
385 | * Get the hash of a subtree in the STree (what will be signed in the parent | 385 | * Get the hash of a subtree in the STree (what will be signed in the parent |
386 | * location). | 386 | * location). FIXME naming conflict! |
387 | * | 387 | * |
388 | * @param zone hash of the public key of the zone | 388 | * @param zone hash of the public key of the zone |
389 | * @param loc where we are in the signature tree | 389 | * @param loc where we are in the signature tree |
@@ -392,7 +392,7 @@ GNUNET_NAMESTORE_lookup_name (struct GNUNET_NAMESTORE_Handle *h, | |||
392 | * @param st_hash hash of the stree node (set) | 392 | * @param st_hash hash of the stree node (set) |
393 | */ | 393 | */ |
394 | void | 394 | void |
395 | GNUNET_NAMESTORE_record_hash (struct GNUNET_NAMESTORE_Handle *h, | 395 | GNUNET_NAMESTORE_record_hash_dup (struct GNUNET_NAMESTORE_Handle *h, |
396 | const GNUNET_HashCode *zone, | 396 | const GNUNET_HashCode *zone, |
397 | const struct GNUNET_NAMESTORE_SignatureLocation *loc, | 397 | const struct GNUNET_NAMESTORE_SignatureLocation *loc, |
398 | unsigned int num_entries, | 398 | unsigned int num_entries, |