diff --git a/include/xkbrules.h b/include/xkbrules.h index 20ea78e17..2add6996e 100644 --- a/include/xkbrules.h +++ b/include/xkbrules.h @@ -44,4 +44,21 @@ typedef struct _XkbRF_VarDefs { const char *options; } XkbRF_VarDefsRec, *XkbRF_VarDefsPtr; +typedef struct _XkbRF_Rule { + int number; + int layout_num; + int variant_num; + const char *model; + const char *layout; + const char *variant; + const char *option; + /* yields */ + const char *keycodes; + const char *symbols; + const char *types; + const char *compat; + const char *geometry; + unsigned flags; +} XkbRF_RuleRec, *XkbRF_RulePtr; + #endif /* _XKBRULES_H_ */ diff --git a/xkb/xkbrules_priv.h b/xkb/xkbrules_priv.h index b494edb8d..918be5339 100644 --- a/xkb/xkbrules_priv.h +++ b/xkb/xkbrules_priv.h @@ -10,23 +10,6 @@ #include "include/xkbrules.h" -typedef struct _XkbRF_Rule { - int number; - int layout_num; - int variant_num; - const char *model; - const char *layout; - const char *variant; - const char *option; - /* yields */ - const char *keycodes; - const char *symbols; - const char *types; - const char *compat; - const char *geometry; - unsigned flags; -} XkbRF_RuleRec, *XkbRF_RulePtr; - typedef struct _XkbRF_Group { int number; const char *name;