summaryrefslogtreecommitdiffstats
path: root/libhb/lang.h
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/lang.h')
-rw-r--r--libhb/lang.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/libhb/lang.h b/libhb/lang.h
index ed3e08e5b..9017de066 100644
--- a/libhb/lang.h
+++ b/libhb/lang.h
@@ -44,6 +44,15 @@ int lang_to_code(const iso639_lang_t *lang);
iso639_lang_t * lang_for_english( const char * english );
/*
+ * Get fake iso639 cooresponding to "Any"
+ * "Any" is used when a match for any language is desired.
+ *
+ * Calling lang_get_next() with pointer returned by lang_get_any()
+ * returns the first entry in the languages list
+ */
+const iso639_lang_t* lang_get_any(void);
+
+/*
* Get the next language in the list.
* Returns NULL if there are no more languages.
* Pass NULL to get the first language in the list.