dvb_desc_ca(3)

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

πŸ’– dvb_desc_ca β€” Library Functions Manual, but make it make sense πŸ’–

okay bestie, sit down, hydrate, because today we're learning about dvb_desc_ca β€” the little struct that holds the private data for Conditional Access. yes it's from libdvbv5, yes it's in the 3 section of the manual, and yes it's giving very "small struct, big responsibilities" energy. let's go 🫢


✨ NAME ✨

dvb_desc_ca β€” Contains the private data for Conditional Access.

like. that's it. that's the whole vibe. it contains the private data for Conditional Access. slay πŸ’…


✨ SYNOPSIS ✨

#include <desc_ca.h>

🌸 Data Fields 🌸

uint8_t type
uint8_t length
struct dvb_desc * next
uint16_t ca_id
union {
   uint16_t bitfield1
   struct {
      uint16_t ca_pid:13
      uint16_t reserved:3
   }
};
uint8_t * privdata
uint8_t privdata_len

look at all those fields. so many little guys. every single one matters, don't skip a single one, we love them all πŸ’–


✨ Detailed Description ✨

Contains the private data for Conditional Access.

okay so that's the headline, but here's the tea on what each piece is actually doing:

🌈 Parameters 🌈

  • type β€” descriptor tag. it's the little label that says "hey, this is what kind of descriptor I am."
  • length β€” descriptor length. how long the descriptor is. iconic of it to just say what it is.
  • next β€” pointer to struct dvb_desc. it's the "and then?" pointer, linking you onward down the chain.
  • ca_id β€” Conditional Access ID.
  • ca_pid β€” Conditional Access ID. (yes, the original says "Conditional Access ID" for this one too. not me editing the source, no ma'am, I'm reporting exactly what it says πŸ™ˆ)
  • privdata β€” pointer to private data buffer.
  • privdata_len β€” length of the private data.

Definition at line 56 of file desc_ca.h. ✨


✨ Field Documentation ✨

🌸 union { ... } dvb_desc_ca 🌸

the anonymous union. she's mysterious. she's unnamed. she contains multitudes (well, two things).


πŸ’œ uint16_t dvb_desc_ca::bitfield1 πŸ’œ

Definition at line 63 of file desc_ca.h.


πŸ’œ uint16_t dvb_desc_ca::ca_id πŸ’œ

Definition at line 61 of file desc_ca.h.


πŸ’œ uint16_t dvb_desc_ca::ca_pid πŸ’œ

Definition at line 65 of file desc_ca.h.


πŸ’œ uint8_t dvb_desc_ca::length πŸ’œ

Definition at line 58 of file desc_ca.h.


πŸ’œ struct dvb_desc* dvb_desc_ca::next πŸ’œ

Definition at line 59 of file desc_ca.h.


πŸ’œ uint8_t* dvb_desc_ca::privdata πŸ’œ

Definition at line 70 of file desc_ca.h.


πŸ’œ uint8_t dvb_desc_ca::privdata_len πŸ’œ

Definition at line 71 of file desc_ca.h.


πŸ’œ uint16_t dvb_desc_ca::reserved πŸ’œ

Definition at line 66 of file desc_ca.h.


πŸ’œ uint8_t dvb_desc_ca::type πŸ’œ

Definition at line 57 of file desc_ca.h.


✨ Author ✨

Generated automatically by Doxygen for libdvbv5 from the source code.

like, not a human author, bestie β€” Doxygen did this. the robots wrote the docs. we're just vibing in their house now 🧚


heads up: all of this lives in desc_ca.h, and every line number above is straight from the source. no cap, no edits, no merging fields. if you're looking for it, it's there πŸ’€βœ¨

and that's the whole page, bestie!! πŸŽ€ we did it. libdvbv5, Version 1.32.0 β€” that's the library and the version, and dvb_desc_ca(3) is the page you're on. go forth and parse those descriptors. periodt. πŸ‘‘πŸ’–πŸ¦‹

πŸ“¦ where this page comes from