libdvbpsi 0.2.0
Data Structures | Defines | Typedefs | Functions | Variables
sis.h File Reference

Application interface for the SIS decoder and the SIS generator. More...

Go to the source code of this file.

Data Structures

struct  dvbpsi_sis_s
 SIS structure. More...

Defines

#define dvbpsi_NewSIS(p_sis, i_protocol_version)
 Allocate and initialize a new dvbpsi_sis_t structure.
#define dvbpsi_DeleteSIS(p_sis)
 Clean and free a dvbpsi_sis_t structure.

Typedefs

typedef struct dvbpsi_sis_s dvbpsi_sis_t
 dvbpsi_sis_t type definition.
typedef void(* dvbpsi_sis_callback )(void *p_cb_data, dvbpsi_sis_t *p_new_sis)
 Callback type definition.

Functions

 __attribute__ ((deprecated)) int dvbpsi_AttachSIS(dvbpsi_decoder_t *p_psi_decoder

Variables

uint8_t i_table_id
uint8_t uint16_t i_extension
uint8_t uint16_t
dvbpsi_sis_callback 
pf_callback
uint8_t uint16_t
dvbpsi_sis_callback void * 
p_cb_data
uint8_t i_protocol_version
uint8_t i_tag
uint8_t uint8_t i_length
uint8_t uint8_t uint8_t * p_data

Detailed Description

Application interface for the SIS decoder and the SIS generator.

>

Author:
Jean-Paul Saman <jpsaman@videolan.org> Application interface for the SIS decoder and the SIS generator. New decoded SIS tables are sent by callback to the application.

Define Documentation

#define dvbpsi_DeleteSIS (   p_sis)
Value:
do {                                                                    \
  dvbpsi_EmptySIS(p_sis);                                               \
  free(p_sis);                                                          \
} while(0);

Clean and free a dvbpsi_sis_t structure.

Parameters:
p_sItpointer to the SIS structure
Returns:
nothing.
#define dvbpsi_NewSIS (   p_sis,
  i_protocol_version 
)
Value:
do {                                                                    \
  p_sis = (dvbpsi_sis_t*)malloc(sizeof(dvbpsi_sis_t));                  \
  if(p_sis != NULL)                                                     \
    dvbpsi_InitSIS(p_sis, i_protocol_version);                          \
} while(0);

Allocate and initialize a new dvbpsi_sis_t structure.

Parameters:
p_sispointer to the SIS structure
i_protocol_versionSIS protocol version (currently 0)
Returns:
nothing.