os.h revision 0bcb8a4c6dffa90cc03d22c723dda75728039677
c79e39ad568d9af854765f64049534044ef6c034nd/* ====================================================================
2d0611ffc9f91c5fc2ddccb93f9a3d17791ae650takashi * The Apache Software License, Version 1.1
c79e39ad568d9af854765f64049534044ef6c034nd * Copyright (c) 2000 The Apache Software Foundation. All rights
c79e39ad568d9af854765f64049534044ef6c034nd * reserved.
c79e39ad568d9af854765f64049534044ef6c034nd * Redistribution and use in source and binary forms, with or without
c79e39ad568d9af854765f64049534044ef6c034nd * modification, are permitted provided that the following conditions
c79e39ad568d9af854765f64049534044ef6c034nd * are met:
c79e39ad568d9af854765f64049534044ef6c034nd * 1. Redistributions of source code must retain the above copyright
98ccaa63a1c82ead7a360754f10534b3d36ba099igalic * notice, this list of conditions and the following disclaimer.
c79e39ad568d9af854765f64049534044ef6c034nd * 2. Redistributions in binary form must reproduce the above copyright
c79e39ad568d9af854765f64049534044ef6c034nd * notice, this list of conditions and the following disclaimer in
* Apache Software Foundation (http://www.apache.org/)."
#ifndef APACHE_OS_H
#define APACHE_OS_H
#ifdef errno
* and prototypes of OS specific functions defined in os.c or os-inline.c
#include "ap_config.h"
#include "os-inline.c"
#ifndef INLINE
extern int ap_os_is_path_absolute(const char *f);
struct request_rec;
#include <strings.h>
#ifndef __strings_h
typedef long fd_mask;
typedef struct fd_set {
} fd_set;
#ifdef FD_SET
#define FD_SET(n, p) (0)
/* TPF doesn't have, or need, tzset (it is used in mod_expires.c) */
#define tzset()
#include <i$netd.h>
struct apache_input {
typedef struct tpf_fork_child {
char *filename;
void *subprocess_env;
extern int tpf_child;
struct server_rec;
extern char *ap_server_argv0;
extern int scoreboard_fd;
#include <signal.h>
#ifndef SIGPIPE
#ifdef NSIG