diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-10-25 22:07:42 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-10-25 22:07:42 +0000 |
commit | dc54cd092af52cf3e3de0005b26f3405515d19b9 (patch) | |
tree | a1fac2e82b761eadd1ae867864ef60a30ae49b7a /doc/libmicrohttpd.texi | |
parent | 2a6eada873b10f20c9a7366d19bad98b9bd945df (diff) | |
download | libmicrohttpd-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.texi | 6 |
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) |
1581 | Get all the headers matching @var{kind} from the request. | 1581 | Get all the headers matching @var{kind} from the request. The @var{kind} |
1582 | argument can be a bitmask, ORing the various header kinds that are | ||
1583 | requested. | ||
1582 | 1584 | ||
1583 | The @var{iterator} callback is invoked once for each header, with | 1585 | The @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) |
1608 | This function can be used to append an entry to | 1610 | This function can be used to append an entry to |
1609 | the list of HTTP headers of a connection (so that the | 1611 | the 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 |