gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r29809 - in gnunet/src: include util
Date: Thu, 3 Oct 2013 00:13:33 +0200

Author: grothoff
Date: 2013-10-03 00:13:32 +0200 (Thu, 03 Oct 2013)
New Revision: 29809

Modified:
   gnunet/src/include/gnunet_common.h
   gnunet/src/util/common_logging.c
Log:
-doxygen, indentation

Modified: gnunet/src/include/gnunet_common.h
===================================================================
--- gnunet/src/include/gnunet_common.h  2013-10-02 22:13:12 UTC (rev 29808)
+++ gnunet/src/include/gnunet_common.h  2013-10-02 22:13:32 UTC (rev 29809)
@@ -450,7 +450,7 @@
  * @param comp default component to use
  * @param loglevel what types of messages should be logged
  * @param logfile change logging to logfile (use NULL to keep stderr)
- * @return GNUNET_OK on success, GNUNET_SYSERR if logfile could not be opened
+ * @return #GNUNET_OK on success, #GNUNET_SYSERR if logfile could not be opened
  */
 int
 GNUNET_log_setup (const char *comp, const char *loglevel, const char *logfile);
@@ -461,7 +461,7 @@
  * Add a custom logger.
  *
  * @param logger log function
- * @param logger_cls closure for logger
+ * @param logger_cls closure for @a logger
  */
 void
 GNUNET_logger_add (GNUNET_Logger logger, void *logger_cls);

Modified: gnunet/src/util/common_logging.c
===================================================================
--- gnunet/src/util/common_logging.c    2013-10-02 22:13:12 UTC (rev 29808)
+++ gnunet/src/util/common_logging.c    2013-10-02 22:13:32 UTC (rev 29809)
@@ -829,10 +829,11 @@
  * Ignore the next n calls to the log function.
  *
  * @param n number of log calls to ignore (could be negative)
- * @param check_reset GNUNET_YES to assert that the log skip counter is 
currently zero
+ * @param check_reset #GNUNET_YES to assert that the log skip counter is 
currently zero
  */
 void
-GNUNET_log_skip (int n, int check_reset)
+GNUNET_log_skip (int n, 
+                int check_reset)
 {
   int ok;
 
@@ -849,6 +850,7 @@
   }
 }
 
+
 /**
  * Get the number of log calls that are going to be skipped
  *
@@ -860,6 +862,7 @@
   return skip_log;
 }
 
+
 /**
  * Output a log message using the default mechanism.
  *
@@ -869,7 +872,9 @@
  * @param va arguments to the format string "message"
  */
 static void
-mylog (enum GNUNET_ErrorType kind, const char *comp, const char *message,
+mylog (enum GNUNET_ErrorType kind,
+       const char *comp, 
+       const char *message,
        va_list va)
 {
   char date[DATE_STR_SIZE];
@@ -979,7 +984,8 @@
  * @param ... arguments for format string
  */
 void
-GNUNET_log_nocheck (enum GNUNET_ErrorType kind, const char *message, ...)
+GNUNET_log_nocheck (enum GNUNET_ErrorType kind, 
+                   const char *message, ...)
 {
   va_list va;
 




reply via email to

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