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