#ifndef LIBRARIES_SWAZCONFIG_H
#define LIBRARIES_SWAZCONFIG_H
/*
**      $Filename: libraries/swazconfig.h $
**      $Release: 1.0 $
**      $Revision: 1.0 $
**
**      SwazConfig definitions
**
**	(C) Copyright 1995 David Swasbrook
**	    All Rights Reserved
*/

/*****************************************************************************/

#ifndef EXEC_LIBRARIES_H
#include <exec/libraries.h>
#endif

/*****************************************************************************/

#define SWAZCONFIGNAME	"swazconfig.library"
#define SC_TagBase		TAG_USER

/*****************************************************************************/


/*****************************************************************************
   This structure is private, you should not have any need to read or write
   to this.
 */
struct SwazConfigBase {
	struct Library LibNode;
	UBYTE	Flags;
	APTR	SegList;
	struct SignalSemaphore AccessSem;
	struct List AccessList;

};


/*****************************************************************************
   This structure is private
 ****************************************************************************/
struct SC_Config {
	void *Pool;
	struct List List;
};

/*****************************************************************************
   This structure is read only
 ****************************************************************************/
struct SC_ConfigVar {
	struct Node Node;
	STRPTR	Data;
	LONG DataSize;
};


#define SCV_COMMENT    0
#define SCV_VARIABLE   1


#endif	/* LIBRARIES_SWAZCONFIG_H */
