mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-12-12 21:22:22 +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
|