- doxygen
authorMatthias Wachs <wachs@net.in.tum.de>
Mon, 5 Mar 2012 12:24:58 +0000 (12:24 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Mon, 5 Mar 2012 12:24:58 +0000 (12:24 +0000)
src/dv/plugin_transport_dv.c
src/include/gnunet_gns_service.h
src/include/gnunet_namestore_service.h
src/namestore/gnunet-service-namestore.c
src/namestore/namestore.h
src/namestore/namestore_common.c

index 8ee49c5190016915d009449d6301a45fd1498a3d..3a8bafcefee8dcb7fb4bb819827b516b783e2669 100644 (file)
@@ -385,9 +385,7 @@ dv_plugin_check_address (void *cls, const void *addr, size_t addrlen)
  * notify us by calling the env->session_end function
  *
  * @param cls the plugin
- * @param target the neighbour id
- * @param addr pointer to the address
- * @param addrlen length of addr
+ * @param address the address
  * @return the session if the address is valid, NULL otherwise
  */
 static struct Session * 
index 2422178660d1689e765a730a8de9253f11c573e8..f7bfc2aa76f55c148e0f22742faf18cc4deb416e 100644 (file)
@@ -121,8 +121,6 @@ typedef void (*GNUNET_GNS_LookupIterator) (void *cls,
  * @param handle handle to the GNS service
  * @param timeout how long to wait for transmission of this request to the service
  * // FIXME: what happens afterwards?
- * @param handle handle to the GNS service
- * @param timeout timeout of request
  * @param name the name to look up
  * @param type the GNUNET_GNS_RecordType to look for
  * @param iter function to call on each result
index a8233fa4b59689bfb354d2fd90a604dfb0ce1f97..f3ea765fde2c3f617e9d54f0fc55f1fbc1e01fad 100644 (file)
@@ -111,7 +111,7 @@ GNUNET_NAMESTORE_disconnect (struct GNUNET_NAMESTORE_Handle *h, int drop);
  *
  * @param cls closure
  * @param success GNUNET_SYSERR on failure (including timeout/queue drop/failure to validate)
- *                GNUNET_NO if content was already there
+ *                GNUNET_NO if content was already there or not found
  *                GNUNET_YES (or other positive value) on success
  * @param emsg NULL on success, otherwise an error message
  */
@@ -419,7 +419,7 @@ GNUNET_NAMESTORE_records_get_size (unsigned int rd_count,
 /**
  * Serialize the given records to the given destination buffer.
  *
- * @param rd_cound number of records in the rd array
+ * @param rd_count number of records in the rd array
  * @param rd array of GNUNET_NAMESTORE_RecordData with rd_count elements
  * @param dest_size size of the destination array
  * @param dest where to write the result
@@ -438,7 +438,7 @@ GNUNET_NAMESTORE_records_serialize (unsigned int rd_count,
  *
  * @param len size of the serialized record data
  * @param src the serialized record data
- * @param rd_cound number of records in the rd array
+ * @param rd_count number of records in the rd array
  * @param dest where to put the data
  *
  * @return GNUNET_OK on success, GNUNET_SYSERR on error
index 23d45d080692657727760b37903f3c9981e30618..600965e8a9d8229afe9dd8c7cf1b4a8fb15ca831 100644 (file)
@@ -225,6 +225,7 @@ void drop_iterator (void *cls,
  *
  * @param cls closure
  * @param client identification of the client
+ * @param message the stop message
  */
 static void handle_stop (void *cls,
                           struct GNUNET_SERVER_Client * client,
index a70d3a62cfb450ebe719f807276f72a27c6cca49..f8aa71f0eda17dbbc2ed6ecd160347b083022532 100644 (file)
 
 #define GNUNET_MESSAGE_TYPE_NAMESTORE_DISCONNECT 443
 
-
+/**
+ * Sign name and records
+ *
+ * @param key the private key
+ * @param name the name
+ * @param rd record data
+ * @param rd_count number of records
+ *
+ * @return the signature
+ */
 struct GNUNET_CRYPTO_RsaSignature *
 GNUNET_NAMESTORE_create_signature (const struct GNUNET_CRYPTO_RsaPrivateKey *key, const char *name, struct GNUNET_NAMESTORE_RecordData *rd, unsigned int rd_count);
 
index 2e0a58c620ad9a1dabb611dfdf4b8f80a4da46b7..c1b5ddc1e0b776d6fd6e63e1ec89511bd81195a4 100644 (file)
@@ -95,7 +95,7 @@ GNUNET_NAMESTORE_records_get_size (unsigned int rd_count,
 /**
  * Serialize the given records to the given destination buffer.
  *
- * @param rd_cound number of records in the rd array
+ * @param rd_count number of records in the rd array
  * @param rd array of GNUNET_NAMESTORE_RecordData with rd_count elements
  * @param dest_size size of the destination array
  * @param dest where to write the result
@@ -158,7 +158,7 @@ GNUNET_NAMESTORE_records_cmp (const struct GNUNET_NAMESTORE_RecordData *a,
  *
  * @param len size of the serialized record data
  * @param src the serialized record data
- * @param rd_cound number of records in the rd array
+ * @param rd_count number of records in the rd array
  * @param dest where to put the data
  *
  * @return GNUNET_OK on success, GNUNET_SYSERR on error
@@ -193,8 +193,21 @@ GNUNET_NAMESTORE_records_deserialize (size_t len,
   return GNUNET_OK; 
 }
 
+/**
+ * Sign name and records
+ *
+ * @param key the private key
+ * @param name the name
+ * @param rd record data
+ * @param rd_count number of records
+ *
+ * @return the signature
+ */
 struct GNUNET_CRYPTO_RsaSignature *
-GNUNET_NAMESTORE_create_signature (const struct GNUNET_CRYPTO_RsaPrivateKey *key, const char *name, struct GNUNET_NAMESTORE_RecordData *rd, unsigned int rd_count)
+GNUNET_NAMESTORE_create_signature (const struct GNUNET_CRYPTO_RsaPrivateKey *key,
+    const char *name,
+    struct GNUNET_NAMESTORE_RecordData *rd,
+    unsigned int rd_count)
 {
   struct GNUNET_CRYPTO_RsaSignature *sig = GNUNET_malloc(sizeof (struct GNUNET_CRYPTO_RsaSignature));
   struct GNUNET_CRYPTO_RsaSignaturePurpose *sig_purpose;