diff options
author | William A. Rowe Jr <wrowe@apache.org> | 2000-10-02 15:38:59 +0000 |
---|---|---|
committer | William A. Rowe Jr <wrowe@apache.org> | 2000-10-02 15:38:59 +0000 |
commit | e7cb8a652dbbb60b4cc010409658a7b65c7d27ea (patch) | |
tree | 633e5f4bb4df5e7d5d3bad142b9b64851f64b8ab /include/util_script.h | |
parent | 7ae2f294fd1ec0dccee54639ef95ef4766a5f81a (diff) | |
download | httpd-e7cb8a652dbbb60b4cc010409658a7b65c7d27ea.tar.gz |
Forward port 1.3 overhaul of isapi to 2.0.
Yes - it's blatently obvious that this should be 'bucketized', but the
sequence I will follow is:
*) compatibility of sources
*) extension to async + transmitfile emulated support
*) localization of ISAPI* directives to Directory, File blocks
*) addition of ISAPI caching
*) recode for buckets.
I'm actually looking forward to the mod_cgi bucketization as a model.
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86360 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/util_script.h')
-rw-r--r-- | include/util_script.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/include/util_script.h b/include/util_script.h index 1aa30e1dd5..8795c18ac2 100644 --- a/include/util_script.h +++ b/include/util_script.h @@ -139,6 +139,25 @@ API_EXPORT(int) ap_scan_script_header_err_buff(request_rec *r, BUFF *f, char *buffer); /** + * Read headers strings from a script, ensuring that the output is valid. If + * the output is valid, then the headers are added to the headers out of the + * current request + * @param r The current request + * @param buffer Empty when calling the function. On output, if there was an + * error, the string that cause the error is stored here. + * @param termch Pointer to the last character parsed. + * @param termarg Pointer to an int to capture the last argument parsed. + * @param args String arguments to parse consecutively for headers, + * a NULL argument terminates the list. + * @return HTTP_OK on success, HTTP_INTERNAL_SERVER_ERROR otherwise + * @deffunc int ap_scan_script_header_err_core(request_rec *r, char *buffer, int (*getsfunc)(char *, int, void *), void *getsfunc_data) + */ +API_EXPORT_NONSTD(int) ap_scan_script_header_err_strs(request_rec *r, + char *buffer, + const char **termch, + int *termarg, ...); + +/** * Read headers output from a script, ensuring that the output is valid. If * the output is valid, then the headers are added to the headers out of the * current request |