EbmlBufferWriter.h 376 Bytes
Newer Older
1 2 3
#ifndef EBMLBUFFERWRITER_HPP
#define EBMLBUFFERWRITER_HPP

John Koleszar's avatar
John Koleszar committed
4 5
typedef struct {
  unsigned long long offset;
6 7
} EbmlLoc;

John Koleszar's avatar
John Koleszar committed
8 9 10 11
typedef struct {
  unsigned char *buf;
  unsigned int length;
  unsigned int offset;
12 13 14 15 16 17 18 19
} EbmlGlobal;


void Ebml_StartSubElement(EbmlGlobal *glob, EbmlLoc *ebmlLoc, unsigned long class_id);
void Ebml_EndSubElement(EbmlGlobal *glob,  EbmlLoc *ebmlLoc);


#endif