#ifndef __INC_POS_PROTO_PIFFPARSE2_H
#define __INC_POS_PROTO_PIFFPARSE2_H
/*******************************************************************
 Includes Release 24
 (C) Copyright 1995-1997 proDAD
     All Rights Reserved

 $AUT Holger Papajewski
 $DAT >>pIFFParse2.h<<   27 Jan 1997    17:30:52 - (C) ProDAD
*******************************************************************/

#ifndef __INC_POS_PEXEC_LIST_H
#include <pExec/List.h>
#endif


#ifdef __cplusplus
extern "C" {
#endif


VOID pOS_CloseIFF(_R_A0 __ARID__ struct pOS_IFFHandle*);
__ARID__ struct pOS_IFFHandle* pOS_OpenIFFA(_R_A0 const struct pOS_TagItem*);


const struct pOS_IFFLocContext* pOS_CurrentChunk(_R_A0 struct pOS_IFFHandle*);
ULONG pOS_ReadChunkBytes(_R_A0 struct pOS_IFFHandle*,_R_A1 VOID*,_R_D0 ULONG);
ULONG pOS_WriteChunkBytes(_R_A0 struct pOS_IFFHandle*,_R_A1 VOID*,_R_D0 ULONG);
SLONG pOS_PopChunk(_R_A0 struct pOS_IFFHandle*);
SLONG pOS_PushChunk(_R_A0 struct pOS_IFFHandle*,_R_D0 ULONG,_R_D1 ULONG,_R_D2 SLONG);

const struct pOS_IFFStoredProp* pOS_FindProp(_R_A0 struct pOS_IFFHandle*,_R_D0 ULONG,_R_D1 ULONG);
SLONG pOS_ParseIFF(_R_A0 struct pOS_IFFHandle*,_R_D0 ULONG);
SLONG pOS_StopChunkA(_R_A0 struct pOS_IFFHandle*,_R_A1 const struct pOS_TagItem*);
SLONG pOS_PropChunkA(_R_A0 struct pOS_IFFHandle*,_R_A1 const struct pOS_TagItem*);



__ARID__ struct pOS_IFFHandle* pOS_OpenIFF(ULONG tag,...);
SLONG pOS_StopChunk(_R_A0 struct pOS_IFFHandle*,ULONG,...);
SLONG pOS_PropChunk(_R_A0 struct pOS_IFFHandle*,ULONG,...);



#ifdef __cplusplus
}
#endif


#endif
