lib/includ...vbv5/cat.h(3)

πŸ“¦
version 1.32.0 Β· 2 versions
, in fedora 43

πŸ’– 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. 🫢

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 to struct dvb_table_cat to 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_parms pointer to the opened device
  • buf β€” buffer containing the CAT raw data
  • buflen β€” length of the buffer
  • table β€” pointer to struct dvb_table_cat to 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_parms pointer to the opened device
  • table β€” pointer to struct 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