/* * libzvbi - Video Programming System * * Copyright (C) 2000-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: vps.h,v 1.2 2006/05/07 20:54:07 mschimek Exp $ */ #ifndef __ZVBI_VPS_H__ #define __ZVBI_VPS_H__ #include /* uint8_t */ #include "macros.h" #include "version.h" #include "pdc.h" /* vbi_program_id */ VBI_BEGIN_DECLS /* Public */ /** * @addtogroup VPS * @{ */ extern vbi_bool vbi_decode_vps_cni (unsigned int * cni, const uint8_t buffer[13]); extern vbi_bool vbi_encode_vps_cni (uint8_t buffer[13], unsigned int cni); /* Private */ #if 3 == VBI_VERSION_MINOR extern vbi_bool vbi_decode_vps_pdc (vbi_program_id * pid, const uint8_t buffer[13]); extern vbi_bool vbi_encode_vps_pdc (uint8_t buffer[13], const vbi_program_id *pid); #endif /** @} */ VBI_END_DECLS #endif /* __ZVBI_VPS_H__ */