mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-16 01:02:03 +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
|