/usr/include/gpac/iso639.h is in libgpac-dev 0.5.2-426-gc5ad4e4+dfsg5-3.
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 | /*
* GPAC - Multimedia Framework C SDK
*
* Authors: Jean Le Feuvre
* Copyright (c) Telecom ParisTech 2000-2012
* All rights reserved
*
* This file is part of GPAC
*
* GPAC 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, or (at your option)
* any later version.
*
* GPAC 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; see the file COPYING. If not, write to
* the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
#ifndef _GF_ISO_639_H
#define _GF_ISO_639_H
#ifdef __cplusplus
extern "C" {
#endif
#include <gpac/setup.h>
/*!
* Gets number of supported language codes
* \return the number of supported language codes
*/
u32 gf_lang_get_count();
/*!
* Finds language by name or code
* \param lang_or_rfc_5646_code the langauage name, ISO 639 code or RFC 5646 code
* \return the index of the language, or -1 if not supported
*/
s32 gf_lang_find(const char *lang_or_rfc_5646_code);
/*!
* Gets the langauge name for the given index
* \param lang_idx the langauge 0-based IDX
* \return the name of the language
*/
const char *gf_lang_get_name(u32 lang_idx);
/*!
* Gets the 2 character code for the given index
* \param lang_idx the langauge 0-based IDX
* \return the 2 character code of the language
*/
const char *gf_lang_get_2cc(u32 lang_idx);
/*!
* Gets the 3 character code for the given index
* \param lang_idx the langauge 0-based IDX
* \return the 3 character code of the language
*/
const char *gf_lang_get_3cc(u32 lang_idx);
#ifdef __cplusplus
}
#endif
#endif
|