home *** CD-ROM | disk | FTP | other *** search
/ PC Online 1999 April / PCO0499.ISO / filesbbs / os2 / apach134.arj / APACH134.ZIP / src / os / bs2000 / os.h < prev   
Encoding:
C/C++ Source or Header  |  1999-01-08  |  1.0 KB  |  43 lines

  1. #ifndef APACHE_OS_H
  2. #define APACHE_OS_H
  3.  
  4. #define PLATFORM "BS2000"
  5.  
  6. /*
  7.  * This file in included in all Apache source code. It contains definitions
  8.  * of facilities available on _this_ operating system (HAVE_* macros),
  9.  * and prototypes of OS specific functions defined in os.c or os-inline.c
  10.  */
  11.  
  12. #include "ap_config.h"
  13.  
  14. #if !defined(INLINE) && defined(USE_GNU_INLINE)
  15. /* Compiler supports inline, so include the inlineable functions as
  16.  * part of the header
  17.  */
  18. #define INLINE extern ap_inline
  19.  
  20. INLINE int ap_os_is_path_absolute(const char *file);
  21.  
  22. #include "os-inline.c"
  23. #endif
  24.  
  25. #ifndef INLINE
  26. /* Compiler does not support inline, so prototype the inlineable functions
  27.  * as normal
  28.  */
  29. extern int ap_os_is_path_absolute(const char *file);
  30. #endif
  31.  
  32. /* Other ap_os_ routines not used by this platform */
  33.  
  34. #define ap_os_is_filename_valid(f)          (1)
  35.  
  36. /* Sorry if this is ugly, but the include order doesn't allow me
  37.  * to use request_rec here... */
  38. struct request_rec;
  39. extern int ap_checkconv(struct request_rec *r);
  40. extern pid_t os_fork(void);
  41.  
  42. #endif /*! APACHE_OS_H*/
  43.