libdvbpsi 0.2.0
|
00001 /***************************************************************************** 00002 * dr_48.h 00003 * Copyright (C) 2001-2010 VideoLAN 00004 * $Id: dr_48.h,v 1.2 2002/12/12 10:19:32 jobi Exp $ 00005 * 00006 * Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr> 00007 * Johan Bilien <jobi@via.ecp.fr> 00008 * 00009 * This library is free software; you can redistribute it and/or 00010 * modify it under the terms of the GNU Lesser General Public 00011 * License as published by the Free Software Foundation; either 00012 * version 2.1 of the License, or (at your option) any later version. 00013 * 00014 * This library is distributed in the hope that it will be useful, 00015 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00017 * Lesser General Public License for more details. 00018 * 00019 * You should have received a copy of the GNU Lesser General Public 00020 * License along with this library; if not, write to the Free Software 00021 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 00022 * 00023 *****************************************************************************/ 00024 00036 #ifndef _DVBPSI_DR_48_H_ 00037 #define _DVBPSI_DR_48_H_ 00038 00039 #ifdef __cplusplus 00040 extern "C" { 00041 #endif 00042 00043 00044 /***************************************************************************** 00045 * dvbpsi_service_dr_t 00046 *****************************************************************************/ 00058 typedef struct dvbpsi_service_dr_s 00059 { 00060 uint8_t i_service_type; 00061 uint8_t i_service_provider_name_length; 00063 uint8_t i_service_provider_name[252]; 00064 uint8_t i_service_name_length; 00066 uint8_t i_service_name[252]; 00068 } dvbpsi_service_dr_t; 00069 00070 00071 /***************************************************************************** 00072 * dvbpsi_DecodeServiceDataDr 00073 *****************************************************************************/ 00082 dvbpsi_service_dr_t* dvbpsi_DecodeServiceDr( 00083 dvbpsi_descriptor_t * p_descriptor); 00084 00085 00086 /***************************************************************************** 00087 * dvbpsi_GenServiceDataDr 00088 *****************************************************************************/ 00099 dvbpsi_descriptor_t * dvbpsi_GenServiceDr( 00100 dvbpsi_service_dr_t * p_decoded, 00101 int b_duplicate); 00102 00103 00104 #ifdef __cplusplus 00105 }; 00106 #endif 00107 00108 #else 00109 #error "Multiple inclusions of dr_48.h" 00110 #endif 00111