1 /**
2  * \file ADM_iso639.h
3  * \brief iso639-2 to plaintext
4  * Table borrowed from handbrake
5 
6  */
7 #pragma once
8 #include "ADM_coreUtils6_export.h"
9 
10 typedef struct ADM_iso639_t
11 {
12     const char * eng_name;        /* Description in English */
13     const char * native_name;     /* Description in native language */
14     const char * iso639_1;       /* ISO-639-1 (2 characters) code */
15     const char * iso639_2;        /* ISO-639-2/t (3 character) code */
16     const char * iso639_2b;       /* ISO-639-2/b code (if different from above) */
17 
18 } iso639_lang_t;
19 ADM_COREUTILS6_EXPORT const char *ADM_iso639b_toPlaintext(const char *iso);
20 ADM_COREUTILS6_EXPORT const ADM_iso639_t *ADM_getLanguageList();
21 ADM_COREUTILS6_EXPORT int                 ADM_getLanguageListSize();
22 ADM_COREUTILS6_EXPORT int                 ADM_getIndexForIso639(const char *iso);
23