#ifndef _IFF_H__
#define _IFF_H__  1

# ifndef _NDEFINES_H__
#  error "include <nat\ndefines.h> first"
# endif

#define IFF_CHUNK    \
   lword    id,      \
            size

typedef struct
{
   IFF_CHUNK;
} iff_chunk;


typedef struct
{
   IFF_CHUNK;
   lword    type;    /* NCLP !*/
} form_chunk;


typedef struct
{
   IFF_CHUNK;
   lword repstrt,
         replen,
         hisamples;
   word  frq;
   byte  octaves,
         compression;
   lword volume;
} vhdr_chunk;


typedef struct
{
   IFF_CHUNK;
   char  name[ 24];
} name_chunk;


typedef struct
{
   IFF_CHUNK;
   word        pack_size;
   word        type;
   lword       compressed;
   lword       uncompressed;
} nflt_chunk;

#endif

