aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-kbdc/parsed.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mds-kbdc/parsed.h')
-rw-r--r--src/mds-kbdc/parsed.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/mds-kbdc/parsed.h b/src/mds-kbdc/parsed.h
index 567168c..32d76ee 100644
--- a/src/mds-kbdc/parsed.h
+++ b/src/mds-kbdc/parsed.h
@@ -100,6 +100,42 @@ typedef struct mds_kbdc_parsed
*/
int severest_error_level;
+ /**
+ * List of languages for which the layout is designed
+ */
+ char** languages;
+
+ /**
+ * The number of elements allocated to `languages`
+ */
+ size_t languages_size;
+
+ /**
+ * The number of elements stored in `languages`
+ */
+ size_t languages_ptr;
+
+ /**
+ * List of countries for which the layout is designed
+ */
+ char** countries;
+
+ /**
+ * The number of elements allocated to `countries`
+ */
+ size_t countries_size;
+
+ /**
+ * The number of elements stored in `countries`
+ */
+ size_t countries_ptr;
+
+ /**
+ * The variant of the keyboard for the languages/countries,
+ * `NULL` if not specified
+ */
+ char* variant;
+
} mds_kbdc_parsed_t;