00001 /***************************************************************************** 00002 * iso_lang.h: function to decode language code (in dvd or a52 for instance). 00003 ***************************************************************************** 00004 * Copyright (C) 1998-2001 the VideoLAN team 00005 * $Id: e37739fcd51aa910ea33a9c5486c2e25386808e0 $ 00006 * 00007 * Author: Stéphane Borel <stef@via.ecp.fr> 00008 * Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr> 00009 * 00010 * This program is free software; you can redistribute it and/or modify 00011 * it under the terms of the GNU General Public License as published by 00012 * the Free Software Foundation; either version 2 of the License, or 00013 * (at your option) any later version. 00014 * 00015 * This program is distributed in the hope that it will be useful, 00016 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00017 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00018 * GNU General Public License for more details. 00019 * 00020 * You should have received a copy of the GNU General Public License 00021 * along with this program; if not, write to the Free Software 00022 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. 00023 *****************************************************************************/ 00024 00025 /** 00026 * \file 00027 * This file defines functions and structures for iso639 language codes 00028 */ 00029 00030 struct iso639_lang_t 00031 { 00032 const char *psz_eng_name; /* Description in English */ 00033 const char *psz_native_name; /* Description in native language */ 00034 const char psz_iso639_1[3]; /* ISO-639-1 (2 characters) code */ 00035 const char psz_iso639_2T[4]; /* ISO-639-2/T (3 characters) English code */ 00036 const char psz_iso639_2B[4]; /* ISO-639-2/B (3 characters) native code */ 00037 }; 00038 00039 #if defined( __cplusplus ) 00040 extern "C" { 00041 #endif 00042 VLC_EXPORT( const iso639_lang_t *, GetLang_1, ( const char * ) ); 00043 VLC_EXPORT( const iso639_lang_t *, GetLang_2T, ( const char * ) ); 00044 VLC_EXPORT( const iso639_lang_t *, GetLang_2B, ( const char * ) ); 00045 #if defined( __cplusplus ) 00046 } 00047 #endif 00048
1.5.6