35 #ifndef _DVBPSI_DESCRIPTOR_H_
36 #define _DVBPSI_DESCRIPTOR_H_
42 #ifdef HAVE_SYS_TYPES_H
43 #include <sys/types.h>
179 #error "Multiple inclusions of descriptor.h"
uint8_t iso_639_language_code_t[3]
ISO639 three letter language codes.
Definition: descriptor.h:53
void * dvbpsi_DuplicateDecodedDescriptor(void *p_decoded, ssize_t i_size)
Duplicate a decoded descriptor. The caller is responsible for releasing the associated memory.
dvbpsi_descriptor_t * dvbpsi_AddDescriptor(dvbpsi_descriptor_t *p_list, dvbpsi_descriptor_t *p_descriptor)
Add a descriptor to the end of descriptor list.
void dvbpsi_DeleteDescriptors(dvbpsi_descriptor_t *p_descriptor)
Destruction of a dvbpsi_descriptor_t structure together with the decoded descriptor,...
bool dvbpsi_CanDecodeAsDescriptor(dvbpsi_descriptor_t *p_descriptor, const uint8_t i_tag)
Checks if descriptor tag matches.
bool dvbpsi_IsDescriptorDecoded(dvbpsi_descriptor_t *p_descriptor)
Checks if descriptor was already decoded.
dvbpsi_descriptor_t * dvbpsi_NewDescriptor(uint8_t i_tag, uint8_t i_length, uint8_t *p_data)
Creation of a new dvbpsi_descriptor_t structure.
struct dvbpsi_descriptor_s dvbpsi_descriptor_t
dvbpsi_descriptor_t type definition.
Descriptor structure.
Definition: descriptor.h:83
uint8_t i_length
Definition: descriptor.h:85
struct dvbpsi_descriptor_s * p_next
Definition: descriptor.h:89
uint8_t i_tag
Definition: descriptor.h:84
void * p_decoded
Definition: descriptor.h:92
uint8_t * p_data
Definition: descriptor.h:87