]> granicus.if.org Git - apache/commitdiff
These functions aren't used by any module, and they don't make any sense
authorRyan Bloom <rbb@apache.org>
Thu, 12 Oct 2000 04:20:36 +0000 (04:20 +0000)
committerRyan Bloom <rbb@apache.org>
Thu, 12 Oct 2000 04:20:36 +0000 (04:20 +0000)
with the bucket design, so they need to go away.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86559 13f79535-47bb-0310-9956-ffa450edef68

include/util_script.h
server/util_script.c

index 8795c18ac2cb2139b1705d613a48ad3c06393005..92573d3544e8c024175e1093749705cc38be2810 100644 (file)
@@ -124,20 +124,6 @@ API_EXPORT(void) ap_add_common_vars(request_rec *r);
  */ 
 API_EXPORT(int) ap_scan_script_header_err(request_rec *r, apr_file_t *f, char *buffer);
 
-/**
- * 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
- * @param r The current request
- * @param f The BUFF to read from
- * @param buffer Empty when calling the function.  On output, if there was an
- *               error, the string that cause the error is stored here. 
- * @return HTTP_OK on success, HTTP_INTERNAL_SERVER_ERROR otherwise
- * @deffunc int ap_scan_script_header_err_buff(request_rec *r, BUFF *f, char *buffer)
- */ 
-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
index 8134dd15f0cfe7016d33c4e822511bbb4556fef3..a988f932a598ae0ef272d892070f4fc5388d397c 100644 (file)
@@ -595,18 +595,6 @@ API_EXPORT(int) ap_scan_script_header_err(request_rec *r, apr_file_t *f,
     return ap_scan_script_header_err_core(r, buffer, getsfunc_FILE, f);
 }
 
-static int getsfunc_BUFF(char *w, int len, void *fb)
-{
-    return ap_bgets(w, len, (BUFF *) fb) > 0;
-}
-
-API_EXPORT(int) ap_scan_script_header_err_buff(request_rec *r, BUFF *fb,
-                                              char *buffer)
-{
-    return ap_scan_script_header_err_core(r, buffer, getsfunc_BUFF, fb);
-}
-
-
 struct vastrs {
     va_list args;
     int arg;