diff options
author | Andre Heinecke <[email protected]> | 2017-01-02 12:11:10 +0000 |
---|---|---|
committer | Andre Heinecke <[email protected]> | 2017-01-02 13:05:06 +0000 |
commit | 7103315829847163f1c6f52cad25d1ddb33358f0 (patch) | |
tree | 6b9f908d588d7502f64691d697ad307bd3c505f4 /src/gpgme.h.in | |
parent | Fix gpg_addkey() to work with GPGME_CREATE_NOPASSWD as well. (diff) | |
download | gpgme-7103315829847163f1c6f52cad25d1ddb33358f0.tar.gz gpgme-7103315829847163f1c6f52cad25d1ddb33358f0.zip |
core: Always use runtime for gpgconf changes
* src/engine-gpgconf.c (gpgconf_write): Add --runtime.
* src/gpgme.h.in (gpgme_conf_opt_change): Document this
behavior.
--
If a tool uses GPGME for changing configuration values it
needs a way to ensure that these changes take effect. Otherwise
users may change and see config values and do not understand
why they are not working.
Diffstat (limited to '')
-rw-r--r-- | src/gpgme.h.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gpgme.h.in b/src/gpgme.h.in index 7cfe8f65..4fc119f7 100644 --- a/src/gpgme.h.in +++ b/src/gpgme.h.in @@ -2410,7 +2410,8 @@ void gpgme_conf_arg_release (gpgme_conf_arg_t arg, gpgme_conf_type_t type); /* Register a change for the value of OPT to ARG. If RESET is 1 (do not use any values but 0 or 1), ARG is ignored and the option is not changed (reverting a previous change). Otherwise, if ARG is - NULL, the option is cleared or reset to its default. */ + NULL, the option is cleared or reset to its default. The change + is done with gpgconf's --runtime option to immediately take effect. */ gpgme_error_t gpgme_conf_opt_change (gpgme_conf_opt_t opt, int reset, gpgme_conf_arg_t arg); |