diff options
author | Ran Benita <ran234@gmail.com> | 2012-10-18 23:08:10 +0200 |
---|---|---|
committer | Ran Benita <ran234@gmail.com> | 2012-10-18 23:12:24 +0200 |
commit | bb82759c90ec99aba595315c3cf36517bbc5f9c2 (patch) | |
tree | 7f4403e5ae0617d2ca3a5740c2f46c700a3bbada /src/text.h | |
parent | e6946ae2c59a878e838fe777b50dad695b63e6bb (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.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 */ |