Commit a1606af0 authored by Bill Stoddard's avatar Bill Stoddard
Browse files

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
parent 73825e0d
Loading
Loading
Loading
Loading
+16 −0
Changes for include/http_core.h: 16 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -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 */