summaryrefslogtreecommitdiff
path: root/p11-kit/p11-kit.h
diff options
context:
space:
mode:
authorDaiki Ueno <dueno@redhat.com>2018-04-05 11:14:39 +0200
committerDaiki Ueno <ueno@gnu.org>2018-04-06 10:59:44 +0200
commita6d0e490209638605b17b0bdc66ad03d36909dae (patch)
treeac139785aaedd85f53bbad79d90adf8c7c9cf733 /p11-kit/p11-kit.h
parentde963b96929b9da61916a0c43b4ac4c34a39e238 (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/p11-kit.h')
-rw-r--r--p11-kit/p11-kit.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/p11-kit/p11-kit.h b/p11-kit/p11-kit.h
index 2a3a740..abf618b 100644
--- a/p11-kit/p11-kit.h
+++ b/p11-kit/p11-kit.h
@@ -57,6 +57,7 @@ enum {
P11_KIT_MODULE_UNMANAGED = 1 << 0,
P11_KIT_MODULE_CRITICAL = 1 << 1,
P11_KIT_MODULE_TRUSTED = 1 << 2,
+ P11_KIT_MODULE_MASK = (1 << 3) - 1
};
typedef void (* p11_kit_destroyer) (void *data);