diff options
author | Daiki Ueno <dueno@redhat.com> | 2018-04-05 11:14:39 +0200 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2018-04-06 10:59:44 +0200 |
commit | a6d0e490209638605b17b0bdc66ad03d36909dae (patch) | |
tree | ac139785aaedd85f53bbad79d90adf8c7c9cf733 /p11-kit/private.h | |
parent | de963b96929b9da61916a0c43b4ac4c34a39e238 (diff) |
modules: Add option to control module visibility from proxy
This enables to control whether a module will be loaded from the proxy
module. The configuration reuses the "enable-in" and "disable-in"
options, with a special literal "p11-kit-proxy" as the value.
Diffstat (limited to 'p11-kit/private.h')
-rw-r--r-- | p11-kit/private.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/p11-kit/private.h b/p11-kit/private.h index b363b17..4ef63ea 100644 --- a/p11-kit/private.h +++ b/p11-kit/private.h @@ -45,6 +45,11 @@ extern const char *p11_config_package_modules; extern const char *p11_config_system_modules; extern const char *p11_config_user_modules; +/* These are flags used only internally */ +enum { + P11_KIT_MODULE_LOADED_FROM_PROXY = 1 << 16 +}; + CK_RV _p11_load_config_files_unlocked (const char *system_conf, const char *user_conf, int *user_mode); |