diff options
-rw-r--r-- | src/hello/gnunet-hello.c | 2 | ||||
-rw-r--r-- | src/include/gnunet_namestore_service.h | 5 | ||||
-rw-r--r-- | src/namestore/gnunet-service-namestore.c | 7 | ||||
-rw-r--r-- | src/namestore/namestore_api.c | 1 |
4 files changed, 6 insertions, 9 deletions
diff --git a/src/hello/gnunet-hello.c b/src/hello/gnunet-hello.c index be7719e94..d64833b42 100644 --- a/src/hello/gnunet-hello.c +++ b/src/hello/gnunet-hello.c | |||
@@ -54,7 +54,7 @@ struct AddContext | |||
54 | /** | 54 | /** |
55 | * Add the given address with infinit expiration to the buffer. | 55 | * Add the given address with infinit expiration to the buffer. |
56 | * | 56 | * |
57 | * @param ac add context | 57 | * @param cls closure |
58 | * @param address address to add | 58 | * @param address address to add |
59 | * @param expiration old expiration | 59 | * @param expiration old expiration |
60 | * @return GNUNET_OK keep iterating | 60 | * @return GNUNET_OK keep iterating |
diff --git a/src/include/gnunet_namestore_service.h b/src/include/gnunet_namestore_service.h index fbc2a4b3c..8e92dd906 100644 --- a/src/include/gnunet_namestore_service.h +++ b/src/include/gnunet_namestore_service.h | |||
@@ -229,7 +229,6 @@ GNUNET_NAMESTORE_verify_signature (const struct GNUNET_CRYPTO_RsaPublicKeyBinary | |||
229 | * | 229 | * |
230 | * @param h handle to the namestore | 230 | * @param h handle to the namestore |
231 | * @param pkey private key of the zone | 231 | * @param pkey private key of the zone |
232 | * @param expire block expiration time | ||
233 | * @param name name that is being mapped (at most 255 characters long) | 232 | * @param name name that is being mapped (at most 255 characters long) |
234 | * @param rd record data to store | 233 | * @param rd record data to store |
235 | * @param cont continuation to call when done | 234 | * @param cont continuation to call when done |
@@ -339,9 +338,7 @@ GNUNET_NAMESTORE_zone_to_name (struct GNUNET_NAMESTORE_Handle *h, | |||
339 | 338 | ||
340 | /** | 339 | /** |
341 | * Starts a new zone iteration (used to periodically PUT all of our | 340 | * Starts a new zone iteration (used to periodically PUT all of our |
342 | * records into our DHT). This MUST lock the GNUNET_NAMESTORE_Handle | 341 | * records into our DHT). "proc" will be called once |
343 | * for any other calls than GNUNET_NAMESTORE_zone_iterator_next and | ||
344 | * GNUNET_NAMESTORE_zone_iteration_stop. "proc" will be called once | ||
345 | * immediately, and then again after | 342 | * immediately, and then again after |
346 | * "GNUNET_NAMESTORE_zone_iterator_next" is invoked. | 343 | * "GNUNET_NAMESTORE_zone_iterator_next" is invoked. |
347 | * | 344 | * |
diff --git a/src/namestore/gnunet-service-namestore.c b/src/namestore/gnunet-service-namestore.c index dcf1075b6..6b4250d38 100644 --- a/src/namestore/gnunet-service-namestore.c +++ b/src/namestore/gnunet-service-namestore.c | |||
@@ -110,13 +110,14 @@ struct GNUNET_CONTAINER_MultiHashMap *zonekeys; | |||
110 | 110 | ||
111 | /** | 111 | /** |
112 | * Write zonefile to disk | 112 | * Write zonefile to disk |
113 | * @param file where to write | 113 | * @param filename where to write |
114 | * @param ret the key | 114 | * @param c the crypto container |
115 | * | 115 | * |
116 | * @return GNUNET_OK on success, GNUNET_SYSERR on fail | 116 | * @return GNUNET_OK on success, GNUNET_SYSERR on fail |
117 | */ | 117 | */ |
118 | 118 | ||
119 | int write_key_to_file (const char *filename, struct GNUNET_NAMESTORE_CryptoContainer *c) | 119 | int |
120 | write_key_to_file (const char *filename, struct GNUNET_NAMESTORE_CryptoContainer *c) | ||
120 | { | 121 | { |
121 | struct GNUNET_CRYPTO_RsaPrivateKey *ret = c->privkey; | 122 | struct GNUNET_CRYPTO_RsaPrivateKey *ret = c->privkey; |
122 | struct GNUNET_CRYPTO_RsaPrivateKeyBinaryEncoded *enc; | 123 | struct GNUNET_CRYPTO_RsaPrivateKeyBinaryEncoded *enc; |
diff --git a/src/namestore/namestore_api.c b/src/namestore/namestore_api.c index 1a0dec71d..4abad4d1c 100644 --- a/src/namestore/namestore_api.c +++ b/src/namestore/namestore_api.c | |||
@@ -1123,7 +1123,6 @@ GNUNET_NAMESTORE_verify_signature (const struct GNUNET_CRYPTO_RsaPublicKeyBinary | |||
1123 | * | 1123 | * |
1124 | * @param h handle to the namestore | 1124 | * @param h handle to the namestore |
1125 | * @param pkey private key of the zone | 1125 | * @param pkey private key of the zone |
1126 | * @param expire block expiration time | ||
1127 | * @param name name that is being mapped (at most 255 characters long) | 1126 | * @param name name that is being mapped (at most 255 characters long) |
1128 | * @param rd record data to store | 1127 | * @param rd record data to store |
1129 | * @param cont continuation to call when done | 1128 | * @param cont continuation to call when done |