MHEG5
15.3.0
|
00001 /******************************************************************************* 00002 * Copyright © 2014 The DTVKit Open Software Foundation Ltd (www.dtvkit.org) 00003 * Copyright © 2009 Ocean Blue Software Ltd 00004 * 00005 * This file is part of a DTVKit Software Component 00006 * You are permitted to copy, modify or distribute this file subject to the terms 00007 * of the DTVKit 1.0 Licence which can be found in licence.txt or at www.dtvkit.org 00008 * 00009 * THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, 00010 * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES 00011 * OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. 00012 * 00013 * If you or your organisation is not a member of DTVKit then you have access 00014 * to this source code outside of the terms of the licence agreement 00015 * and you are expected to delete this and any associated files immediately. 00016 * Further information on DTVKit, membership and terms can be found at www.dtvkit.org 00017 *******************************************************************************/ 00025 #ifndef _MH5HFS_H 00026 #define _MH5HFS_H 00027 00028 00029 /*---includes for this file--------------------------------------------------*/ 00030 #include "mh5base.h" 00031 00032 /*---Constant and macro definitions for public use---------------------------*/ 00033 00034 /*---Enumerations for public use---------------------------------------------*/ 00035 00036 /*---Global type defs for public use-----------------------------------------*/ 00037 typedef struct 00038 { 00039 void *mapping; 00040 MHEG5Int currentPos; 00041 } MHEG5MappingIter_t; 00042 00043 /*---Global variable declarations for public use-----------------------------*/ 00044 00045 /*---Global Function prototypes for public use-------------------------------*/ 00046 00054 void MHEG5InitialiseHybridFileSystem(void); 00055 00061 void MHEG5ClearHybridFileSystem(void); 00062 00067 void MHEG5PushHybridFileSystem(void); 00068 00074 void MHEG5PopHybridFileSystem(void); 00075 00082 void MHEG5SetHybridFileSystem(MHEG5String *pathName, 00083 MHEG5String *mappingList); 00084 00091 void* MHEG5GetHybridFileSystemMapping(MHEG5String *reference); 00092 00100 void MHEG5ReleaseHybridFileSystemMapping(void *mapping); 00101 00108 void MHEG5InitMappingIter(MHEG5MappingIter_t *iter, void *mapping); 00109 00118 MHEG5String MHEG5GetNextReference(MHEG5String *reference, 00119 MHEG5MappingIter_t *iter); 00120 00133 MHEG5String MHEG5GetFirstDsmReference(MHEG5String *reference); 00134 00141 #endif /*_MH5HFS_H*/