#ifndef _PARAMETERS_H_
#define _PARAMETERS_H_

/*-=-=-=-=-=-=-=-=-=-=-=- RCCL/RCI Notice of Copyright -=-=-=-=-=-=-=-=-=-=-*
 *									    *
 *	Copyright (C) 1991 by John E. Lloyd.				    *
 *									    *
 *	Information on copyright permissions, as well as a complete	    *
 *	disclaimer of warranty, is given in the file COPYRIGHT.		    *
 *									    *
 *-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/
/*---------------------------------------------------------------------------
 *
 * DESCRIPTION:	Private definitions used by the RCI parameter file
 *		code (see parameterDefs.c).
 * 
 * AUTHOR/DATE:	John Lloyd, Fall 1987
 *
 * MODIFICATION HISTORY:
 *
 *--------------------------------------------------------------------------*/

#define INTEGER_TYPE	0x01
#define FLOAT_TYPE	0x02
#define IDENTIFIER_TYPE 0x04
#define STRING_TYPE	0x08

typedef struct _PARAM {

	struct _PARAM *next;
	struct _PARAM *prev;

	char *keyword;
	int type;
	union {
	   int    i;
	   double d;
	   char  *s;
	  } val;
} PARAM;

typedef struct _PARAMSPEC {

	struct _PARAMSPEC *next;
	struct _PARAMSPEC *prev;

	char *name;
	PARAM list;
	int writeable;
} PARAMSPEC;


#endif
