home *** CD-ROM | disk | FTP | other *** search
- /* Header file for ExpCode code module, object version. */
- /* The code is called first using ExpCode_Init() to */
- /* examine the file, then with ExpCode_Process() to */
- /* perform the decompression. Both functions return a */
- /* pointer to an error block, or NULL if no error */
- /* occurred. All entries in ExpCode's header (with the */
- /* exception of the code entry points and the Expand */
- /* code offset) may be read or written using the global */
- /* variables below. */
-
- /* Function prototypes */
- os_error *ExpCode_Init(void);
- os_error *ExpCode_Process(void);
-
- /* Global variables */
- extern int ExpCode_SampleType;
- extern void *ExpCode_SrcBufferPtr;
- extern long ExpCode_SrcLength;
- extern void *ExpCode_DestBufferPtr;
- extern long ExpCode_DestLength;
- extern char *ExpCode_FilenamePtr;
- extern int ExpCode_SamplePeriod;
- extern long ExpCode_OutputFlags;
- extern long ExpCode_SampleLength;
- extern long ExpCode_DataOffset;
-
- /* Output flags for this version */
- #define OUTPUT_LINEAR (1<<0)
- #define OUTPUT_ENHANCE (1<<1)
- #define OUTPUT_16BIT (1<<2)
- #define USING_16BIT (1<<28)
- #define USING_ENHANCE (1<<29)
- #define FILE_IS_LINEAR (1<<30)
- #define FILE_IS_16BIT (1<<31)
-