diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2015-04-26 21:25:35 -0400 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2015-05-01 10:21:40 -0400 |
commit | 97379ec38c7de6144089372c16a875e209eb4c2c (patch) | |
tree | a4c4955b9301d37d48896aa41e6f8d4bb90ab034 /src/libotutil/ot-gpg-utils.h | |
parent | ceacc5720647a4d1661889431786c267153d536c (diff) | |
download | ostree-97379ec38c7de6144089372c16a875e209eb4c2c.tar.gz |
libotutil: Add ot_gpgme_ctx_tmp_home_dir()
Currently used for signature verification, will also be used for
importing GPG keys.
Diffstat (limited to 'src/libotutil/ot-gpg-utils.h')
-rw-r--r-- | src/libotutil/ot-gpg-utils.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libotutil/ot-gpg-utils.h b/src/libotutil/ot-gpg-utils.h index 1ec9e9ea..0a67070e 100644 --- a/src/libotutil/ot-gpg-utils.h +++ b/src/libotutil/ot-gpg-utils.h @@ -27,4 +27,11 @@ G_BEGIN_DECLS void ot_gpgme_error_to_gio_error (gpgme_error_t gpg_error, GError **error); +gboolean ot_gpgme_ctx_tmp_home_dir (gpgme_ctx_t gpgme_ctx, + const char *tmp_dir, + char **out_tmp_home_dir, + GOutputStream **out_pubring_stream, + GCancellable *cancellable, + GError **error); + G_END_DECLS |