/*
 * W-NEWS       A simple NEWS processing package.
 *		wtypes.h - wnews definitions of (maybe) unknown types 
 *		as in <sys/types.h>
 *		The compilability of this file depends on the POSIX
 *		compliance of your system's sys/types.h
 *
 * Version:     @(#)wtypes.h     4.50    23-Nov-1993
 *
 * Author:	Edvard Tuinder, <ed@ow.org>
 *              Copyright 1988-1993 MicroWalt Corporation
 *		Copyright 1994,1995 Cistron Software C.V.
 *
 *              This program is free software; you can redistribute it and/or
 *              modify it under the terms of the GNU General Public License
 *              as published by the Free Software Foundation; either version
 *              2 of the License, or (at your option) any later version.
 */
#ifndef _WNEWS_WTYPES_H
#define _WNEWS_WTYPES_H	1

#include <sys/types.h>

#if 0
#ifndef _SIZE_T
typedef unsigned int size_t;
#define _SIZE_T
#endif

#ifndef _TIME_T
typedef unsigned long time_t;
#define _TIME_T
#endif
#endif

/* Definition of in-core sys file struct. */
typedef struct _sys_ {
  char *name;
  char *nsys;
  char *ngrp;
  char *dist;
  char *prog;
  char *file;
  struct _sys_ *next;
} SYS;

/* The in-core active file. */
typedef struct _active_ {
  char *group;
  long first;
  long last;
  char type;
  off_t offset;
  struct _active_ *next;
} ACT;

#endif /* _WNEWS_WTYPES_H */
