Add interface to compile keyboard description from keymap files
[platform/upstream/libxkbcommon.git] / include / X11 / extensions / XKBcommon.h
index 1bc0f35..1a53658 100644 (file)
@@ -28,6 +28,7 @@ authorization from the authors.
 #ifndef _XKBCOMMON_H_
 #define _XKBCOMMON_H_
 
+#include <stdio.h>
 #include <X11/Xfuncproto.h>
 
 /* Action structures used in the server */
@@ -134,6 +135,9 @@ XkbcCompileKeymapFromRules(const XkbRMLVOSet *rmlvo);
 extern XkbcDescPtr
 XkbcCompileKeymapFromComponents(const XkbComponentNamesPtr ktcsg);
 
+extern XkbcDescPtr
+XkbcCompileKeymapFromFile(FILE *inputFile, const char *mapName);
+
 _XFUNCPROTOEND
 
 #endif /* _XKBCOMMON_H_ */