summaryrefslogtreecommitdiff
path: root/include/util_script.h
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2011-03-14 19:13:30 +0000
committerJeff Trawick <trawick@apache.org>2011-03-14 19:13:30 +0000
commit96edec30d8958aa62201190e098b2e786e0b85c0 (patch)
tree5400bbf9b558fdb1037b3bb2bb88982a5b60b17b /include/util_script.h
parent685ff3fc0ac1c2886707d93f32b9dfe490d7144d (diff)
downloadhttpd-96edec30d8958aa62201190e098b2e786e0b85c0.tar.gz
a bit of doc for ap_args_to_table()
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1081518 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/util_script.h')
-rw-r--r--include/util_script.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/util_script.h b/include/util_script.h
index 924dd14256..cae1156387 100644
--- a/include/util_script.h
+++ b/include/util_script.h
@@ -140,6 +140,14 @@ AP_DECLARE(int) ap_scan_script_header_err_core(request_rec *r, char *buffer,
int (*getsfunc) (char *, int, void *),
void *getsfunc_data);
+/**
+ * Parse query args for the request and store in a new table allocated
+ * from the request pool.
+ * For args with no value, "1" will be used instead.
+ * If no query args were specified, the table will be entry.
+ * @param r The current request
+ * @param table A new table on output.
+ */
AP_DECLARE(void) ap_args_to_table(request_rec *r, apr_table_t **table);
#ifdef __cplusplus