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

/*------ crunch data --------------------------------------------------*/
ULONG stcCrunchData ( struct stcCrunchInfo * );
/*------ decrunch data ------------------------------------------------*/
BOOL stcDeCrunchData ( APTR , APTR );
/*------ buffer allocation and misc -----------------------------------*/
APTR stcAllocBuffer ( ULONG );
void stcFreeBuffer ( APTR );
void stcQuickSort ( ULONG , LONG * );
APTR stcAllocFileBuffer ( char *);
void stcFreeFileBuffer ( APTR );
ULONG stcLoadFileBuffer ( APTR );
/*------ internal functions -------------------------------------------*/
ULONG stcProcessHunks ( ULONG , APTR );
ULONG stcSaveExec ( ULONG , ULONG, ULONG, APTR, char *, ULONG * );
BOOL stcLibDeCrunchPExec ( APTR, APTR );

