gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r35814 - in gnunet/src: dns include util


From: gnunet
Subject: [GNUnet-SVN] r35814 - in gnunet/src: dns include util
Date: Tue, 26 May 2015 13:16:58 +0200

Author: grothoff
Date: 2015-05-26 13:16:58 +0200 (Tue, 26 May 2015)
New Revision: 35814

Modified:
   gnunet/src/dns/gnunet-helper-dns.c
   gnunet/src/include/gnunet_os_lib.h
   gnunet/src/util/os_installation.c
Log:
-doxygen, indent

Modified: gnunet/src/dns/gnunet-helper-dns.c
===================================================================
--- gnunet/src/dns/gnunet-helper-dns.c  2015-05-26 10:24:43 UTC (rev 35813)
+++ gnunet/src/dns/gnunet-helper-dns.c  2015-05-26 11:16:58 UTC (rev 35814)
@@ -240,7 +240,7 @@
 
 
 /**
- * Creates a tun-interface called dev;
+ * Creates a tun-interface called @a dev;
  *
  * @param dev is asumed to point to a char[IFNAMSIZ]
  *        if *dev == '\\0', uses the name supplied by the kernel;
@@ -291,7 +291,7 @@
 
 
 /**
- * @brief Sets the IPv6-Address given in address on the interface dev
+ * @brief Sets the IPv6-Address given in @a address on the interface @a dev
  *
  * @param dev the interface to configure
  * @param address the IPv6-Address
@@ -388,7 +388,7 @@
 
 
 /**
- * @brief Sets the IPv4-Address given in address on the interface dev
+ * @brief Sets the IPv4-Address given in @a address on the interface @a dev
  *
  * @param dev the interface to configure
  * @param address the IPv4-Address
@@ -1008,7 +1008,7 @@
   /* now undo updating of routing tables; normal exit or clean-up-on-error 
case */
  cleanup_route_4:
   {
-    char *const route_clean_args[] =                   
+    char *const route_clean_args[] =
       {
        "ip", "route", "del", "default", "dev", dev,
        "table", DNS_TABLE, NULL
@@ -1023,7 +1023,7 @@
        "ip", "rule", "del", "fwmark", DNS_MARK, "table", DNS_TABLE, NULL
       };
     if (0 != fork_and_exec (sbin_ip, forward_clean_args))
-      r += 2;  
+      r += 2;
   }
  cleanup_mark_2:
   {
@@ -1034,7 +1034,7 @@
       };
     if (0 != fork_and_exec (sbin_iptables, mark_clean_args))
       r += 4;
-  }    
+  }
  cleanup_mangle_1:
   {
     char *const mangle_clean_args[] =

Modified: gnunet/src/include/gnunet_os_lib.h
===================================================================
--- gnunet/src/include/gnunet_os_lib.h  2015-05-26 10:24:43 UTC (rev 35813)
+++ gnunet/src/include/gnunet_os_lib.h  2015-05-26 11:16:58 UTC (rev 35814)
@@ -515,7 +515,9 @@
  *         #GNUNET_SYSERR on error (no such binary or not executable)
  */
 int
-GNUNET_OS_check_helper_binary (const char *binary, int check_suid, const char 
* params);
+GNUNET_OS_check_helper_binary (const char *binary,
+                               int check_suid,
+                               const char *params);
 
 
 #if 0                           /* keep Emacsens' auto-indent happy */

Modified: gnunet/src/util/os_installation.c
===================================================================
--- gnunet/src/util/os_installation.c   2015-05-26 10:24:43 UTC (rev 35813)
+++ gnunet/src/util/os_installation.c   2015-05-26 11:16:58 UTC (rev 35814)
@@ -720,7 +720,9 @@
  *         #GNUNET_SYSERR on error (no such binary or not executable)
  */
 int
-GNUNET_OS_check_helper_binary (const char *binary, int check_suid, const char 
*params)
+GNUNET_OS_check_helper_binary (const char *binary,
+                               int check_suid,
+                               const char *params)
 {
   struct stat statbuf;
   char *p;




reply via email to

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