00001 /***************************************************************************** 00002 * dr_48.h 00003 * (c)2001-2002 VideoLAN 00004 * $Id: dr_48.h 88 2004-02-24 14:31:18Z sam $ 00005 * 00006 * Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr> 00007 * Johan Bilien <jobi@via.ecp.fr> 00008 * 00009 * This program is free software; you can redistribute it and/or 00010 * modify it under the terms of the GNU General Public License 00011 * as published by the Free Software Foundation; either version 2 00012 * of the License, or (at your option) any later version. 00013 * 00014 * This program 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 00017 * GNU General Public License for more details. 00018 * 00019 * You should have received a copy of the GNU General Public License 00020 * along with this program; if not, write to the Free Software 00021 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, 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