]> git.sesse.net Git - vlc/blobdiff - include/iso_lang.h
* include/configuration.h: bug fix for add_string_from_list()
[vlc] / include / iso_lang.h
index 83735b1d621cc762426df6845c153daea627a0a7..89b1bc4102fb2ee721b6a23cd79f59c69b404638 100644 (file)
@@ -2,7 +2,7 @@
  * iso_lang.h: function to decode language code (in dvd or a52 for instance).
  *****************************************************************************
  * Copyright (C) 1998-2001 VideoLAN
- * $Id: iso_lang.h,v 1.4 2002/05/14 19:33:54 bozo Exp $
+ * $Id: iso_lang.h,v 1.8 2002/11/11 14:39:11 sam Exp $
  *
  * Author: Stéphane Borel <stef@via.ecp.fr>
  *         Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr>
@@ -22,7 +22,7 @@
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
  *****************************************************************************/
 
-struct iso639_lang_s
+struct iso639_lang_t
 {
     char * psz_eng_name;        /* Description in English */
     char * psz_native_name;     /* Description in native language */
@@ -31,15 +31,8 @@ struct iso639_lang_s
     char * psz_iso639_2B;       /* ISO-639-2/B (3 characters) native code */
 };
 
-#ifndef __PLUGIN__
-iso639_lang_t * GetLang_1( const char * psz_iso639_1 );
-iso639_lang_t * GetLang_2T( const char * psz_iso639_2T );
-iso639_lang_t * GetLang_2B( const char * psz_iso639_2B );
-char * DecodeLanguage( u16 );
-#else
-#   define GetLang_1 p_symbols->GetLang_1
-#   define GetLang_2T p_symbols->GetLang_2T
-#   define GetLang_2B p_symbols->GetLang_2B
-#   define DecodeLanguage p_symbols->DecodeLanguage
-#endif
+VLC_EXPORT( const iso639_lang_t *, GetLang_1, ( const char * ) );
+VLC_EXPORT( const iso639_lang_t *, GetLang_2T, ( const char * ) );
+VLC_EXPORT( const iso639_lang_t *, GetLang_2B, ( const char * ) );
+VLC_EXPORT( const char *, DecodeLanguage, ( uint16_t ) );