/*
 * $Header: /home/gene/library/website/docsrc/httpxtran/src/RCS/this.h,v 395.1 2008/04/20 17:25:51 gene Exp $
 *
 * Copyright (c) 2002 Gene Michael Stover.  All rights reserved.
 *
 * Permission is hereby granted, free of charge, to any person obtaining
 * a copy of this software and associated documentation files (the
 * "Software"), to deal in the Software without restriction, including
 * without limitation the rights to use, copy, modify, merge, publish,
 * distribute, sublicense, and/or sell copies of the Software, and to
 * permit persons to whom the Software is furnished to do so, subject to
 * the following conditions:
 * 
 * The above copyright notice and this permission notice shall be
 * included in all copies or substantial portions of the Software.
 * 
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
 * NONINFRINGEMENT. IN NO EVENT SHALL GENE MICHAEL STOVER BE LIABLE FOR
 * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
 * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 * 
 * Except as contained in this notice, the name of Gene Michael Stover
 * shall not be used in advertising or otherwise to promote the sale, use
 * or other dealings in this Software without prior written authorization
 * from Gene Michael Stover.
 */

/* Standard C */
#include <assert.h>
#include <ctype.h>
#include <errno.h>
#include <limits.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>

/* Jeezus Christ!  I have no idea why Microsoft's <limits.h> file
 * does NOT define the !!!STANDARD C!!! symbol PATH_MAX!  Fucking
 * nonstandard piece of shit. */
#ifndef PATH_MAX
#define PATH_MAX 500
#endif

/* unix, posix, bsd */
#include <sys/stat.h>
#include <fcntl.h>
#if __cplusplus
extern "C" {
#endif
  int access (char const pathname[], int mode);
  void close (int fd);
  int dup (int fd);
  char *getcwd (char *, size_t);
  int getpid (void);
  int open (char pathname[], int mode, ... /* int permission */);
#if __cplusplus
}
#endif
#if IS_WINDERS
#define bzero(p,sz) ((void) memset (p, 0, sz))
extern int opterr;
extern int optind;
extern int optopt;
extern char *optarg;
extern int getopt (int, char *[], char *);
#endif

/* Microsoft Windows */
#include <windows.h>
#include <winspool.h>
#include <Lm.h>
#include <BiDiSpl.h>
#include <msiquery.h>
#include <Wininet.h>

/* This */
#ifdef __cplusplus
extern "C" {
#endif
#include "debug.h"
#include "log.h"
#include "winet.h"
#include "xhttp.h"
#include "xmalloc.h"
#ifdef __cplusplus
}
#endif

/* Print Inc */

/* --- end of file --- */
