C++ compliant headers.

parent d7c4c7aa
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* descriptor.h: common descriptor structures * descriptor.h: common descriptor structures
*---------------------------------------------------------------------------- *----------------------------------------------------------------------------
* (c)2001-2002 VideoLAN * (c)2001-2002 VideoLAN
* $Id: descriptor.h,v 1.1 2002/01/07 18:30:35 bozo Exp $ * $Id: descriptor.h,v 1.2 2002/03/15 12:16:01 bozo Exp $
* *
* Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr> * Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr>
* *
...@@ -27,6 +27,10 @@ ...@@ -27,6 +27,10 @@
#ifndef _DVBPSI_DESCRIPTOR_H_ #ifndef _DVBPSI_DESCRIPTOR_H_
#define _DVBPSI_DESCRIPTOR_H_ #define _DVBPSI_DESCRIPTOR_H_
#ifdef __cplusplus
extern "C" {
#endif
/***************************************************************************** /*****************************************************************************
* dvbpsi_descriptor_t * dvbpsi_descriptor_t
...@@ -63,6 +67,10 @@ dvbpsi_descriptor_t* dvbpsi_NewDescriptor(uint8_t i_tag, uint8_t i_length, ...@@ -63,6 +67,10 @@ dvbpsi_descriptor_t* dvbpsi_NewDescriptor(uint8_t i_tag, uint8_t i_length,
void dvbpsi_DeleteDescriptor(dvbpsi_descriptor_t* p_descriptor); void dvbpsi_DeleteDescriptor(dvbpsi_descriptor_t* p_descriptor);
#ifdef __cplusplus
};
#endif
#else #else
#error "Multiple inclusions of descriptor.h" #error "Multiple inclusions of descriptor.h"
#endif #endif
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* dvbpsi.h: main header * dvbpsi.h: main header
*---------------------------------------------------------------------------- *----------------------------------------------------------------------------
* (c)2001-2002 VideoLAN * (c)2001-2002 VideoLAN
* $Id: dvbpsi.h,v 1.2 2002/01/22 20:30:16 bozo Exp $ * $Id: dvbpsi.h,v 1.3 2002/03/15 12:16:01 bozo Exp $
* *
* Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr> * Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr>
* *
...@@ -30,6 +30,10 @@ ...@@ -30,6 +30,10 @@
#include <inttypes.h> #include <inttypes.h>
#ifdef __cplusplus
extern "C" {
#endif
/***************************************************************************** /*****************************************************************************
* dvbpsi_handle * dvbpsi_handle
...@@ -86,6 +90,10 @@ typedef struct dvbpsi_decoder_s ...@@ -86,6 +90,10 @@ typedef struct dvbpsi_decoder_s
} dvbpsi_decoder_t; } dvbpsi_decoder_t;
#ifdef __cplusplus
};
#endif
#else #else
#error "Multiple inclusions of dvbpsi.h" #error "Multiple inclusions of dvbpsi.h"
#endif #endif
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* psi.h: common PSI structures * psi.h: common PSI structures
*---------------------------------------------------------------------------- *----------------------------------------------------------------------------
* (c)2001-2002 VideoLAN * (c)2001-2002 VideoLAN
* $Id: psi.h,v 1.2 2002/01/22 20:30:16 bozo Exp $ * $Id: psi.h,v 1.3 2002/03/15 12:16:01 bozo Exp $
* *
* Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr> * Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr>
* *
...@@ -27,6 +27,10 @@ ...@@ -27,6 +27,10 @@
#ifndef _DVBPSI_PSI_H_ #ifndef _DVBPSI_PSI_H_
#define _DVBPSI_PSI_H_ #define _DVBPSI_PSI_H_
#ifdef __cplusplus
extern "C" {
#endif
/***************************************************************************** /*****************************************************************************
* dvbpsi_psi_section_t * dvbpsi_psi_section_t
...@@ -98,6 +102,10 @@ int dvbpsi_ValidPSISection(dvbpsi_psi_section_t* p_section); ...@@ -98,6 +102,10 @@ int dvbpsi_ValidPSISection(dvbpsi_psi_section_t* p_section);
void dvbpsi_BuildPSISection(dvbpsi_psi_section_t* p_section); void dvbpsi_BuildPSISection(dvbpsi_psi_section_t* p_section);
#ifdef __cplusplus
};
#endif
#else #else
#error "Multiple inclusions of psi.h" #error "Multiple inclusions of psi.h"
#endif #endif
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* pat.h: PAT structures * pat.h: PAT structures
*---------------------------------------------------------------------------- *----------------------------------------------------------------------------
* (c)2001-2002 VideoLAN * (c)2001-2002 VideoLAN
* $Id: pat.h,v 1.1 2002/01/22 20:30:16 bozo Exp $ * $Id: pat.h,v 1.2 2002/03/15 12:16:01 bozo Exp $
* *
* Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr> * Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr>
* *
...@@ -27,6 +27,10 @@ ...@@ -27,6 +27,10 @@
#ifndef _DVBPSI_PAT_H_ #ifndef _DVBPSI_PAT_H_
#define _DVBPSI_PAT_H_ #define _DVBPSI_PAT_H_
#ifdef __cplusplus
extern "C" {
#endif
/***************************************************************************** /*****************************************************************************
* dvbpsi_pat_program_t * dvbpsi_pat_program_t
...@@ -131,6 +135,10 @@ dvbpsi_psi_section_t* dvbpsi_GenPATSections(dvbpsi_pat_t* p_pat, ...@@ -131,6 +135,10 @@ dvbpsi_psi_section_t* dvbpsi_GenPATSections(dvbpsi_pat_t* p_pat,
int i_max_pps); int i_max_pps);
#ifdef __cplusplus
};
#endif
#else #else
#error "Multiple inclusions of pat.h" #error "Multiple inclusions of pat.h"
#endif #endif
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* pmt.h: PMT structures * pmt.h: PMT structures
*---------------------------------------------------------------------------- *----------------------------------------------------------------------------
* (c)2001-2002 VideoLAN * (c)2001-2002 VideoLAN
* $Id: pmt.h,v 1.1 2002/01/22 20:30:16 bozo Exp $ * $Id: pmt.h,v 1.2 2002/03/15 12:16:01 bozo Exp $
* *
* Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr> * Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr>
* *
...@@ -27,6 +27,10 @@ ...@@ -27,6 +27,10 @@
#ifndef _DVBPSI_PMT_H_ #ifndef _DVBPSI_PMT_H_
#define _DVBPSI_PMT_H_ #define _DVBPSI_PMT_H_
#ifdef __cplusplus
extern "C" {
#endif
/***************************************************************************** /*****************************************************************************
* dvbpsi_pmt_es_t * dvbpsi_pmt_es_t
...@@ -158,6 +162,10 @@ dvbpsi_descriptor_t* dvbpsi_PMTESAddDescriptor(dvbpsi_pmt_es_t* p_es, ...@@ -158,6 +162,10 @@ dvbpsi_descriptor_t* dvbpsi_PMTESAddDescriptor(dvbpsi_pmt_es_t* p_es,
dvbpsi_psi_section_t* dvbpsi_GenPMTSections(dvbpsi_pmt_t* p_pmt); dvbpsi_psi_section_t* dvbpsi_GenPMTSections(dvbpsi_pmt_t* p_pmt);
#ifdef __cplusplus
};
#endif
#else #else
#error "Multiple inclusions of pmt.h" #error "Multiple inclusions of pmt.h"
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment