stoddard    00/01/21 10:42:55

  Modified:    src/include http_core.h
  Log:
  Add back the script_interpreter_source code.
  
  Revision  Changes    Path
  1.5       +16 -0     apache-2.0/src/include/http_core.h
  
  Index: http_core.h
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/include/http_core.h,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- http_core.h       2000/01/19 01:14:29     1.4
  +++ http_core.h       2000/01/21 18:42:45     1.5
  @@ -154,6 +154,17 @@
   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 @@
       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 */
  
  
  

Reply via email to