os.h revision 6d63a96a4960478e13676ecd286d901cfb2b6570
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim/* ====================================================================
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim * The Apache Software License, Version 1.1
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim * Copyright (c) 2000 The Apache Software Foundation. All rights
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim * reserved.
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim * Redistribution and use in source and binary forms, with or without
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim * modification, are permitted provided that the following conditions
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim * are met:
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim * 1. Redistributions of source code must retain the above copyright
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim * notice, this list of conditions and the following disclaimer.
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim * 2. Redistributions in binary form must reproduce the above copyright
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim * notice, this list of conditions and the following disclaimer in
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim * the documentation and/or other materials provided with the
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim * distribution.
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim * 3. The end-user documentation included with the redistribution,
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim * if any, must include the following acknowledgment:
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim * "This product includes software developed by the
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim * Apache Software Foundation (http://www.apache.org/)."
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim * Alternately, this acknowledgment may appear in the software itself,
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim * if and wherever such third-party acknowledgments normally appear.
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim * 4. The names "Apache" and "Apache Software Foundation" must
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim * not be used to endorse or promote products derived from this
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim * software without prior written permission. For written
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim * permission, please contact apache@apache.org.
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim * 5. Products derived from this software may not be called "Apache",
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim * nor may "Apache" appear in their name, without prior written
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim * permission of the Apache Software Foundation.
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim * SUCH DAMAGE.
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim * ====================================================================
834fc281be8e0f7f2614961f12d8bbf603382a17jfclere * This software consists of voluntary contributions made by many
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim * individuals on behalf of the Apache Software Foundation. For more
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim * information on the Apache Software Foundation, please see
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim * Portions of this software are based upon public domain software
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim * originally written at the National Center for Supercomputing Applications,
834fc281be8e0f7f2614961f12d8bbf603382a17jfclere * University of Illinois, Urbana-Champaign.
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim * This file in included in all Apache source code. It contains definitions
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim * of facilities available on _this_ operating system (HAVE_* macros),
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim * and prototypes of OS specific functions defined in os.c or os-inline.c
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim/* Compiler supports inline, so include the inlineable functions as
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim * part of the header
834fc281be8e0f7f2614961f12d8bbf603382a17jfclere/* Compiler does not support inline, so prototype the inlineable functions
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim * as normal
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim/* Other ap_os_ routines not used by this platform */
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jimtypedef struct {
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim#endif /* !defined(_POSIX_SOURCE) && !defined(_XOPEN_SOURCE) */
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim/* Sorry if this is ugly, but the include order doesn't allow me
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim * to use request_rec here... */
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim#endif /*! APACHE_OS_H*/