gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r34550 - in gnunet: contrib src/cadet src/fs src/gns src/in


From: gnunet
Subject: [GNUnet-SVN] r34550 - in gnunet: contrib src/cadet src/fs src/gns src/include
Date: Sun, 14 Dec 2014 14:15:00 +0100

Author: grothoff
Date: 2014-12-14 14:15:00 +0100 (Sun, 14 Dec 2014)
New Revision: 34550

Modified:
   gnunet/contrib/no_forcestart.conf
   gnunet/src/cadet/test_cadet.c
   gnunet/src/fs/fs_uri.c
   gnunet/src/gns/gns.conf.in
   gnunet/src/include/gnunet_crypto_lib.h
   gnunet/src/include/gnunet_peerinfo_service.h
Log:
-do forcestart for gns; doxygen fixes

Modified: gnunet/contrib/no_forcestart.conf
===================================================================
--- gnunet/contrib/no_forcestart.conf   2014-12-14 00:40:51 UTC (rev 34549)
+++ gnunet/contrib/no_forcestart.conf   2014-12-14 13:15:00 UTC (rev 34550)
@@ -30,3 +30,6 @@
 
 [hostlist]
 FORCESTART = NO
+
+[gns]
+FORCESTART = NO

Modified: gnunet/src/cadet/test_cadet.c
===================================================================
--- gnunet/src/cadet/test_cadet.c       2014-12-14 00:40:51 UTC (rev 34549)
+++ gnunet/src/cadet/test_cadet.c       2014-12-14 13:15:00 UTC (rev 34550)
@@ -33,7 +33,7 @@
 /**
  * How namy messages to send
  */
-#define TOTAL_PACKETS 2000
+#define TOTAL_PACKETS 20000
 
 /**
  * How long until we give up on connecting the peers?

Modified: gnunet/src/fs/fs_uri.c
===================================================================
--- gnunet/src/fs/fs_uri.c      2014-12-14 00:40:51 UTC (rev 34549)
+++ gnunet/src/fs/fs_uri.c      2014-12-14 13:15:00 UTC (rev 34550)
@@ -858,14 +858,16 @@
   if (baseUri->type != GNUNET_FS_URI_CHK)
     return NULL;
   if (GNUNET_OK !=
-      GNUNET_CONFIGURATION_get_value_filename (cfg, "PEER", "PRIVATE_KEY",
+      GNUNET_CONFIGURATION_get_value_filename (cfg,
+                                               "PEER", "PRIVATE_KEY",
                                                &keyfile))
   {
     GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
                 _("Lacking key configuration settings.\n"));
     return NULL;
   }
-  if (NULL == (my_private_key = GNUNET_CRYPTO_eddsa_key_create_from_file 
(keyfile)))
+  if (NULL ==
+      (my_private_key = GNUNET_CRYPTO_eddsa_key_create_from_file (keyfile)))
   {
     GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
                 _("Could not access hostkey file `%s'.\n"), keyfile);

Modified: gnunet/src/gns/gns.conf.in
===================================================================
--- gnunet/src/gns/gns.conf.in  2014-12-14 00:40:51 UTC (rev 34549)
+++ gnunet/src/gns/gns.conf.in  2014-12-14 13:15:00 UTC (rev 34550)
@@ -1,5 +1,6 @@
 [gns]
 AUTOSTART = @AUTOSTART@
+FORCESTART = YES
 HOSTNAME = localhost
 BINARY = gnunet-service-gns
 UNIXPATH = $GNUNET_USER_RUNTIME_DIR/gnunet-service-gns.sock

Modified: gnunet/src/include/gnunet_crypto_lib.h
===================================================================
--- gnunet/src/include/gnunet_crypto_lib.h      2014-12-14 00:40:51 UTC (rev 
34549)
+++ gnunet/src/include/gnunet_crypto_lib.h      2014-12-14 13:15:00 UTC (rev 
34550)
@@ -1159,6 +1159,7 @@
 GNUNET_CRYPTO_get_peer_identity (const struct GNUNET_CONFIGURATION_Handle *cfg,
                                  struct GNUNET_PeerIdentity *dst);
 
+
 /**
  * Compare two Peer Identities.
  *

Modified: gnunet/src/include/gnunet_peerinfo_service.h
===================================================================
--- gnunet/src/include/gnunet_peerinfo_service.h        2014-12-14 00:40:51 UTC 
(rev 34549)
+++ gnunet/src/include/gnunet_peerinfo_service.h        2014-12-14 13:15:00 UTC 
(rev 34550)
@@ -77,8 +77,9 @@
  * @param cls closure
  * @param emsg error message, NULL on success
  */
-typedef void (*GNUNET_PEERINFO_Continuation)(void *cls,
-                                            const char *emsg);
+typedef void
+(*GNUNET_PEERINFO_Continuation)(void *cls,
+                                const char *emsg);
 
 
 /**
@@ -90,7 +91,7 @@
 /**
  * Add a host to the persistent list.  This method operates in
  * semi-reliable mode: if the transmission is not completed by
- * the time 'GNUNET_PEERINFO_disconnect' is called, it will be
+ * the time #GNUNET_PEERINFO_disconnect() is called, it will be
  * aborted.  Furthermore, if a second HELLO is added for the
  * same peer before the first one was transmitted, PEERINFO may
  * merge the two HELLOs prior to transmission to the service.
@@ -98,12 +99,12 @@
  * @param h handle to the peerinfo service
  * @param hello the verified (!) HELLO message
  * @param cont continuation to call when done, NULL is allowed
- * @param cont_cls closure for 'cont'
+ * @param cont_cls closure for @a cont
  * @return handle to cancel add operation; all pending
  *         'add' operations will be cancelled automatically
  *        on disconnect, so it is not necessary to keep this
- *        handle (unless 'cont' is NULL and at some point
- *        calling 'cont' must be prevented)
+ *        handle (unless @a cont is NULL and at some point
+ *        calling @a cont must be prevented)
  */
 struct GNUNET_PEERINFO_AddContext *
 GNUNET_PEERINFO_add_peer (struct GNUNET_PEERINFO_Handle *h,
@@ -114,7 +115,7 @@
 
 /**
  * Cancel pending 'add' operation.  Must only be called before
- * either 'cont' or 'GNUNET_PEERINFO_disconnect' are invoked.
+ * either 'cont' or #GNUNET_PEERINFO_disconnect() are invoked.
  *
  * @param ac handle for the add operation to cancel
  */
@@ -150,8 +151,8 @@
  * with a NULL pointer.  After that final invocation, the iterator
  * context must no longer be used.
  *
- * Instead of calling this function with 'peer == NULL' it is often
- * better to use 'GNUNET_PEERINFO_notify'.
+ * Instead of calling this function with `peer == NULL` it is often
+ * better to use #GNUNET_PEERINFO_notify().
  *
  * @param h handle to the peerinfo service
  * @param include_friend_only include HELLO messages for friends only
@@ -169,7 +170,6 @@
                          GNUNET_PEERINFO_Processor callback, void 
*callback_cls);
 
 
-
 /**
  * Cancel an iteration over peer information.
  *
@@ -179,7 +179,6 @@
 GNUNET_PEERINFO_iterate_cancel (struct GNUNET_PEERINFO_IteratorContext *ic);
 
 
-
 /**
  * Handle for notifications about changes to the set of known peers.
  */
@@ -204,7 +203,8 @@
 struct GNUNET_PEERINFO_NotifyContext *
 GNUNET_PEERINFO_notify (const struct GNUNET_CONFIGURATION_Handle *cfg,
                        int include_friend_only,
-                        GNUNET_PEERINFO_Processor callback, void 
*callback_cls);
+                        GNUNET_PEERINFO_Processor callback,
+                        void *callback_cls);
 
 
 /**




reply via email to

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