Function prototype for a function that initializes the descriptors parsing on a table.

Parameters:

parms Struct dvb_v5_fe_parms pointer buf Buffer with data to be parsed buflen Size of the buffer to be parsed table pointer to a place where the allocated memory with the table structure will be stored.

parms struct dvb_v5_fe_parms pointer to the opened device table pointer to struct dvb_table_nitdescriptor indicates the NIT table descriptor to seek call_nit a nit_handler_callback_t function to be called when a new entry at the NIT table is found (or NULL). call_tran a nit_tran_handler_callback_t function to be called when a new entry at the NIT transport table is found (or NULL). priv an opaque pointer to be optionally used by the callbacks. The function won't touch on it, just use as an argument for the callback functions.

When parsing a NIT entry, we need to call some code to properly handle when a given descriptor in the table is found. This is used, for example, to create newer transponders to seek during scan.

For example, to seek for the CATV delivery system descriptor and call a function that would add a new transponder to a scan procedure: