OLD | NEW |
1 #ifndef EBMLBUFFERWRITER_HPP | 1 #ifndef EBMLBUFFERWRITER_HPP |
2 #define EBMLBUFFERWRITER_HPP | 2 #define EBMLBUFFERWRITER_HPP |
3 | 3 |
4 typedef struct | 4 typedef struct { |
5 { | 5 unsigned long long offset; |
6 unsigned long long offset; | |
7 } EbmlLoc; | 6 } EbmlLoc; |
8 | 7 |
9 typedef struct | 8 typedef struct { |
10 { | 9 unsigned char *buf; |
11 unsigned char *buf; | 10 unsigned int length; |
12 unsigned int length; | 11 unsigned int offset; |
13 unsigned int offset; | |
14 } EbmlGlobal; | 12 } EbmlGlobal; |
15 | 13 |
16 | 14 |
17 void Ebml_StartSubElement(EbmlGlobal *glob, EbmlLoc *ebmlLoc, unsigned long clas
s_id); | 15 void Ebml_StartSubElement(EbmlGlobal *glob, EbmlLoc *ebmlLoc, unsigned long clas
s_id); |
18 void Ebml_EndSubElement(EbmlGlobal *glob, EbmlLoc *ebmlLoc); | 16 void Ebml_EndSubElement(EbmlGlobal *glob, EbmlLoc *ebmlLoc); |
19 | 17 |
20 | 18 |
21 #endif | 19 #endif |
OLD | NEW |