diff options
Diffstat (limited to 'libhb/lang.h')
-rw-r--r-- | libhb/lang.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libhb/lang.h b/libhb/lang.h index 3982f408f..7d794910c 100644 --- a/libhb/lang.h +++ b/libhb/lang.h @@ -26,6 +26,12 @@ extern "C" { /* find language, match any of names in lang struct */ const iso639_lang_t * lang_lookup( const char * str ); +/* find language table index, match any of names in lang struct */ +const int lang_lookup_index( const char * str ); + +/* return language for an index into the language table */ +iso639_lang_t * lang_for_index( int index ); + /* find language associated with ISO-639-1 language code */ iso639_lang_t * lang_for_code( int code ); |