gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r33139 - in libmicrohttpd: doc src/include src/microhttpd


From: gnunet
Subject: [GNUnet-SVN] r33139 - in libmicrohttpd: doc src/include src/microhttpd
Date: Thu, 24 Apr 2014 21:41:31 +0200

Author: grothoff
Date: 2014-04-24 21:41:30 +0200 (Thu, 24 Apr 2014)
New Revision: 33139

Modified:
   libmicrohttpd/doc/libmicrohttpd.texi
   libmicrohttpd/src/include/microhttpd.h
   libmicrohttpd/src/microhttpd/daemon.c
Log:
improve documentation for key-value iterator

Modified: libmicrohttpd/doc/libmicrohttpd.texi
===================================================================
--- libmicrohttpd/doc/libmicrohttpd.texi        2014-04-24 13:59:52 UTC (rev 
33138)
+++ libmicrohttpd/doc/libmicrohttpd.texi        2014-04-24 19:41:30 UTC (rev 
33139)
@@ -1123,6 +1123,21 @@
 request, and also to iterate over the headers that have been added to a
 response.
 
address@hidden @var
address@hidden cls
+custom value specified when iteration was triggered;
+
address@hidden kind
+kind of the header we are looking at
+
address@hidden key
+key for the value, can be an empty string
+
address@hidden value
+value corresponding value, can be NULL
+
address@hidden table
+
 Return @code{MHD_YES} to continue iterating, @code{MHD_NO} to abort the
 iteration.
 @end deftypefn

Modified: libmicrohttpd/src/include/microhttpd.h
===================================================================
--- libmicrohttpd/src/include/microhttpd.h      2014-04-24 13:59:52 UTC (rev 
33138)
+++ libmicrohttpd/src/include/microhttpd.h      2014-04-24 19:41:30 UTC (rev 
33139)
@@ -1218,6 +1218,10 @@
  * also to iterate over the headers that have been
  * added to a response.
  *
+ * @param cls closure
+ * @param kind kind of the header we are looking at
+ * @param key key for the value, can be an empty string
+ * @param value corresponding value, can be NULL
  * @return #MHD_YES to continue iterating,
  *         #MHD_NO to abort the iteration
  * @ingroup request

Modified: libmicrohttpd/src/microhttpd/daemon.c
===================================================================
--- libmicrohttpd/src/microhttpd/daemon.c       2014-04-24 13:59:52 UTC (rev 
33138)
+++ libmicrohttpd/src/microhttpd/daemon.c       2014-04-24 19:41:30 UTC (rev 
33139)
@@ -1589,6 +1589,7 @@
     MHD_PANIC ("Failed to release cleanup mutex\n");
 }
 
+
 /**
  * Run through the suspended connections and move any that are no
  * longer suspended back to the active state.




reply via email to

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