diff options
author | Ran Benita <ran234@gmail.com> | 2014-01-13 17:20:54 +0200 |
---|---|---|
committer | Ran Benita <ran234@gmail.com> | 2014-01-13 17:22:15 +0200 |
commit | a9c56f643db9012bf2c91fcbc3bed5baf16ea848 (patch) | |
tree | c08c99329c764570dce1696d1a58fb20242f7537 /src/context.h | |
parent | 7210497c634c8a6a380bba6db934e3ac0d1d98d8 (diff) | |
download | libxkbcommon-a9c56f643db9012bf2c91fcbc3bed5baf16ea848.tar.gz libxkbcommon-a9c56f643db9012bf2c91fcbc3bed5baf16ea848.tar.bz2 libxkbcommon-a9c56f643db9012bf2c91fcbc3bed5baf16ea848.zip |
context: split private functions to context-priv.c
(Same as keymap-priv.c).
Signed-off-by: Ran Benita <ran234@gmail.com>
Diffstat (limited to 'src/context.h')
-rw-r--r-- | src/context.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/context.h b/src/context.h index 580acba..486f408 100644 --- a/src/context.h +++ b/src/context.h @@ -28,6 +28,30 @@ #include "atom.h" +struct xkb_context { + int refcnt; + + ATTR_PRINTF(3, 0) void (*log_fn)(struct xkb_context *ctx, + enum xkb_log_level level, + const char *fmt, va_list args); + enum xkb_log_level log_level; + int log_verbosity; + void *user_data; + + struct xkb_rule_names names_dflt; + + darray(char *) includes; + darray(char *) failed_includes; + + struct atom_table *atom_table; + + /* Buffer for the *Text() functions. */ + char text_buffer[2048]; + size_t text_next; + + unsigned int use_environment_names : 1; +}; + unsigned int xkb_context_num_failed_include_paths(struct xkb_context *ctx); |