/*
 * $Header: /home/gene/library/website/docsrc/sca/src/RCS/this.h,v 395.1 2008/04/20 17:25:48 gene Exp $
 *
 *  Copyright (c) 2006 Gene Michael Stover.  All rights reserved.
 * 
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU Lesser General Public License as
 *  published by the Free Software Foundation; either version 2 of the
 *  License, or (at your option) any later version.
 * 
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU Lesser General Public License for more details.
 * 
 *  You should have received a copy of the GNU Lesser General Public
 *  License along with this program; if not, write to the Free Software
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301
 *  USA
 */

/* Standard C */
#include <assert.h>
#include <ctype.h>
#include <errno.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>

/* POSIX, unix, linux */
#if IS_UNIX
#include <unistd.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <search.h>
#include <rpc/rpc.h>
#include <rpc/pmap_prot.h>
#endif

/* Microsloth Winders */
#if IS_WINDERS
#  include <windows.h>
#  define bzero(p,sz) memset(p,0,sz)
  int getpid ();
  void *lfind(const void *key, const void *base, unsigned int *num,
	      unsigned int width, int (*cmp)(const void *, const void *));
#  define CloseSocket closesocket
#else
   /*
    * On non-Winders systems, use these symbols (SOCKET,
    * INVALID_SOCKET, & CloseSocket).
    */
   typedef int SOCKET;
#  define INVALID_SOCKET -1
#endif

/* This */
typedef int Boolean;
#include "debug.h"

/* --- end of file --- */
