From a7791a09812214ee063b51c0eeb35083adf8e3f5 Mon Sep 17 00:00:00 2001 From: goodale Date: Sun, 17 Sep 2000 08:38:36 +0000 Subject: Added documentation of new argument walking function. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@32 1faa4e14-9dd3-4be0-9f0e-ffe519881164 --- README | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README b/README index df651b3..37665eb 100644 --- a/README +++ b/README @@ -77,6 +77,19 @@ may be used. Given the name of a header field or an argument, these functions will return the corresponding value, or NULL if the argument or header does not exist. +There is also a function + +const httpArg *HTTP_ArgumentWalk(httpRequest *request, int first); + +which will walk through all the arguments passed to a page. If +'first' is true it will start with the first argument, otherwise it +will start with the next argument after the last one queried. +Currently this is the only way to get arguments which are passed in +more than once. The httpArg structure contains two public variables + +arg The name of the argument. +value The value of the argument. + Writing to the browser: ---------------------- -- cgit v1.2.3