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 _MH5PARSE_H 00026 #define _MH5PARSE_H 00027 00028 #include "mh5base.h" 00029 #include "mherrors.h" 00030 #include "dvblocator.h" 00031 #ifdef INCLUDE_PVR_AU 00032 #include "dvb_pvr.h" 00033 #endif 00034 00035 #ifdef INCLUDE_ICS 00036 #include "dvb_ics.h" 00037 #endif 00038 00039 MHEG5Bool MHEG5parseDvbUrl(U8BIT *buffer, U32BIT length, S_DVB_LOCATOR *dvb_loc); 00040 int MHEG5parseLcn( U8BIT *buf, U8BIT *end ); 00041 00042 #ifdef INCLUDE_PVR_AU 00043 void MHEG5parseEncodeBooking( S_CRID_DETAILS *pDetails, MHEG5String out_str ); 00044 int MHEG5parseDecodeBookings( MHEG5String bookingString, S_CRID_DETAILS *pdetails ); 00045 void MHEG5freeDecodeBookings( S_CRID_DETAILS *pdetails ); 00046 #endif 00047 00061 MHEG5Bool MHEG5parseEncodeQPrintable(MHEG5Byte **buffer, MHEG5Int *used, 00062 MHEG5Int *allocated, MHEG5Generic *value); 00063 00064 #ifdef INCLUDE_IC 00065 00077 MHEG5Bool MHEG5parseEncodeField(MHEG5Byte **buffer, MHEG5Int *used, 00078 MHEG5Int *allocated, MHEG5String *name, 00079 MHEG5Generic *value); 00080 00081 #endif /* INCLUDE_IC */ 00082 00083 #endif /*_MH5PARSE_H*/