OSDN Git Service

Don't discard titles during scan just because of a read failure on one or more of...
[handbrake-jp/handbrake-jp-git.git] / libhb / lang.h
1 /* $Id: lang.h,v 1.1 2004/08/02 07:19:05 titer Exp $
2
3    This file is part of the HandBrake source code.
4    Homepage: <http://handbrake.m0k.org/>.
5    It may be used under the terms of the GNU General Public License. */
6
7 #ifndef HB_LANG_H
8 #define HB_LANG_H
9
10 typedef struct iso639_lang_t
11 {
12     char * eng_name;        /* Description in English */
13     char * native_name;     /* Description in native language */
14     char * iso639_1;       /* ISO-639-1 (2 characters) code */
15     char * iso639_2;        /* ISO-639-2 (3 character) code */
16
17 } iso639_lang_t;
18
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22 iso639_lang_t * lang_for_code( int code );
23
24 iso639_lang_t * lang_for_english( const char * english );
25 #ifdef __cplusplus
26 }
27 #endif
28 #endif