lib/includ...vbv5/cat.h(3)
π lib/include/libdvbv5/cat.h π
okay so bestie, this is a page from the Library Functions Manual, and we're talking about the header lib/include/libdvbv5/cat.h β the one that brings you the table parser for the CAT (Conditional Access Table). she's giving demux royalty, no cap. π
β¨ NAME β¨
lib/include/libdvbv5/cat.h β provides the table parser for the CAT (Conditional Access Table) π
π¦ SYNOPSIS π¦
#include <stdint.h>
#include <unistd.h>
#include <libdvbv5/header.h>
πΈ Data Structures
struct dvb_table_catβ ATSC CAT table. π
π Macros
#define DVB_TABLE_CATβ ATSC CAT table ID.#define DVB_TABLE_CAT_PIDβ ATSC PID table ID.
β Functions
ssize_t dvb_table_cat_init (struct dvb_v5_fe_parms *parms, const uint8_t *buf, ssize_t buflen, struct dvb_table_cat **table)β Initializes and parses CAT table.void dvb_table_cat_free (struct dvb_table_cat *table)β Frees all data allocated by the CAT table parser.void dvb_table_cat_print (struct dvb_v5_fe_parms *parms, struct dvb_table_cat *table)β Prints the content of the CAT table.
π Detailed Description π
Provides the table parser for the CAT (Conditional Access Table). like, that's her whole job and she does it flawlessly. π«Ά
π Copyright
GNU Lesser General Public License version 2.1 (LGPLv2.1)
πΈ Author
Andre Roth
π¦ Bug Report
Please submit bug reports and patches to linux-media@vger.kernel.org
Definition in file cat.h.
π Function Documentation π
π« void dvb_table_cat_free (struct dvb_table_cat * table)
Frees all data allocated by the CAT table parser.
π Parameters
tableβ pointer tostruct dvb_table_catto be freed
β¨ ssize_t dvb_table_cat_init (struct dvb_v5_fe_parms * parms, const uint8_t * buf, ssize_t buflen, struct dvb_table_cat ** table)
Initializes and parses CAT table.
π Parameters
parmsβstruct dvb_v5_fe_parmspointer to the opened devicebufβ buffer containing the CAT raw databuflenβ length of the buffertableβ pointer tostruct dvb_table_catto be allocated and filled
This function allocates an CAT table and fills the fields inside the struct. It also makes sure that all fields will follow the CPU endianness. Due to that, the content of the buffer may change.
β οΈ bestie listen β the buffer may change. she's not being shady, that's just how the endianness thing works. do not come for her. π
π Returns
On success, it returns the size of the allocated struct. A negative value indicates an error.
π§ void dvb_table_cat_print (struct dvb_v5_fe_parms * parms, struct dvb_table_cat * table)
Prints the content of the CAT table.
π Parameters
parmsβstruct dvb_v5_fe_parmspointer to the opened devicetableβ pointer tostruct dvb_table_cat
π Author π
Generated automatically by Doxygen for libdvbv5 from the source code.
okay and that's the whole page, you ate that π
β¨ this was libdvbv5, Version 1.32.0, page lib/includ...vbv5/cat.h(3) β the manual name is Library Functions Manual in case you were wondering where that went. mwah, go parse some tables bestie π«Άππ¦
π¦ where this page comes from
- fedora 43: libdvbv5-devel 1.32.0-1.fc43 Β· LGPL-2.1-or-later AND LGPL-2.1-or-later WITH Linux-syscall-note
- fedora 43: libdvbv5-devel 1.32.0-1.fc43 Β· LGPL-2.1-or-later AND LGPL-2.1-or-later WITH Linux-syscall-note
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms