libdvbv5  1.11.0
Library to work with Digital TV devices on Linux
nit.h File Reference

Provides the descriptors for NIT MPEG-TS table. More...

#include <stdint.h>
#include <unistd.h>
#include <libdvbv5/header.h>
#include <libdvbv5/descriptors.h>
Include dependency graph for nit.h:

Go to the source code of this file.

Data Structures

union  dvb_table_nit_transport_header
 MPEG-TS NIT transport header. More...
 
struct  dvb_table_nit_transport
 MPEG-TS NIT transport table. More...
 
struct  dvb_table_nit
 MPEG-TS NIT table. More...
 

Macros

#define DVB_TABLE_NIT
 NIT table ID. More...
 
#define DVB_TABLE_NIT2
 NIT table ID (alternative table ID) More...
 
#define DVB_TABLE_NIT_PID
 NIT Program ID. More...
 
#define dvb_nit_transport_foreach(_tran, _nit)
 Macro used to find a transport inside a NIT table. More...
 

Typedefs

typedef void nit_handler_callback_t (struct dvb_table_nit *nit, struct dvb_desc *desc, void *priv)
 typedef for a callback used when a NIT table entry is found More...
 
typedef void nit_tran_handler_callback_t (struct dvb_table_nit *nit, struct dvb_table_nit_transport *tran, struct dvb_desc *desc, void *priv)
 typedef for a callback used when a NIT transport table entry is found More...
 

Functions

ssize_t dvb_table_nit_init (struct dvb_v5_fe_parms *parms, const uint8_t *buf, ssize_t buflen, struct dvb_table_nit **table)
 Initializes and parses NIT table. More...
 
void dvb_table_nit_free (struct dvb_table_nit *table)
 Frees all data allocated by the NIT table parser. More...
 
void dvb_table_nit_print (struct dvb_v5_fe_parms *parms, struct dvb_table_nit *table)
 Prints the content of the NIT table. More...
 
void dvb_table_nit_descriptor_handler (struct dvb_v5_fe_parms *parms, struct dvb_table_nit *table, enum descriptors descriptor, nit_handler_callback_t *call_nit, nit_tran_handler_callback_t *call_tran, void *priv)
 For each entry at NIT and NIT transport tables, call a callback. More...
 

Detailed Description

Provides the descriptors for NIT MPEG-TS table.

Author
Mauro Carvalho Chehab
Andre Roth
Bug Report
Please submit bug report and patches to linux.nosp@m.-med.nosp@m.ia@vg.nosp@m.er.k.nosp@m.ernel.nosp@m..org
Relevant specs
The table described herein is defined at:
  • ISO/IEC 13818-1
  • ETSI EN 300 468
Bug Report
Please submit bug reports and patches to linux.nosp@m.-med.nosp@m.ia@vg.nosp@m.er.k.nosp@m.ernel.nosp@m..org

Definition in file nit.h.