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
|
/*
* libzvbi - Teletext packet decoder, packet 8/30
*
* Copyright (C) 2003, 2004 Michael H. Schimek
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program 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 General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/* $Id: packet-830.h,v 1.3 2005/01/31 07:15:10 mschimek Exp $ */
#ifndef __ZVBI3_PACKET_830_H__
#define __ZVBI3_PACKET_830_H__
#include <inttypes.h> /* uint8_t */
#include <time.h> /* time_t */
#include "macros.h"
#include "pdc.h" /* vbi3_program_id */
VBI3_BEGIN_DECLS
/**
* @addtogroup Packet830
* @{
*/
extern vbi3_bool
vbi3_decode_teletext_8301_cni (unsigned int * cni,
const uint8_t buffer[42])
__attribute__ ((_vbi3_nonnull (1, 2)));
extern vbi3_bool
vbi3_decode_teletext_8301_local_time
(time_t * tme,
int * gmtoff,
const uint8_t buffer[42])
__attribute__ ((_vbi3_nonnull (1, 2, 3)));
extern vbi3_bool
vbi3_decode_teletext_8302_cni (unsigned int * cni,
const uint8_t buffer[42])
__attribute__ ((_vbi3_nonnull (1, 2)));
extern vbi3_bool
vbi3_decode_teletext_8302_pdc (vbi3_program_id * pid,
const uint8_t buffer[42])
__attribute__ ((_vbi3_nonnull (1, 2)));
/** @} */
VBI3_END_DECLS
#endif /* __ZVBI3__PACKET_830_H__ */
|