summaryrefslogtreecommitdiff
path: root/src/keymap.h
diff options
context:
space:
mode:
authorRan Benita <ran234@gmail.com>2014-01-13 17:07:41 +0200
committerRan Benita <ran234@gmail.com>2014-01-13 17:22:02 +0200
commit7210497c634c8a6a380bba6db934e3ac0d1d98d8 (patch)
tree57f45383751d23d51583bf8204221d751676c62c /src/keymap.h
parent4884a8e636cede13c7598fe49d1fc35d22f78f14 (diff)
downloadlibxkbcommon-7210497c634c8a6a380bba6db934e3ac0d1d98d8.tar.gz
libxkbcommon-7210497c634c8a6a380bba6db934e3ac0d1d98d8.tar.bz2
libxkbcommon-7210497c634c8a6a380bba6db934e3ac0d1d98d8.zip
keymap: split private functions to keymap-priv.c
This makes it easier to share the private functions in other DSOs without relying (too much) on dead code elimination, exported symbols, etc. Signed-off-by: Ran Benita <ran234@gmail.com>
Diffstat (limited to 'src/keymap.h')
-rw-r--r--src/keymap.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/keymap.h b/src/keymap.h
index 80522e8..5f514ec 100644
--- a/src/keymap.h
+++ b/src/keymap.h
@@ -412,6 +412,11 @@ XkbKeyGroupWidth(const struct xkb_key *key, xkb_layout_index_t layout)
return key->groups[layout].type->num_levels;
}
+struct xkb_keymap *
+xkb_keymap_new(struct xkb_context *ctx,
+ enum xkb_keymap_format format,
+ enum xkb_keymap_compile_flags flags);
+
struct xkb_key *
XkbKeyByName(struct xkb_keymap *keymap, xkb_atom_t name, bool use_aliases);