mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-12-11 05:00:58 +00:00
22 lines
326 B
C
22 lines
326 B
C
|
#ifndef RIFF_H
|
||
|
#define RIFF_H
|
||
|
|
||
|
struct riff_chunk
|
||
|
{
|
||
|
unsigned type;
|
||
|
void * data;
|
||
|
unsigned size;
|
||
|
};
|
||
|
|
||
|
struct riff
|
||
|
{
|
||
|
unsigned type;
|
||
|
unsigned chunk_count;
|
||
|
struct riff_chunk * chunks;
|
||
|
};
|
||
|
|
||
|
struct riff * riff_parse( unsigned char *, unsigned size, unsigned proper );
|
||
|
void riff_free( struct riff * );
|
||
|
|
||
|
#endif
|