/* * MatroskaFile.h * Subler * * Created by Ryan Walklin on 23/09/09. * Copyright 2009 Test Toast. All rights reserved. * */ /* first we need to create an I/O object that the parser will use to read the * source file */ struct StdIoStream { struct InputStream base; FILE *fp; int error; }; typedef struct StdIoStream StdIoStream; MatroskaFile *openMatroskaFile(char *filePath, StdIoStream *ioStream); void closeMatroskaFile(MatroskaFile *matroskaFile, StdIoStream *ioStream);