#ifndef LIBRARIES_PATCHOBSOLETE_H
#define LIBRARIES_PATCHOBSOLETE_H
/*****************************************************************************/
/*
**	Filename:	libraries/patchobsolete.h
**	Release:	6.0
**	Date:		13.12.97
**
**      definition of structures, which are obsolete with the current version
**         of patch.library
**
**	(C) Copyright 1993-97 Stefan Fuchs
**	All Rights Reserved
*/
/*****************************************************************************/

#ifndef	EXEC_TYPES_H
#include <exec/types.h>
#endif

/*----------------------------------------------------------------------------*/
/* Structure required to install new patches via patch.library/InstallPatch() */

struct NewPatch				/*this structure is OBSOLETE from V2 on */
{
	APTR	NPAT_NewCode;		/* pointer to the patch code to be installed */
	ULONG	NPAT_NewCodeSize;	/* optional length of NPAT_NewCode in bytes  */
	APTR	NPAT_LibraryName;	/* pointer to the LibraryName                */
	UWORD	NPAT_LibVersion;	/* version of Library to open                */
	WORD	NPAT_LVO;		/* LVO of function to patch                  */
	WORD	NPAT_Priority;		/* Priority (-127...+126) of the patch       */
	UWORD	NPAT_Flags;		/* currently none defined (keep zero)        */
	APTR	NPAT_PatchName;		/* optional pointer to an IDString           */
	APTR	NPAT_Result2;		/* optional pointer to longword for Result2  */
};

#endif	/* LIBRARIES_PATCHOBSOLETE_H */
