summaryrefslogtreecommitdiffstats
path: root/libhb/lang.h
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/lang.h')
-rw-r--r--libhb/lang.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libhb/lang.h b/libhb/lang.h
index ffaa76b07..4e48d2332 100644
--- a/libhb/lang.h
+++ b/libhb/lang.h
@@ -19,8 +19,15 @@ typedef struct iso639_lang_t
#ifdef __cplusplus
extern "C" {
#endif
+/* find language associated with ISO-639-1 language code */
iso639_lang_t * lang_for_code( int code );
+/* find language associated with ISO-639-2 language code */
+iso639_lang_t * lang_for_code2( const char *code2 );
+
+/* ISO-639-1 code for language */
+int lang_to_code(const iso639_lang_t *lang);
+
iso639_lang_t * lang_for_english( const char * english );
#ifdef __cplusplus
}