blob: 3dd7547b62aec744eaa5d0def5dd51971148842d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#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
|