/*
** libbase.h
** 5th May 2000
** David McMinn
** The structure defining the library base of our example plugin
** (since plugins are nothing more than shared libraries)
*/

#ifndef LIBBASE_H
#define LIBBASE_H

#include <exec/types.h>
#include <exec/libraries.h>
#include <exec/semaphores.h>
#include "defs.h"


struct myLibBase
{
	struct Library          lb_LibNode;     /* The actual Library structure for our librarybase, always first in a libbase */
	ULONG                   lb_pluginID;    /* MUST be second in the definition of a Scalos plugin - will contain the identifier characters 'PLUG' */
	struct SignalSemaphore  *lb_Semaphore;  /* Semaphore used for providing internal safe access to our library base */
};

#endif

