aboutsummaryrefslogtreecommitdiffstats
path: root/src/util.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2016-09-14 18:21:19 +0000
committerWerner Koch <[email protected]>2016-09-14 18:21:19 +0000
commit7c37719d79345a665ec2f4570e3f257033b58c62 (patch)
tree10cccebe681f29cbf6b83e27f2a7f805b6b6abe8 /src/util.h
parentcore: Defer implementation of gpgme_op_createkey with gpg < 2.1 (diff)
downloadgpgme-7c37719d79345a665ec2f4570e3f257033b58c62.tar.gz
gpgme-7c37719d79345a665ec2f4570e3f257033b58c62.zip
core: New function gpgme_op_tofu_policy
* src/gpgme.h.in (gpgme_op_tofu_policy_start): New function. (gpgme_op_tofu_policy): New function. * src/libgpgme.vers, src/gpgme.def: Add new functions. * src/tofupolicy.c: New. * src/Makefile.am (main_sources): Add that file. * src/context.h (ctx_op_data_id_t): Add OPDATA_TOFU_POLICY. * src/engine.c (_gpgme_engine_op_tofu_policy): New. * src/engine-backend.h (engine_ops): Add funcptr 'tofu_policy'. Adjust all engine initializations. * src/engine-gpg.c (gpg_tofu_policy): New. (_gpgme_engine_ops_gpg): Register this function. * tests/run-tofu.c: New. * tests/Makefile.am (noinst_PROGRAMS): Add it. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'src/util.h')
0 files changed, 0 insertions, 0 deletions