gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r31161 - in gnunet/src: include util
Date: Sat, 7 Dec 2013 01:15:19 +0100

Author: grothoff
Date: 2013-12-07 01:15:19 +0100 (Sat, 07 Dec 2013)
New Revision: 31161

Modified:
   gnunet/src/include/gnunet_dnsparser_lib.h
   gnunet/src/include/gnunet_os_lib.h
   gnunet/src/util/os_priority.c
Log:
-doxygenfixes

Modified: gnunet/src/include/gnunet_dnsparser_lib.h
===================================================================
--- gnunet/src/include/gnunet_dnsparser_lib.h   2013-12-06 23:45:41 UTC (rev 
31160)
+++ gnunet/src/include/gnunet_dnsparser_lib.h   2013-12-07 00:15:19 UTC (rev 
31161)
@@ -232,7 +232,7 @@
 
 /**
  * DNSCERT algorithms as defined in http://www.iana.org/assignments/
- *  dns-sec-alg-numbers/dns-sec-alg-numbers.xhtml#dns-sec-alg-numbers-1
+ *  dns-sec-alg-numbers/dns-sec-alg-numbers.xhtml, under dns-sec-alg-numbers-1
  */
 enum GNUNET_DNSPARSER_CertAlgorithm
 {

Modified: gnunet/src/include/gnunet_os_lib.h
===================================================================
--- gnunet/src/include/gnunet_os_lib.h  2013-12-06 23:45:41 UTC (rev 31160)
+++ gnunet/src/include/gnunet_os_lib.h  2013-12-07 00:15:19 UTC (rev 31161)
@@ -382,22 +382,20 @@
 
 /**
  * Start a process.  This function is similar to the GNUNET_OS_start_process_*
- * except that the @a filename and @argv can have whole strings which contain
+ * except that the filename and arguments can have whole strings which contain
  * the arguments.  These arguments are to be separated by spaces and are parsed
- * in the order they appear.  Arguments containing spaces can be used by 
+ * in the order they appear.  Arguments containing spaces can be used by
  * quoting them with @em ".
  *
  * @param pipe_control should a pipe be used to send signals to the child?
  * @param std_inheritance a set of GNUNET_OS_INHERIT_STD_* flags
  * @param lsocks array of listen sockets to dup systemd-style (or NULL);
  *         must be NULL on platforms where dup is not supported
- * @param filename name of the binary.  It is valid to have the arguments
+ * @param first_arg name of the binary.  It is valid to have the arguments
  *         in this string when they are separated by spaces.
- * @param ... more arguments.  Should be of type <tt>char *</tt>.  It is valid
+ * @param ... more arguments.  Should be of type `char *`.  It is valid
  *         to have the arguments in these strings when they are separated by
  *         spaces.
- * @param argv NULL-terminated list of arguments to the process,
- *             including the process name as the first argument
  * @return pointer to process structure of the new process, NULL on error
  */
 struct GNUNET_OS_Process *

Modified: gnunet/src/util/os_priority.c
===================================================================
--- gnunet/src/util/os_priority.c       2013-12-06 23:45:41 UTC (rev 31160)
+++ gnunet/src/util/os_priority.c       2013-12-07 00:15:19 UTC (rev 31161)
@@ -1330,22 +1330,20 @@
 
 /**
  * Start a process.  This function is similar to the GNUNET_OS_start_process_*
- * except that the @a filename and @argv can have whole strings which contain
+ * except that the filename and arguments can have whole strings which contain
  * the arguments.  These arguments are to be separated by spaces and are parsed
- * in the order they appear.  Arguments containing spaces can be used by 
+ * in the order they appear.  Arguments containing spaces can be used by
  * quoting them with @em ".
  *
  * @param pipe_control should a pipe be used to send signals to the child?
  * @param std_inheritance a set of GNUNET_OS_INHERIT_STD_* flags
  * @param lsocks array of listen sockets to dup systemd-style (or NULL);
  *         must be NULL on platforms where dup is not supported
- * @param filename name of the binary.  It is valid to have the arguments
+ * @param first_arg name of the binary.  It is valid to have the arguments
  *         in this string when they are separated by spaces.
- * @param ... more arguments.  Should be of type <tt>char *</tt>.  It is valid
+ * @param ... more arguments.  Should be of type `char *`.  It is valid
  *         to have the arguments in these strings when they are separated by
  *         spaces.
- * @param argv NULL-terminated list of arguments to the process,
- *             including the process name as the first argument
  * @return pointer to process structure of the new process, NULL on error
  */
 struct GNUNET_OS_Process *
@@ -1384,7 +1382,7 @@
          quote_on = 0;
        else
          quote_on = 1;
-      }        
+      }
       if ( (' ' == *rpos) && (0 == quote_on) )
       {
        if (NULL != last)
@@ -1416,7 +1414,7 @@
     quote_on = 0;
     pos = cp;
     while ('\0' != *pos)
-    {  
+    {
       if ('"' == *pos)
       {
        if (1 == quote_on)
@@ -1447,14 +1445,14 @@
   while (NULL != (arg = (va_arg (ap, const char*))));
   va_end (ap);
   argv[argv_size] = NULL;
-  
+
   for(i = 0; i < argv_size; i++)
   {
     len = strlen (argv[i]);
     if ( (argv[i][0] == '"') && (argv[i][len-1] == '"'))
     {
       memmove (&argv[i][0], &argv[i][1], len - 2);
-      argv[i][len-2] = '\0';  
+      argv[i][len-2] = '\0';
     }
   }
   binary_path = argv[0];




reply via email to

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