[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] branch master updated: fix manual entry for MHD_lookup_c
From: |
gnunet |
Subject: |
[libmicrohttpd] branch master updated: fix manual entry for MHD_lookup_connection_value |
Date: |
Wed, 10 Jun 2020 22:04:16 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository libmicrohttpd.
The following commit(s) were added to refs/heads/master by this push:
new 2abe788d fix manual entry for MHD_lookup_connection_value
2abe788d is described below
commit 2abe788d8ab1426b03bdb1d27ca34c60b0a37769
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Wed Jun 10 21:58:53 2020 +0200
fix manual entry for MHD_lookup_connection_value
---
doc/libmicrohttpd.texi | 18 ++++++++++++------
1 file changed, 12 insertions(+), 6 deletions(-)
diff --git a/doc/libmicrohttpd.texi b/doc/libmicrohttpd.texi
index 419cf44a..bd6da838 100644
--- a/doc/libmicrohttpd.texi
+++ b/doc/libmicrohttpd.texi
@@ -1837,12 +1837,18 @@ Get a particular header value. If multiple values
match the
@var{kind}, return one of them (the ``first'', whatever that means).
@var{key} must reference a zero-terminated ASCII-coded string
representing the header to look for: it is compared against the
-headers using @code{strcasecmp()}, so case is ignored. A value of
-@code{NULL} for @var{key} can be used to lookup 'trailing' values without a
-key, for example if a URI is of the form
-``http://example.com/?trailer'', a @var{key} of @code{NULL} can be used to
-access ``tailer" The function returns @code{NULL} if no matching item
-was found.
+headers using (basically) @code{strcasecmp()}, so case is ignored.
+@end deftypefun
+
+@deftypefun {const char *} MHD_lookup_connection_value_n (struct
MHD_Connection *connection, enum MHD_ValueKind kind, const char *key, size_t
key_size, const char **value_ptr, size_t *value_size_ptr)
+Get a particular header value. If multiple values match the
+@var{kind}, return one of them (the ``first'', whatever that means).
+@var{key} must reference an ASCII-coded string
+representing the header to look for: it is compared against the
+headers using (basically) @code{strncasecmp()}, so case is ignored.
+The @var{value_ptr} is set to the address of the value found,
+and @var{value_size_ptr} is set to the number of bytes in the
+value.
@end deftypefun
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [libmicrohttpd] branch master updated: fix manual entry for MHD_lookup_connection_value,
gnunet <=