/usr/include/dvbpsi/dr_14.h is in libdvbpsi-dev 1.2.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 | /*
Copyright (C) 2010 Adam Charrett
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
dr_14.h
Decode Association Tag Descriptor.
*/
/*!
* \file dr_14.h
* \author Adam Charrett
* \brief Decode Association Tag Descriptor.
*/
#ifndef _DR_14_H
#define _DR_14_H
/*****************************************************************************
* dvbpsi_association_tag_dr_s
*****************************************************************************/
/*!
* \struct dvbpsi_association_tag_dr_s
* \brief Data Broadcast id Descriptor
*
* This structure is used to store a decoded Association Tag descriptor.
*/
/*!
* \typedef struct dvbpsi_association_tag_dr_s dvbpsi_association_tag_dr_t
* \brief dvbpsi_association_tag_dr_t type definition.
*/
typedef struct dvbpsi_association_tag_dr_s
{
uint16_t i_tag; /*!< association tag identifier */
uint16_t i_use; /*!< indicator if association tag identifier is in use */
uint8_t i_selector_len; /*!< length of selector data in bytes */
uint8_t *p_selector; /*!< pointer to selector. Memory is allocated
right after sizeof struct, when freeing this
struct the private data is freed at the same time. */
uint8_t i_private_data_len; /*!< length of private data segment in bytes */
uint8_t *p_private_data; /*!< pointer to private data. Memory is allocated
right after sizeof struct, when freeing this
struct the private data is freed at the same time. */
} dvbpsi_association_tag_dr_t;
/*****************************************************************************
* dvbpsi_DecodeAssociationTagDr
*****************************************************************************/
/*!
* \fn dvbpsi_association_tag_dr_t *dvbpsi_DecodeAssociationTagDr(
* dvbpsi_descriptor_t *p_descriptor)
* \brief Decode a Association Tag descriptor (tag 0x14)
* \param p_descriptor Raw descriptor to decode.
* \return NULL if the descriptor could not be decoded or a pointer to a
* dvbpsi_association_tag_dr_t structure.
*/
dvbpsi_association_tag_dr_t *dvbpsi_DecodeAssociationTagDr(dvbpsi_descriptor_t *p_descriptor);
#endif
|