Commit e9d4fbc8 authored by Daniel Kamil Kozar's avatar Daniel Kamil Kozar

add the DVBPSI_USE_DEPRECATED_DR_API define for exporting the old descriptor API

parent 0778a214
......@@ -82,6 +82,14 @@ typedef struct dvbpsi_atsc_ac3_audio_dr_s
*/
dvbpsi_atsc_ac3_audio_dr_t *dvbpsi_decode_atsc_ac3_audio_dr(dvbpsi_descriptor_t *p_descriptor);
#ifdef DVBPSI_USE_DEPRECATED_DR_API
typedef dvbpsi_atsc_ac3_audio_dr_t dvbpsi_ac3_audio_dr_t ;
__attribute__((deprecated,unused)) static dvbpsi_ac3_audio_dr_t* dvbpsi_DecodeAc3AudioDr (dvbpsi_descriptor_t *dr) {
return dvbpsi_decode_atsc_ac3_audio_dr (dr);
}
#endif
#ifdef __cplusplus
}
#endif
......
......@@ -88,6 +88,14 @@ typedef struct dvbpsi_atsc_caption_service_dr_s
*/
dvbpsi_atsc_caption_service_dr_t *dvbpsi_decode_atsc_caption_service_dr(dvbpsi_descriptor_t *p_descriptor);
#ifdef DVBPSI_USE_DEPRECATED_DR_API
typedef dvbpsi_atsc_caption_service_dr_t dvbpsi_caption_service_dr_t ;
__attribute__((deprecated,unused)) static dvbpsi_caption_service_dr_t* dvbpsi_DecodeCaptionServiceDr (dvbpsi_descriptor_t *dr) {
return dvbpsi_decode_atsc_caption_service_dr (dr);
}
#endif
#ifdef __cplusplus
}
#endif
......
......@@ -66,6 +66,14 @@ typedef struct dvbpsi_atsc_extended_channel_name_dr_s
*/
dvbpsi_atsc_extended_channel_name_dr_t *dvbpsi_decode_atsc_extended_channel_name_dr(dvbpsi_descriptor_t *p_descriptor);
#ifdef DVBPSI_USE_DEPRECATED_DR_API
typedef dvbpsi_atsc_extended_channel_name_dr_t dvbpsi_extended_channel_name_dr_t ;
__attribute__((deprecated,unused)) static dvbpsi_extended_channel_name_dr_t* dvbpsi_DecodeExtendedChannelNameDr (dvbpsi_descriptor_t *dr) {
return dvbpsi_decode_atsc_extended_channel_name_dr (dr);
}
#endif
#ifdef __cplusplus
}
#endif
......
......@@ -110,6 +110,17 @@ dvbpsi_descriptor_t* dvbpsi_gen_atsc_service_location_dr(
dvbpsi_atsc_service_location_dr_t* p_decoded,
bool b_duplicate);
#ifdef DVBPSI_USE_DEPRECATED_DR_API
typedef dvbpsi_atsc_service_location_dr_t dvbpsi_service_location_dr_t ;
__attribute__((deprecated,unused)) static dvbpsi_service_location_dr_t* dvbpsi_DecodeServiceLocationDr (dvbpsi_descriptor_t *dr) {
return dvbpsi_decode_atsc_service_location_dr (dr);
}
__attribute__((deprecated,unused)) static dvbpsi_descriptor_t* dvbpsi_GenServiceLocationDr (dvbpsi_service_location_dr_t* dr, bool dup) {
return dvbpsi_gen_atsc_service_location_dr (dr, dup);
}
#endif
#ifdef __cplusplus
}
......
......@@ -100,6 +100,18 @@ dvbpsi_eacem_lcn_dr_t *dvbpsi_decode_eacem_lcn_dr(dvbpsi_descriptor_t *p_descrip
*/
dvbpsi_descriptor_t* dvbpsi_gen_eacem_lcn_dr(dvbpsi_eacem_lcn_dr_t* p_decoded, bool b_duplicate);
#ifdef DVBPSI_USE_DEPRECATED_DR_API
typedef dvbpsi_eacem_lcn_dr_t dvbpsi_lcn_dr_t ;
__attribute__((deprecated,unused)) static dvbpsi_lcn_dr_t* dvbpsi_DecodeLCNDr (dvbpsi_descriptor_t *dr) {
return dvbpsi_decode_eacem_lcn_dr (dr);
}
__attribute__((deprecated,unused)) static dvbpsi_descriptor_t* dvbpsi_GenLCNDr (dvbpsi_lcn_dr_t* dr, bool dup) {
return dvbpsi_gen_eacem_lcn_dr (dr, dup);
}
#endif
#ifdef __cplusplus
};
#endif
......
......@@ -59,7 +59,7 @@ typedef struct dvbpsi_scte_cuei_dr_s
/*****************************************************************************
* dvbpsi_DecodeCUEIDataDr
* dvbpsi_decode_scte_cuei_dr
*****************************************************************************/
/*!
* \fn dvbpsi_scte_cuei_dr_t * dvbpsi_decode_scte_cuei_dr(dvbpsi_descriptor_t * p_descriptor)
......@@ -72,7 +72,7 @@ dvbpsi_scte_cuei_dr_t* dvbpsi_decode_scte_cuei_dr(dvbpsi_descriptor_t * p_descri
/*****************************************************************************
* dvbpsi_GenCUEIDataDr
* dvbpsi_gen_scte_cuei_dr
*****************************************************************************/
/*!
* \fn dvbpsi_descriptor_t * dvbpsi_gen_scte_cuei_dr(
......@@ -86,6 +86,17 @@ dvbpsi_scte_cuei_dr_t* dvbpsi_decode_scte_cuei_dr(dvbpsi_descriptor_t * p_descri
*/
dvbpsi_descriptor_t * dvbpsi_gen_scte_cuei_dr(dvbpsi_scte_cuei_dr_t * p_decoded, bool b_duplicate);
#ifdef DVBPSI_USE_DEPRECATED_DR_API
typedef dvbpsi_scte_cuei_dr_t dvbpsi_cuei_dr_t ;
__attribute__((deprecated,unused)) static dvbpsi_cuei_dr_t* dvbpsi_DecodeCUEIDr (dvbpsi_descriptor_t *dr) {
return dvbpsi_decode_scte_cuei_dr (dr);
}
__attribute__((deprecated,unused)) static dvbpsi_descriptor_t* dvbpsi_GenCUEIDr (dvbpsi_cuei_dr_t* dr, bool dup) {
return dvbpsi_gen_scte_cuei_dr (dr, dup);
}
#endif
#ifdef __cplusplus
};
......
......@@ -95,6 +95,18 @@ dvbpsi_descriptor_t * dvbpsi_gen_dvb_network_name_dr(
dvbpsi_dvb_network_name_dr_t * p_decoded,
bool b_duplicate);
#ifdef DVBPSI_USE_DEPRECATED_DR_API
typedef dvbpsi_dvb_network_name_dr_t dvbpsi_network_name_dr_t ;
__attribute__((deprecated,unused)) static dvbpsi_network_name_dr_t* dvbpsi_DecodeNetworkNameDr (dvbpsi_descriptor_t *dr) {
return dvbpsi_decode_dvb_network_name_dr (dr);
}
__attribute__((deprecated,unused)) static dvbpsi_descriptor_t* dvbpsi_GenNetworkNameDr (dvbpsi_network_name_dr_t* dr, bool dup) {
return dvbpsi_gen_dvb_network_name_dr (dr, dup);
}
#endif
#ifdef __cplusplus
};
#endif
......
......@@ -95,6 +95,18 @@ dvbpsi_descriptor_t * dvbpsi_gen_dvb_service_list_dr(
dvbpsi_dvb_service_list_dr_t * p_decoded,
bool b_duplicate);
#ifdef DVBPSI_USE_DEPRECATED_DR_API
typedef dvbpsi_dvb_service_list_dr_t dvbpsi_service_list_dr_t ;
__attribute__((deprecated,unused)) static dvbpsi_descriptor_t* dvbpsi_GenServiceListDr (dvbpsi_service_list_dr_t* dr, bool dup) {
return dvbpsi_gen_dvb_service_list_dr (dr, dup);
}
__attribute__((deprecated,unused)) static dvbpsi_service_list_dr_t* dvbpsi_DecodeServiceListDr (dvbpsi_descriptor_t *dr) {
return dvbpsi_decode_dvb_service_list_dr (dr);
}
#endif
#ifdef __cplusplus
};
#endif
......
......@@ -96,6 +96,17 @@ dvbpsi_descriptor_t * dvbpsi_gen_dvb_stuffing_dr(
dvbpsi_dvb_stuffing_dr_t * p_decoded,
bool b_duplicate);
#ifdef DVBPSI_USE_DEPRECATED_DR_API
typedef dvbpsi_dvb_stuffing_dr_t dvbpsi_stuffing_dr_t ;
__attribute__((deprecated,unused)) static dvbpsi_stuffing_dr_t* dvbpsi_DecodeStuffingDr (dvbpsi_descriptor_t *dr) {
return dvbpsi_decode_dvb_stuffing_dr (dr);
}
__attribute__((deprecated,unused)) static dvbpsi_descriptor_t* dvbpsi_GenStuffingDr (dvbpsi_stuffing_dr_t* dr, bool dup) {
return dvbpsi_gen_dvb_stuffing_dr (dr, dup);
}
#endif
#ifdef __cplusplus
};
......
......@@ -101,6 +101,17 @@ dvbpsi_descriptor_t * dvbpsi_gen_dvb_sat_deliv_sys_dr(
dvbpsi_dvb_sat_deliv_sys_dr_t * p_decoded,
bool b_duplicate);
#ifdef DVBPSI_USE_DEPRECATED_DR_API
typedef dvbpsi_dvb_sat_deliv_sys_dr_t dvbpsi_sat_deliv_sys_dr_t ;
__attribute__((deprecated,unused)) static dvbpsi_sat_deliv_sys_dr_t* dvbpsi_DecodeSatDelivSysDr (dvbpsi_descriptor_t *dr) {
return dvbpsi_decode_dvb_sat_deliv_sys_dr (dr);
}
__attribute__((deprecated,unused)) static dvbpsi_descriptor_t* dvbpsi_GenSatDelivSysDr (dvbpsi_sat_deliv_sys_dr_t* dr, bool dup) {
return dvbpsi_gen_dvb_sat_deliv_sys_dr (dr, dup);
}
#endif
#ifdef __cplusplus
};
......
......@@ -98,6 +98,17 @@ dvbpsi_descriptor_t * dvbpsi_gen_dvb_cable_deliv_sys_dr(
dvbpsi_dvb_cable_deliv_sys_dr_t * p_decoded,
bool b_duplicate);
#ifdef DVBPSI_USE_DEPRECATED_DR_API
typedef dvbpsi_dvb_cable_deliv_sys_dr_t dvbpsi_cable_deliv_sys_dr_t ;
__attribute__((deprecated,unused)) static dvbpsi_cable_deliv_sys_dr_t* dvbpsi_DecodeCableDelivSysDr (dvbpsi_descriptor_t *dr) {
return dvbpsi_decode_dvb_cable_deliv_sys_dr (dr);
}
__attribute__((deprecated,unused)) static dvbpsi_descriptor_t* dvbpsi_GenCableDelivSysDr (dvbpsi_cable_deliv_sys_dr_t* dr, bool dup) {
return dvbpsi_gen_dvb_cable_deliv_sys_dr (dr, dup);
}
#endif
#ifdef __cplusplus
};
......
......@@ -151,6 +151,18 @@ dvbpsi_descriptor_t * dvbpsi_gen_dvb_vbi_dr(
dvbpsi_dvb_vbi_dr_t * p_decoded,
bool b_duplicate);
#ifdef DVBPSI_USE_DEPRECATED_DR_API
typedef dvbpsi_dvb_vbi_dr_t dvbpsi_vbi_dr_t ;
__attribute__((deprecated,unused)) static dvbpsi_vbi_dr_t* dvbpsi_DecodeVBIDataDr (dvbpsi_descriptor_t *dr) {
return dvbpsi_decode_dvb_vbi_dr (dr);
}
__attribute__((deprecated,unused)) static dvbpsi_descriptor_t* dvbpsi_GenVBIDataDr (dvbpsi_vbi_dr_t* dr, bool dup) {
return dvbpsi_gen_dvb_vbi_dr (dr, dup);
}
#endif
#ifdef __cplusplus
};
#endif
......
......@@ -95,6 +95,17 @@ dvbpsi_descriptor_t * dvbpsi_gen_dvb_bouquet_name_dr(
dvbpsi_dvb_bouquet_name_dr_t * p_decoded,
bool b_duplicate);
#ifdef DVBPSI_USE_DEPRECATED_DR_API
typedef dvbpsi_dvb_bouquet_name_dr_t dvbpsi_bouquet_name_dr_t ;
__attribute__((deprecated,unused)) static dvbpsi_bouquet_name_dr_t* dvbpsi_DecodeBouquetNameDr (dvbpsi_descriptor_t *dr) {
return dvbpsi_decode_dvb_bouquet_name_dr (dr);
}
__attribute__((deprecated,unused)) static dvbpsi_descriptor_t* dvbpsi_GenBouquetNameDr (dvbpsi_bouquet_name_dr_t* dr, bool dup) {
return dvbpsi_gen_dvb_bouquet_name_dr (dr, dup);
}
#endif
#ifdef __cplusplus
};
......
......@@ -69,7 +69,7 @@ typedef struct dvbpsi_dvb_service_dr_s
/*****************************************************************************
* dvbpsi_DecodeServiceDataDr
* dvbpsi_decode_dvb_service_dr
*****************************************************************************/
/*!
* \fn dvbpsi_dvb_service_dr_t * dvbpsi_decode_dvb_service_dr(
......@@ -84,7 +84,7 @@ dvbpsi_dvb_service_dr_t* dvbpsi_decode_dvb_service_dr(
/*****************************************************************************
* dvbpsi_GenServiceDataDr
* dvbpsi_gen_dvb_service_dr
*****************************************************************************/
/*!
* \fn dvbpsi_descriptor_t * dvbpsi_gen_dvb_service_dr(
......@@ -100,6 +100,17 @@ dvbpsi_descriptor_t * dvbpsi_gen_dvb_service_dr(
dvbpsi_dvb_service_dr_t * p_decoded,
bool b_duplicate);
#ifdef DVBPSI_USE_DEPRECATED_DR_API
typedef dvbpsi_dvb_service_dr_t dvbpsi_service_dr_t ;
__attribute__((deprecated,unused)) static dvbpsi_service_dr_t* dvbpsi_DecodeServiceDr (dvbpsi_descriptor_t *dr) {
return dvbpsi_decode_dvb_service_dr (dr);
}
__attribute__((deprecated,unused)) static dvbpsi_descriptor_t* dvbpsi_GenServiceDr (dvbpsi_service_dr_t* dr, bool dup) {
return dvbpsi_gen_dvb_service_dr (dr, dup);
}
#endif
#ifdef __cplusplus
};
......
......@@ -100,6 +100,18 @@ dvbpsi_descriptor_t * dvbpsi_gen_dvb_country_availability_dr(
dvbpsi_dvb_country_availability_dr_t * p_decoded,
bool b_duplicate);
#ifdef DVBPSI_USE_DEPRECATED_DR_API
typedef dvbpsi_dvb_country_availability_dr_t dvbpsi_country_availability_dr_t ;
__attribute__((deprecated,unused)) static dvbpsi_country_availability_dr_t* dvbpsi_DecodeCountryAvailabilityDr (dvbpsi_descriptor_t *dr) {
return dvbpsi_decode_dvb_country_availability_dr (dr);
}
__attribute__((deprecated,unused)) static dvbpsi_descriptor_t* dvbpsi_GenCountryAvailabilityDr (dvbpsi_country_availability_dr_t* dr, bool dup) {
return dvbpsi_gen_dvb_country_availability_dr (dr, dup);
}
#endif
#ifdef __cplusplus
};
#endif
......
......@@ -112,6 +112,18 @@ dvbpsi_dvb_linkage_dr_t* dvbpsi_decode_dvb_linkage_dr(dvbpsi_descriptor_t * p_de
dvbpsi_descriptor_t *dvbpsi_gen_dvb_linkage_dr(dvbpsi_dvb_linkage_dr_t * p_decoded,
bool b_duplicate);
#ifdef DVBPSI_USE_DEPRECATED_DR_API
typedef dvbpsi_dvb_linkage_dr_t dvbpsi_linkage_dr_t ;
__attribute__((deprecated,unused)) static dvbpsi_linkage_dr_t* dvbpsi_DecodeLinkageDr (dvbpsi_descriptor_t *dr) {
return dvbpsi_decode_dvb_linkage_dr (dr);
}
__attribute__((deprecated,unused)) static dvbpsi_descriptor_t* dvbpsi_GenLinkageDr (dvbpsi_linkage_dr_t* dr, bool dup) {
return dvbpsi_gen_dvb_linkage_dr (dr, dup);
}
#endif
#ifdef __cplusplus
};
#endif
......
......@@ -110,6 +110,19 @@ dvbpsi_dvb_nvod_ref_dr_t* dvbpsi_decode_dvb_nvod_ref_dr(dvbpsi_descriptor_t * p_
dvbpsi_descriptor_t *dvbpsi_gen_dvb_nvod_ref_dr(dvbpsi_dvb_nvod_ref_dr_t * p_decoded,
bool b_duplicate);
#ifdef DVBPSI_USE_DEPRECATED_DR_API
typedef dvbpsi_dvb_nvod_ref_dr_t dvbpsi_nvod_ref_dr_t ;
__attribute__((deprecated,unused)) static dvbpsi_nvod_ref_dr_t* dvbpsi_DecodeNVODReferenceDr (dvbpsi_descriptor_t *dr) {
return dvbpsi_decode_dvb_nvod_ref_dr (dr);
}
__attribute__((deprecated,unused)) static dvbpsi_descriptor_t* dvbpsi_GenNVODReferenceDr (dvbpsi_nvod_ref_dr_t* dr, bool dup) {
return dvbpsi_gen_dvb_nvod_ref_dr (dr, dup);
}
#endif
#ifdef __cplusplus
};
#endif
......
......@@ -89,6 +89,18 @@ dvbpsi_dvb_tshifted_service_dr_t* dvbpsi_decode_dvb_tshifted_service_dr(dvbpsi_d
dvbpsi_descriptor_t *dvbpsi_gen_dvb_tshifted_service_dr(dvbpsi_dvb_tshifted_service_dr_t *p_decoded,
bool b_duplicate);
#ifdef DVBPSI_USE_DEPRECATED_DR_API
typedef dvbpsi_dvb_tshifted_service_dr_t dvbpsi_tshifted_service_dr_t ;
__attribute__((deprecated,unused)) static dvbpsi_tshifted_service_dr_t* dvbpsi_DecodeTimeShiftedServiceDr (dvbpsi_descriptor_t *dr) {
return dvbpsi_decode_dvb_tshifted_service_dr (dr);
}
__attribute__((deprecated,unused)) static dvbpsi_descriptor_t* dvbpsi_GenTimeShiftedServiceDr (dvbpsi_tshifted_service_dr_t* dr, bool dup) {
return dvbpsi_gen_dvb_tshifted_service_dr (dr, dup);
}
#endif
#ifdef __cplusplus
};
#endif
......
......@@ -93,6 +93,17 @@ dvbpsi_dvb_short_event_dr_t* dvbpsi_decode_dvb_short_event_dr(dvbpsi_descriptor_
dvbpsi_descriptor_t * dvbpsi_gen_dvb_short_event_dr(dvbpsi_dvb_short_event_dr_t * p_decoded,
bool b_duplicate);
#ifdef DVBPSI_USE_DEPRECATED_DR_API
typedef dvbpsi_dvb_short_event_dr_t dvbpsi_short_event_dr_t ;
__attribute__((deprecated,unused)) static dvbpsi_short_event_dr_t* dvbpsi_DecodeShortEventDr (dvbpsi_descriptor_t *dr) {
return dvbpsi_decode_dvb_short_event_dr (dr);
}
__attribute__((deprecated,unused)) static dvbpsi_descriptor_t* dvbpsi_GenShortEventDr (dvbpsi_short_event_dr_t* dr, bool dup) {
return dvbpsi_gen_dvb_short_event_dr (dr, dup);
}
#endif
#ifdef __cplusplus
};
......
......@@ -102,6 +102,17 @@ dvbpsi_dvb_extended_event_dr_t* dvbpsi_decode_dvb_extended_event_dr(dvbpsi_descr
dvbpsi_descriptor_t * dvbpsi_gen_dvb_extended_event_dr(dvbpsi_dvb_extended_event_dr_t * p_decoded,
bool b_duplicate);
#ifdef DVBPSI_USE_DEPRECATED_DR_API
typedef dvbpsi_dvb_extended_event_dr_t dvbpsi_extended_event_dr_t ;
__attribute__((deprecated,unused)) static dvbpsi_extended_event_dr_t* dvbpsi_DecodeExtendedEventDr (dvbpsi_descriptor_t *dr) {
return dvbpsi_decode_dvb_extended_event_dr (dr);
}
__attribute__((deprecated,unused)) static dvbpsi_descriptor_t* dvbpsi_GenExtendedEventDr (dvbpsi_extended_event_dr_t* dr, bool dup) {
return dvbpsi_gen_dvb_extended_event_dr (dr, dup);
}
#endif
#ifdef __cplusplus
};
......
......@@ -90,6 +90,18 @@ dvbpsi_dvb_tshifted_ev_dr_t* dvbpsi_decode_dvb_tshifted_ev_dr(dvbpsi_descriptor_
dvbpsi_descriptor_t *dvbpsi_gen_dvb_tshifted_ev_dr(dvbpsi_dvb_tshifted_ev_dr_t * p_decoded,
bool b_duplicate);
#ifdef DVBPSI_USE_DEPRECATED_DR_API
typedef dvbpsi_dvb_tshifted_ev_dr_t dvbpsi_tshifted_ev_dr_t ;
__attribute__((deprecated,unused)) static dvbpsi_tshifted_ev_dr_t* dvbpsi_DecodeTimeShiftedEventDr(dvbpsi_descriptor_t* dr) {
return dvbpsi_decode_dvb_tshifted_ev_dr (dr);
}
__attribute__((deprecated,unused)) static dvbpsi_descriptor_t* dvbpsi_GenTimeShiftedEventDr (dvbpsi_tshifted_ev_dr_t* dr, bool dup) {
return dvbpsi_gen_dvb_tshifted_ev_dr (dr, dup);
}
#endif
#ifdef __cplusplus
};
#endif
......
......@@ -95,6 +95,18 @@ dvbpsi_dvb_component_dr_t* dvbpsi_decode_dvb_component_dr(dvbpsi_descriptor_t *
dvbpsi_descriptor_t *dvbpsi_gen_dvb_component_dr(dvbpsi_dvb_component_dr_t * p_decoded,
bool b_duplicate);
#ifdef DVBPSI_USE_DEPRECATED_DR_API
typedef dvbpsi_dvb_component_dr_t dvbpsi_component_dr_t ;
__attribute__((deprecated,unused)) static dvbpsi_component_dr_t* dvbpsi_DecodeComponentDr (dvbpsi_descriptor_t *dr) {
return dvbpsi_decode_dvb_component_dr (dr);
}
__attribute__((deprecated,unused)) static dvbpsi_descriptor_t* dvbpsi_GenComponentDr (dvbpsi_component_dr_t* dr, bool dup) {
return dvbpsi_gen_dvb_component_dr (dr, dup);
}
#endif
#ifdef __cplusplus
};
#endif
......
......@@ -91,6 +91,17 @@ dvbpsi_descriptor_t * dvbpsi_gen_dvb_stream_identifier_dr(
dvbpsi_dvb_stream_identifier_dr_t * p_decoded,
bool b_duplicate);
#ifdef DVBPSI_USE_DEPRECATED_DR_API
typedef dvbpsi_dvb_stream_identifier_dr_t dvbpsi_stream_identifier_dr_t ;
__attribute__((deprecated,unused)) static dvbpsi_stream_identifier_dr_t* dvbpsi_DecodeStreamIdentifierDr (dvbpsi_descriptor_t *dr) {
return dvbpsi_decode_dvb_stream_identifier_dr (dr);
}
__attribute__((deprecated,unused)) static dvbpsi_descriptor_t* dvbpsi_GenStreamIdentifierDr (dvbpsi_stream_identifier_dr_t* dr, bool dup) {
return dvbpsi_gen_dvb_stream_identifier_dr (dr, dup);
}
#endif
#ifdef __cplusplus
};
......
......@@ -92,7 +92,7 @@ typedef struct dvbpsi_dvb_ca_identifier_dr_s
/*!
* \fn dvbpsi_da_identifier_dr_t * dvbpsi_decode_dvb_ca_identifier_dr(
dvbpsi_descriptor_t *p_descriptor)
* \brief "DA identifier" descriptor decoder.
* \brief "CA identifier" descriptor decoder.
* \param p_descriptor pointer to the descriptor structure
* \return a pointer to a new "CA identifier" descriptor structure
* which contains the decoded data.
......@@ -116,6 +116,17 @@ dvbpsi_dvb_ca_identifier_dr_t* dvbpsi_decode_dvb_ca_identifier_dr(dvbpsi_descrip
dvbpsi_descriptor_t *dvbpsi_gen_dvb_ca_identifier_dr(dvbpsi_dvb_ca_identifier_dr_t *p_decoded,
bool b_duplicate);
#ifdef DVBPSI_USE_DEPRECATED_DR_API
typedef dvbpsi_dvb_ca_identifier_dr_t dvbpsi_ca_identifier_dr_t ;
__attribute__((deprecated,unused)) static dvbpsi_ca_identifier_dr_t* dvbpsi_DecodeCAIdentifierDr (dvbpsi_descriptor_t *dr) {
return dvbpsi_decode_dvb_ca_identifier_dr (dr);
}
__attribute__((deprecated,unused)) static dvbpsi_descriptor_t* dvbpsi_GenCAIdentifierDr (dvbpsi_ca_identifier_dr_t* dr, bool dup) {
return dvbpsi_gen_dvb_ca_identifier_dr (dr, dup);
}
#endif
#ifdef __cplusplus
};
......
......@@ -221,7 +221,7 @@ typedef struct dvbpsi_dvb_content_dr_s
/*****************************************************************************
* dvbpsi_DecodeContentDataDr
* dvbpsi_decode_dvb_content_dr
*****************************************************************************/
/*!
* \fn dvbpsi_dvb_content_dr_t * dvbpsi_decode_dvb_content_dr(
......@@ -236,7 +236,7 @@ dvbpsi_dvb_content_dr_t* dvbpsi_decode_dvb_content_dr(
/*****************************************************************************
* dvbpsi_GenContentDataDr
* dvbpsi_gen_dvb_content_dr
*****************************************************************************/
/*!
* \fn dvbpsi_descriptor_t * dvbpsi_gen_dvb_content_dr(
......@@ -252,6 +252,17 @@ dvbpsi_descriptor_t * dvbpsi_gen_dvb_content_dr(
dvbpsi_dvb_content_dr_t * p_decoded,
bool b_duplicate);
#ifdef DVBPSI_USE_DEPRECATED_DR_API
typedef dvbpsi_dvb_content_dr_t dvbpsi_content_dr_t ;
__attribute__((deprecated,unused)) static dvbpsi_content_dr_t* dvbpsi_DecodeContentDr (dvbpsi_descriptor_t* dr) {
return dvbpsi_decode_dvb_content_dr (dr);
}
__attribute__((deprecated,unused)) static dvbpsi_descriptor_t* dvbpsi_GenContentDr (dvbpsi_content_dr_t* dr, bool dup) {
return dvbpsi_gen_dvb_content_dr (dr, dup);
}
#endif
#ifdef __cplusplus
};
......
......@@ -89,7 +89,7 @@ typedef struct dvbpsi_dvb_parental_rating_dr_s
/*****************************************************************************
* dvbpsi_DecodeParentalRatingDataDr
* dvbpsi_decode_dvb_parental_rating_dr
*****************************************************************************/
/*!
* \fn dvbpsi_dvb_parental_rating_dr_t * dvbpsi_decode_dvb_parental_rating_dr(
......@@ -104,7 +104,7 @@ dvbpsi_dvb_parental_rating_dr_t* dvbpsi_decode_dvb_parental_rating_dr(
/*****************************************************************************
* dvbpsi_GenParentalRatingDataDr
* dvbpsi_gen_dvb_parental_rating_dr
*****************************************************************************/
/*!
* \fn dvbpsi_descriptor_t * dvbpsi_gen_dvb_parental_rating_dr(
......@@ -120,6 +120,17 @@ dvbpsi_descriptor_t * dvbpsi_gen_dvb_parental_rating_dr(
dvbpsi_dvb_parental_rating_dr_t * p_decoded,
bool b_duplicate);
#ifdef DVBPSI_USE_DEPRECATED_DR_API
typedef dvbpsi_dvb_parental_rating_dr_t dvbpsi_parental_rating_dr_t ;
__attribute__((deprecated,unused)) static dvbpsi_parental_rating_dr_t* dvbpsi_DecodeParentalRatingDr (dvbpsi_descriptor_t *dr) {
return dvbpsi_decode_dvb_parental_rating_dr (dr);
}
__attribute__((deprecated,unused)) static dvbpsi_descriptor_t* dvbpsi_GenParentalRatingDr (dvbpsi_parental_rating_dr_t* dr, bool dup) {
return dvbpsi_gen_dvb_parental_rating_dr (dr, dup);
}
#endif
#ifdef __cplusplus
};
......
......@@ -91,7 +91,7 @@ typedef struct dvbpsi_dvb_teletext_dr_s
} dvbpsi_dvb_teletext_dr_t;
/*****************************************************************************
* dvbpsi_DecodeTeletextDataDr
* dvbpsi_decode_dvb_teletext_dr
*****************************************************************************/
/*!
* \fn dvbpsi_dvb_teletext_dr_t * dvbpsi_decode_dvb_teletext_dr(
......@@ -122,6 +122,17 @@ dvbpsi_descriptor_t * dvbpsi_gen_dvb_teletext_dr(
dvbpsi_dvb_teletext_dr_t * p_decoded,
bool b_duplicate);
#ifdef DVBPSI_USE_DEPRECATED_DR_API
typedef dvbpsi_dvb_teletext_dr_t dvbpsi_teletext_dr_t ;
__attribute__((deprecated,unused)) static dvbpsi_teletext_dr_t* dvbpsi_DecodeTeletextDr (dvbpsi_descriptor_t *dr) {
return dvbpsi_decode_dvb_teletext_dr (dr);
}
__attribute__((deprecated,unused)) static dvbpsi_descriptor_t* dvbpsi_GenTeletextDr (dvbpsi_teletext_dr_t* dr, bool dup) {
return dvbpsi_gen_dvb_teletext_dr (dr, dup);
}
#endif
#ifdef __cplusplus
};
......
......@@ -126,6 +126,17 @@ dvbpsi_descriptor_t * dvbpsi_gen_dvb_local_time_offset_dr(
dvbpsi_dvb_local_time_offset_dr_t * p_decoded,
bool b_duplicate);
#ifdef DVBPSI_USE_DEPRECATED_DR_API
typedef dvbpsi_dvb_local_time_offset_dr_t dvbpsi_local_time_offset_dr_t ;
__attribute__((deprecated,unused)) static dvbpsi_local_time_offset_dr_t* dvbpsi_DecodeLocalTimeOffsetDr (dvbpsi_descriptor_t *dr) {
return dvbpsi_decode_dvb_local_time_offset_dr (dr);
}
__attribute__((deprecated,unused)) static dvbpsi_descriptor_t* dvbpsi_GenLocalTimeOffsetDr (dvbpsi_local_time_offset_dr_t* dr, bool dup) {
return dvbpsi_gen_dvb_local_time_offset_dr (dr, dup);
}
#endif
#ifdef __cplusplus
};
......
......@@ -91,7 +91,7 @@ typedef struct dvbpsi_dvb_subtitling_dr_s
/*****************************************************************************
* dvbpsi_DecodeSubtitlingDataDr
* dvbpsi_decode_dvb_subtitling_dr
*****************************************************************************/
/*!
* \fn dvbpsi_dvb_subtitling_dr_t * dvbpsi_decode_dvb_subtitling_dr(
......@@ -106,7 +106,7 @@ dvbpsi_dvb_subtitling_dr_t* dvbpsi_decode_dvb_subtitling_dr(
/*****************************************************************************
* dvbpsi_GenSubtitlingDataDr
* dvbpsi_gen_dvb_subtitling_dr
*****************************************************************************/
/*!
* \fn dvbpsi_descriptor_t * dvbpsi_gen_dvb_subtitling_dr(
......@@ -122,6 +122,17 @@ dvbpsi_descriptor_t * dvbpsi_gen_dvb_subtitling_dr(
dvbpsi_dvb_subtitling_dr_t * p_decoded,
bool b_duplicate);
#ifdef DVBPSI_USE_DEPRECATED_DR_API
typedef dvbpsi_dvb_subtitling_dr_t dvbpsi_subtitling_dr_t ;
__attribute__((deprecated,unused)) static dvbpsi_subtitling_dr_t* dvbpsi_DecodeSubtitlingDr (dvbpsi_descriptor_t *dr) {
return dvbpsi_decode_dvb_subtitling_dr (dr);
}
__attribute__((deprecated,unused)) static dvbpsi_descriptor_t* dvbpsi_GenSubtitlingDr (dvbpsi_subtitling_dr_t* dr, bool dup) {
return dvbpsi_gen_dvb_subtitling_dr (dr, dup);
}
#endif
#ifdef __cplusplus
};
......
......@@ -104,6 +104,17 @@ dvbpsi_descriptor_t * dvbpsi_gen_dvb_terr_deliv_sys_dr(
dvbpsi_dvb_terr_deliv_sys_dr_t * p_decoded,
bool b_duplicate);
#ifdef DVBPSI_USE_DEPRECATED_DR_API
typedef dvbpsi_dvb_terr_deliv_sys_dr_t dvbpsi_terr_deliv_sys_dr_t ;
__attribute__((deprecated,unused)) static dvbpsi_terr_deliv_sys_dr_t* dvbpsi_DecodeTerrDelivSysDr (dvbpsi_descriptor_t *dr) {
return dvbpsi_decode_dvb_terr_deliv_sys_dr (dr);
}
__attribute__((deprecated,unused)) static dvbpsi_descriptor_t* dvbpsi_GenTerrDelivSysDr (dvbpsi_terr_deliv_sys_dr_t* dr, bool dup) {
return dvbpsi_gen_dvb_terr_deliv_sys_dr (dr, dup);
}
#endif
#ifdef __cplusplus
};
......
......@@ -78,6 +78,14 @@ dvbpsi_dvb_frequency_list_dr_t *dvbpsi_decode_dvb_frequency_list_dr(dvbpsi_descr
*/
uint32_t dvbpsi_Bcd8ToUint32(uint32_t bcd);
#ifdef DVBPSI_USE_DEPRECATED_DR_API
typedef dvbpsi_dvb_frequency_list_dr_t dvbpsi_frequency_list_dr_t ;
__attribute__((deprecated,unused)) static dvbpsi_frequency_list_dr_t* dvbpsi_DecodeFrequencyListDr (dvbpsi_descriptor_t *dr) {
return dvbpsi_decode_dvb_frequency_list_dr (dr);
}
#endif
#ifdef __cplusplus
};
#endif
......
......@@ -65,4 +65,12 @@ typedef struct dvbpsi_dvb_data_broadcast_id_dr_s
*/
dvbpsi_dvb_data_broadcast_id_dr_t *dvbpsi_decode_dvb_data_broadcast_id_dr(dvbpsi_descriptor_t *p_descriptor);
#ifdef DVBPSI_USE_DEPRECATED_DR_API
typedef dvbpsi_dvb_data_broadcast_id_dr_t dvbpsi_data_broadcast_id_dr_t ;
__attribute__((deprecated,unused)) static dvbpsi_data_broadcast_id_dr_t* dvbpsi_DecodeDataBroadcastIdDr (dvbpsi_descriptor_t *dr) {
return dvbpsi_decode_dvb_data_broadcast_id_dr (dr);
}
#endif
#endif
......@@ -89,6 +89,17 @@ dvbpsi_dvb_PDC_dr_t* dvbpsi_decode_dvb_PDC_dr(dvbpsi_descriptor_t * p_descriptor
dvbpsi_descriptor_t * dvbpsi_gen_dvb_PDC_dr(dvbpsi_dvb_PDC_dr_t * p_decoded,
bool b_duplicate);
#ifdef DVBPSI_USE_DEPRECATED_DR_API
typedef dvbpsi_dvb_PDC_dr_t dvbpsi_PDC_dr_t ;
__attribute__((deprecated,unused)) static dvbpsi_PDC_dr_t* dvbpsi_DecodePDCDr (dvbpsi_descriptor_t *dr) {
return dvbpsi_decode_dvb_PDC_dr (dr);
}
__attribute__((deprecated,unused)) static dvbpsi_descriptor_t* dvbpsi_GenPDCDr (dvbpsi_PDC_dr_t* dr, bool dup) {
return dvbpsi_gen_dvb_PDC_dr (dr, dup);
}
#endif
#ifdef __cplusplus
};
......
......@@ -53,7 +53,7 @@ typedef struct dvbpsi_dvb_default_authority_dr_s
} dvbpsi_dvb_default_authority_dr_t;
/*****************************************************************************
* dvbpsi_decode_eacem_lcn_dr
* dvbpsi_decode_dvb_default_authority_dr
*****************************************************************************/
/*!