aboutsummaryrefslogtreecommitdiff
path: root/doc/libmicrohttpd.texi
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-10-25 22:07:42 +0000
committerChristian Grothoff <christian@grothoff.org>2015-10-25 22:07:42 +0000
commitdc54cd092af52cf3e3de0005b26f3405515d19b9 (patch)
treea1fac2e82b761eadd1ae867864ef60a30ae49b7a /doc/libmicrohttpd.texi
parent2a6eada873b10f20c9a7366d19bad98b9bd945df (diff)
downloadlibmicrohttpd-dc54cd092af52cf3e3de0005b26f3405515d19b9.tar.gz
libmicrohttpd-dc54cd092af52cf3e3de0005b26f3405515d19b9.zip
realize suggestion from FC on MHD list to improve MHD_get_connection_values() when used with a bitmask
Diffstat (limited to 'doc/libmicrohttpd.texi')
-rw-r--r--doc/libmicrohttpd.texi6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/libmicrohttpd.texi b/doc/libmicrohttpd.texi
index f8c7aca8..fb59d4d8 100644
--- a/doc/libmicrohttpd.texi
+++ b/doc/libmicrohttpd.texi
@@ -1578,7 +1578,9 @@ right now).
1578 1578
1579 1579
1580@deftypefun int MHD_get_connection_values (struct MHD_Connection *connection, enum MHD_ValueKind kind, MHD_KeyValueIterator iterator, void *iterator_cls) 1580@deftypefun int MHD_get_connection_values (struct MHD_Connection *connection, enum MHD_ValueKind kind, MHD_KeyValueIterator iterator, void *iterator_cls)
1581Get all the headers matching @var{kind} from the request. 1581Get all the headers matching @var{kind} from the request. The @var{kind}
1582argument can be a bitmask, ORing the various header kinds that are
1583requested.
1582 1584
1583The @var{iterator} callback is invoked once for each header, with 1585The @var{iterator} callback is invoked once for each header, with
1584@var{iterator_cls} as first argument. After version 0.9.19, the 1586@var{iterator_cls} as first argument. After version 0.9.19, the
@@ -1604,7 +1606,7 @@ would contain the string ``key''.
1604@end deftypefun 1606@end deftypefun
1605 1607
1606 1608
1607@deftypefun int MHD_set_connection_value (struct MHD_Connection *connection, enum MHD_ValueKind kind, const char * key, const char * value) 1609@deftypefun int MHD_set_connection_value (struct MHD_Connection *connection, enum MHD_ValueKind kind, const char *key, const char *value)
1608This function can be used to append an entry to 1610This function can be used to append an entry to
1609the list of HTTP headers of a connection (so that the 1611the list of HTTP headers of a connection (so that the
1610@code{MHD_get_connection_values function} will return 1612@code{MHD_get_connection_values function} will return