gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r23777 - in gnunet/src: fs nse vpn


From: gnunet
Subject: [GNUnet-SVN] r23777 - in gnunet/src: fs nse vpn
Date: Fri, 14 Sep 2012 10:20:51 +0200

Author: grothoff
Date: 2012-09-14 10:20:51 +0200 (Fri, 14 Sep 2012)
New Revision: 23777

Modified:
   gnunet/src/fs/fs_namespace_advertise.c
   gnunet/src/nse/gnunet-nse-profiler.c
   gnunet/src/vpn/vpn.h
Log:
-doxygen

Modified: gnunet/src/fs/fs_namespace_advertise.c
===================================================================
--- gnunet/src/fs/fs_namespace_advertise.c      2012-09-14 08:19:23 UTC (rev 
23776)
+++ gnunet/src/fs/fs_namespace_advertise.c      2012-09-14 08:20:51 UTC (rev 
23777)
@@ -204,7 +204,7 @@
  *
  * @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 @@
 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 @@
   }
   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 @@
   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);

Modified: gnunet/src/nse/gnunet-nse-profiler.c
===================================================================
--- gnunet/src/nse/gnunet-nse-profiler.c        2012-09-14 08:19:23 UTC (rev 
23776)
+++ gnunet/src/nse/gnunet-nse-profiler.c        2012-09-14 08:20:51 UTC (rev 
23777)
@@ -557,9 +557,6 @@
 /**
  * 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 @@
  * 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,

Modified: gnunet/src/vpn/vpn.h
===================================================================
--- gnunet/src/vpn/vpn.h        2012-09-14 08:19:23 UTC (rev 23776)
+++ gnunet/src/vpn/vpn.h        2012-09-14 08:20:51 UTC (rev 23777)
@@ -82,7 +82,7 @@
 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;
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]