gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r31814 - gnunet-gtk/src/setup


From: gnunet
Subject: [GNUnet-SVN] r31814 - gnunet-gtk/src/setup
Date: Tue, 7 Jan 2014 06:17:01 +0100

Author: grothoff
Date: 2014-01-07 06:17:00 +0100 (Tue, 07 Jan 2014)
New Revision: 31814

Modified:
   gnunet-gtk/src/setup/gnunet-setup-transport.c
Log:
-api update

Modified: gnunet-gtk/src/setup/gnunet-setup-transport.c
===================================================================
--- gnunet-gtk/src/setup/gnunet-setup-transport.c       2014-01-07 05:14:12 UTC 
(rev 31813)
+++ gnunet-gtk/src/setup/gnunet-setup-transport.c       2014-01-07 05:17:00 UTC 
(rev 31814)
@@ -142,7 +142,7 @@
 /**
  * Update the ICMP server button based on the result.
  *
- * @param on GNUNET_YES to enable, GNUNET_NO to disable
+ * @param on #GNUNET_YES to enable, #GNUNET_NO to disable
  */
 static void
 update_icmp_server_enable_button (int on)
@@ -166,10 +166,12 @@
  * Clean up and update GUI (with success).
  *
  * @param cls closure (unused)
- * @param success currently always GNUNET_OK
+ * @param success currently always #GNUNET_OK
+ * @param emsg error message, NULL on success
  */
 static void
-result_callback (void *cls, int success)
+result_callback (void *cls, int success,
+                 const char *emsg)
 {
   struct GNUNET_SetupAutoContext *ac = cls;
 
@@ -197,7 +199,8 @@
  * @param tc scheduler callback
  */
 static void
-fail_timeout (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
+fail_timeout (void *cls,
+              const struct GNUNET_SCHEDULER_TaskContext *tc)
 {
   struct GNUNET_SetupAutoContext *ac = cls;
 
@@ -221,7 +224,8 @@
  * @param tc scheduler context
  */
 static void
-reversal_test (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
+reversal_test (void *cls,
+               const struct GNUNET_SCHEDULER_TaskContext *tc)
 {
   struct GNUNET_SetupAutoContext *ac = cls;
 
@@ -257,9 +261,12 @@
  *
  * @param cls closure with our setup context
  * @param addr the address, NULL on errors
+ * @param emsg error message, NULL on success
  */
 static void
-set_external_ipv4 (void *cls, const struct in_addr *addr)
+set_external_ipv4 (void *cls,
+                   const struct in_addr *addr,
+                   const char *emsg)
 {
   struct GNUNET_SetupAutoContext *ac = cls;
   char buf[INET_ADDRSTRLEN];
@@ -325,7 +332,7 @@
  * @param broadcast_addr the broadcast address (can be NULL for unknown or 
unassigned)
  * @param netmask the network mask (can be NULL for unknown or unassigned))
  * @param addrlen length of the address
- * @return GNUNET_OK to continue iteration, GNUNET_SYSERR to abort
+ * @return #GNUNET_OK to continue iteration, #GNUNET_SYSERR to abort
  */
 static int
 nipo (void *cls, const char *name, int isDefault, const struct sockaddr *addr,




reply via email to

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