From: Bill Stoddard Date: Fri, 21 Jan 2000 18:42:45 +0000 (+0000) Subject: Add back the script_interpreter_source code. X-Git-Tag: 1.3.13~12 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b97e24e81e0b617b41026c20928717611b1c31df;p=apache Add back the script_interpreter_source code. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84505 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/include/http_core.h b/include/http_core.h index 1fac2d81b9..ef096b84ca 100644 --- a/include/http_core.h +++ b/include/http_core.h @@ -154,6 +154,17 @@ API_EXPORT(const char *) ap_auth_name (request_rec *); API_EXPORT(int) ap_satisfies (request_rec *r); API_EXPORT(const ap_array_header_t *) ap_requires (request_rec *); +#ifdef WIN32 +/* + * CGI Script stuff for Win32... + */ +typedef enum { eFileTypeUNKNOWN, eFileTypeBIN, eFileTypeEXE16, eFileTypeEXE32, + eFileTypeSCRIPT } file_type_e; +typedef enum { INTERPRETER_SOURCE_UNSET, INTERPRETER_SOURCE_REGISTRY, + INTERPRETER_SOURCE_SHEBANG } interpreter_source_e; +API_EXPORT(file_type_e) ap_get_win32_interpreter(const request_rec *, char **); +#endif + #ifdef CORE_PRIVATE /* @@ -245,6 +256,11 @@ typedef struct { ap_array_header_t *sec; regex_t *r; +#ifdef WIN32 + /* Where to find interpreter to run scripts */ + interpreter_source_e script_interpreter_source; +#endif + } core_dir_config; /* Per-server core configuration */