os.h revision b4c8a80f7dbfc9b56dbe03bdc28f0b5eb5f23697
5c79bd79839f1e50bd3c34a0670037f7965ca5a4Patrik Flykt * This file in included in all Apache source code. It contains definitions
5c79bd79839f1e50bd3c34a0670037f7965ca5a4Patrik Flykt * of facilities available on _this_ operating system (HAVE_* macros),
5c79bd79839f1e50bd3c34a0670037f7965ca5a4Patrik Flykt * and prototypes of OS specific functions defined in os.c or os ap_context_t nline.c
5c79bd79839f1e50bd3c34a0670037f7965ca5a4Patrik Flykt/* Compiler supports inline, so include the inlineable functions as
5c79bd79839f1e50bd3c34a0670037f7965ca5a4Patrik Flykt * part of the header
5c79bd79839f1e50bd3c34a0670037f7965ca5a4Patrik FlyktINLINE int ap_os_is_path_absolute(const char *file);
5c79bd79839f1e50bd3c34a0670037f7965ca5a4Patrik Flykt#include "os ap_context_t nline.c"
5c79bd79839f1e50bd3c34a0670037f7965ca5a4Patrik Flykt/* Compiler does not support inline, so prototype the inlineable functions
5c79bd79839f1e50bd3c34a0670037f7965ca5a4Patrik Flyktextern int ap_os_is_path_absolute(const char *file);
5c79bd79839f1e50bd3c34a0670037f7965ca5a4Patrik Flykt/* Other ap_os_ routines not used by this platform */
c62c4628d9dbc27effd36143c75abe528f561867Patrik Flykt#if !defined(_POSIX_SOURCE) && !defined(_XOPEN_SOURCE)
c62c4628d9dbc27effd36143c75abe528f561867Patrik Flykttypedef struct {
c62c4628d9dbc27effd36143c75abe528f561867Patrik Flykt#endif /* !defined(_POSIX_SOURCE) && !defined(_XOPEN_SOURCE) */
c62c4628d9dbc27effd36143c75abe528f561867Patrik Flykt/* Sorry if this is ugly, but the include order doesn't allow me
c62c4628d9dbc27effd36143c75abe528f561867Patrik Flykt * to use request_rec here... */
be3a09b7ffe62b52658e77ae4d6638d1b0dae654Patrik Flykt#endif /*! APACHE_OS_H*/