aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgrothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96>2012-09-14 08:20:51 +0000
committergrothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96>2012-09-14 08:20:51 +0000
commit264a1e304953de8ce7d774fbfdfdbb296c443157 (patch)
treebdc888ed85a10bbf9e2ee5c52f0369c8b4a623ad
parent475b14968d918a78315ea028fc1cbfcdea8e71f8 (diff)
-doxygen
git-svn-id: https://gnunet.org/svn/gnunet@23777 140774ce-b5e7-0310-ab8b-a85725594a96
-rw-r--r--src/fs/fs_namespace_advertise.c8
-rw-r--r--src/nse/gnunet-nse-profiler.c7
-rw-r--r--src/vpn/vpn.h2
3 files changed, 7 insertions, 10 deletions
diff --git a/src/fs/fs_namespace_advertise.c b/src/fs/fs_namespace_advertise.c
index c0e15541c9..3b64e619cb 100644
--- a/src/fs/fs_namespace_advertise.c
+++ b/src/fs/fs_namespace_advertise.c
@@ -204,7 +204,7 @@ advertisement_cont (void *cls, int success,
*
* @param h handle to the file sharing subsystem
* @param ksk_uri keywords to use for advertisment
- * @param namespace handle for the namespace that should be advertised
+ * @param ns handle for the namespace that should be advertised
* @param meta meta-data for the namespace advertisement
* @param bo block options
* @param rootEntry name of the root of the namespace
@@ -215,7 +215,7 @@ advertisement_cont (void *cls, int success,
struct GNUNET_FS_AdvertisementContext *
GNUNET_FS_namespace_advertise (struct GNUNET_FS_Handle *h,
struct GNUNET_FS_Uri *ksk_uri,
- struct GNUNET_FS_Namespace *namespace,
+ struct GNUNET_FS_Namespace *ns,
const struct GNUNET_CONTAINER_MetaData *meta,
const struct GNUNET_FS_BlockOptions *bo,
const char *rootEntry,
@@ -261,7 +261,7 @@ GNUNET_FS_namespace_advertise (struct GNUNET_FS_Handle *h,
}
size = mdsize + sizeof (struct NBlock) + reslen;
nb = GNUNET_malloc (size);
- GNUNET_CRYPTO_rsa_key_get_public (namespace->key, &nb->subspace);
+ GNUNET_CRYPTO_rsa_key_get_public (ns->key, &nb->subspace);
nb->ns_purpose.size =
htonl (mdsize + reslen +
sizeof (struct GNUNET_CRYPTO_RsaSignaturePurpose) +
@@ -286,7 +286,7 @@ GNUNET_FS_namespace_advertise (struct GNUNET_FS_Handle *h,
ctx->nb = nb;
ctx->pt = pt;
ctx->pt_size = mdsize + reslen;
- ctx->ns = namespace;
+ ctx->ns = ns;
ctx->ns->rc++;
ctx->bo = *bo;
advertisement_cont (ctx, GNUNET_OK, GNUNET_TIME_UNIT_ZERO_ABS, NULL);
diff --git a/src/nse/gnunet-nse-profiler.c b/src/nse/gnunet-nse-profiler.c
index b35abce3aa..a7ed54c576 100644
--- a/src/nse/gnunet-nse-profiler.c
+++ b/src/nse/gnunet-nse-profiler.c
@@ -557,9 +557,6 @@ nse_disconnect_adapter (void *cls,
/**
* Task run to connect to the NSE and statistics services to a subset of
* all of the running peers.
- *
- * @param cls handle the peer
- * @param tc ignored
*/
static void
connect_nse_service ()
@@ -617,8 +614,8 @@ next_round (void *cls,
* last round, terminates the run.
*
* @param cls struct StatsContext
- * @param success GNUNET_OK if statistics were
- * successfully obtained, GNUNET_SYSERR if not.
+ * @param op operation handle
+ * @param emsg error message, NULL on success
*/
static void
stats_finished_callback (void *cls,
diff --git a/src/vpn/vpn.h b/src/vpn/vpn.h
index 12c9a7c81d..e1ae130e7f 100644
--- a/src/vpn/vpn.h
+++ b/src/vpn/vpn.h
@@ -82,7 +82,7 @@ struct RedirectToIpRequestMessage
struct RedirectToServiceRequestMessage
{
/**
- * Type is GNUNET_MESSAGE_TYPE_VPN_CLIENT_REDIRECT_TO_IP
+ * Type is GNUNET_MESSAGE_TYPE_VPN_CLIENT_REDIRECT_TO_SERVICE
*/
struct GNUNET_MessageHeader header;