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