summaryrefslogtreecommitdiff
path: root/src/text.h
diff options
context:
space:
mode:
authorRan Benita <ran234@gmail.com>2012-10-18 23:08:10 +0200
committerRan Benita <ran234@gmail.com>2012-10-18 23:12:24 +0200
commitbb82759c90ec99aba595315c3cf36517bbc5f9c2 (patch)
tree7f4403e5ae0617d2ca3a5740c2f46c700a3bbada /src/text.h
parente6946ae2c59a878e838fe777b50dad695b63e6bb (diff)
Move _text() functions from keymap-dump to text.c
And make them use context_get_buffer() instead of using a static char array. This was the last non-thread-safe piece we had, as far as I can tell. Signed-off-by: Ran Benita <ran234@gmail.com>
Diffstat (limited to 'src/text.h')
-rw-r--r--src/text.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/text.h b/src/text.h
index 1d7b929..74b6a96 100644
--- a/src/text.h
+++ b/src/text.h
@@ -69,4 +69,10 @@ KeyNameText(struct xkb_context *ctx, xkb_atom_t name);
const char *
SIMatchText(enum xkb_match_operation type);
+const char *
+IndicatorStateText(struct xkb_context *ctx, enum xkb_state_component mask);
+
+const char *
+ControlMaskText(struct xkb_context *ctx, enum xkb_action_controls mask);
+
#endif /* TEXT_H */