summaryrefslogtreecommitdiff
path: root/src/compose/paths.h
diff options
context:
space:
mode:
authorRonan Pigott <ronan@rjp.ie>2022-12-16 01:26:25 -0700
committerGitHub <noreply@github.com>2022-12-16 10:26:25 +0200
commitb4e81ca17240281fc802a662f5ce4e78a767c2b9 (patch)
treee8b622bdcce814fa82ba885512074ca2a5cc12f0 /src/compose/paths.h
parent9d1043dcb5c698c5d9615b1b8d76a190f73d57bb (diff)
downloadxorg-lib-libxkbcommon-b4e81ca17240281fc802a662f5ce4e78a767c2b9.tar.gz
context: add XKB_CONTEXT_NO_SECURE_GETENV flag (#312)
This flag is useful for clients that may have relatively benign capabilities set, like CAP_SYS_NICE, that also want to use the xkb configuration from the environment and user configs in XDG_CONFIG_HOME. Fixes: https://github.com/xkbcommon/libxkbcommon/issues/308 Fixes: https://github.com/xkbcommon/libxkbcommon/issues/129 Signed-off-by: Ran Benita <ran@unusedvar.com>
Diffstat (limited to 'src/compose/paths.h')
-rw-r--r--src/compose/paths.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/compose/paths.h b/src/compose/paths.h
index bc5150f..8170aef 100644
--- a/src/compose/paths.h
+++ b/src/compose/paths.h
@@ -25,21 +25,21 @@
#define COMPOSE_RESOLVE_H
char *
-resolve_locale(const char *locale);
+resolve_locale(struct xkb_context *ctx, const char *locale);
const char *
-get_xlocaledir_path(void);
+get_xlocaledir_path(struct xkb_context *ctx);
char *
-get_xcomposefile_path(void);
+get_xcomposefile_path(struct xkb_context *ctx);
char *
-get_xdg_xcompose_file_path(void);
+get_xdg_xcompose_file_path(struct xkb_context *ctx);
char *
-get_home_xcompose_file_path(void);
+get_home_xcompose_file_path(struct xkb_context *ctx);
char *
-get_locale_compose_file_path(const char *locale);
+get_locale_compose_file_path(struct xkb_context *ctx, const char *locale);
#endif