MHEG  17.9.0
 All Data Structures Files Functions Variables Typedefs Enumerations Macros Pages
mh5parse.h
Go to the documentation of this file.
1 /*******************************************************************************
2  * Copyright © 2014 The DTVKit Open Software Foundation Ltd (www.dtvkit.org)
3  * Copyright © 2009 Ocean Blue Software Ltd
4  *
5  * This file is part of a DTVKit Software Component
6  * You are permitted to copy, modify or distribute this file subject to the terms
7  * of the DTVKit 1.0 Licence which can be found in licence.txt or at www.dtvkit.org
8  *
9  * THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
10  * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES
11  * OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
12  *
13  * If you or your organisation is not a member of DTVKit then you have access
14  * to this source code outside of the terms of the licence agreement
15  * and you are expected to delete this and any associated files immediately.
16  * Further information on DTVKit, membership and terms can be found at www.dtvkit.org
17  *******************************************************************************/
25 #ifndef _MH5PARSE_H
26 #define _MH5PARSE_H
27 
28 #include "mh5base.h"
29 #include "mherrors.h"
30 #include "dvblocator.h"
31 #ifdef INCLUDE_PVR_AU
32 #include "dvb_pvr.h"
33 #endif
34 
35 #ifdef INCLUDE_ICS
36 #include "dvb_ics.h"
37 #endif
38 
39 MHEG5Bool MHEG5parseDvbUrl(U8BIT *buffer, U32BIT length, S_DVB_LOCATOR *dvb_loc);
40 int MHEG5parseLcn( U8BIT *buf, U8BIT *end );
41 
42 #ifdef INCLUDE_PVR_AU
43 void MHEG5parseEncodeBooking( S_CRID_DETAILS *pDetails, MHEG5String out_str );
44 int MHEG5parseDecodeBookings( MHEG5String bookingString, S_CRID_DETAILS *pdetails );
45 void MHEG5freeDecodeBookings( S_CRID_DETAILS *pdetails );
46 #endif
47 
61 MHEG5Bool MHEG5parseEncodeQPrintable(MHEG5Byte **buffer, MHEG5Int *used,
62  MHEG5Int *allocated, MHEG5Generic *value);
63 
64 #ifdef INCLUDE_IC
65 
77 MHEG5Bool MHEG5parseEncodeField(MHEG5Byte **buffer, MHEG5Int *used,
78  MHEG5Int *allocated, MHEG5String *name,
79  MHEG5Generic *value);
80 
81 #endif /* INCLUDE_IC */
82 
83 #endif /*_MH5PARSE_H*/
Basis MHEG5 data types.
Definition: mh5base.h:82
Definition: dvblocator.h:30
MHEG5Bool MHEG5parseEncodeQPrintable(MHEG5Byte **buffer, MHEG5Int *used, MHEG5Int *allocated, MHEG5Generic *value)
Add a value to the buffer. The value is QPrintable-encoded, which means that printable characters are...
Definition: mh5parse.c:729
MHEG5 engine interface error codes.
MHEG5 PVR functions for New Zealand or Australia profile References: [1] UK1 Profile - Digital Terres...
Definition: dvb_pvr.h:78
Definition: mh5base.h:147
MHEG5Bool MHEG5parseDvbUrl(U8BIT *buffer, U32BIT length, S_DVB_LOCATOR *dvb_loc)
Parse a DAVIC style multiplex reference or UK-DTT inherritance format URL. This can be one of the fol...
Definition: mh5parse.c:153
Definition of DVB locator and DVB component types.
Interaction Channel Streaming functions required by MHEG5 engine References: [1] UK1 Profile - Digita...