dvb_desc_ca(3)
π 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 tostruct 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
- 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