/*
** -----------------------------------------------------------------------------
**
**  Perle Specialix driver for Linux
**  Ported from existing RIO Driver for SCO sources.
 *
 *  (C) 1990 - 2000 Specialix International Ltd., Byfleet, Surrey, UK.
 *
 *      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.
 *
 *      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 General Public License for more details.
 *
 *      You should have received a copy of the GNU General Public License
 *      along with this program; if not, write to the Free Software
 *      Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
**
**	Module		: space.h
**	SID		: 1.2
**	Last Modified	: 11/6/98 11:34:19
**	Retrieved	: 11/6/98 11:34:22
**
**  ident @(#)space.h	1.2
**
** -----------------------------------------------------------------------------
*/

#ifndef __rio_space_h__
#define __rio_space_h__

#ifdef SCCS_LABELS
static char *_space_h_sccs_ = "@(#)space.h	1.2";
#endif

extern int rio_cntls;
extern int rio_bases[];
extern int rio_limits[];
extern int rio_vects[];

#endif				/* __rio_space_h__ */
