dr_69.h

Go to the documentation of this file.
00001 /*****************************************************************************
00002  * dr_69.h
00003  * (c)2007 VideoLAN
00004  * $Id: dr_69.h 153 2007-10-12 21:05:05Z jpsaman $
00005  *
00006  * Authors: Pinkava Jiri <master_up@post.cz>
00007  *
00008  * This program is free software; you can redistribute it and/or
00009  * modify it under the terms of the GNU General Public License
00010  * as published by the Free Software Foundation; either version 2
00011  * of the License, or (at your option) any later version.
00012  *
00013  * This program is distributed in the hope that it will be useful,
00014  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00015  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016  * GNU General Public License for more details.
00017  *
00018  * You should have received a copy of the GNU General Public License
00019  * along with this program; if not, write to the Free Software
00020  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
00021  *
00022  *****************************************************************************/
00023 
00034 #ifndef _DVBPSI_DR_69_H_
00035 #define _DVBPSI_DR_69_H_
00036 
00037 #ifdef __cplusplus
00038 extern "C" {
00039 #endif
00040 
00041 
00042 /*****************************************************************************
00043  * dvbpsi_PDC_dr_t
00044  *****************************************************************************/
00056 typedef struct dvbpsi_PDC_dr_s
00057 {
00058   /* pdc[0] ~= day; PDC[1] ~= month; PDC[2] ~= hour; PDC[3] ~= min; */
00059   uint8_t   i_PDC[4];          
00060 } dvbpsi_PDC_dr_t;
00061 
00062 
00063 /*****************************************************************************
00064  * dvbpsi_DecodePDCDr
00065  *****************************************************************************/
00074 dvbpsi_PDC_dr_t* dvbpsi_DecodePDCDr(dvbpsi_descriptor_t * p_descriptor);
00075 
00076 
00077 /*****************************************************************************
00078  * dvbpsi_GenPDCDr
00079  *****************************************************************************/
00089 dvbpsi_descriptor_t * dvbpsi_GenPDCDr(dvbpsi_PDC_dr_t * p_decoded,
00090                                           int b_duplicate);
00091 
00092 
00093 #ifdef __cplusplus
00094 };
00095 #endif
00096 
00097 #else
00098 #error "Multiple inclusions of dr_69.h"
00099 #endif
00100 

Generated on Tue Sep 9 02:27:55 2008 for libdvbpsi by  doxygen 1.4.7