diff options
author | Werner Koch <[email protected]> | 2009-07-07 10:02:41 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2009-07-07 10:02:41 +0000 |
commit | f6f5430e5014f90b685420447dffe89b220e2663 (patch) | |
tree | 0a8c28fc24f291bbc3a148f7240d1c49421f9077 /common/asshelp.h | |
parent | * debugging.texi (Common Problems): Add a note about corrupted (diff) | |
download | gnupg-f6f5430e5014f90b685420447dffe89b220e2663.tar.gz gnupg-f6f5430e5014f90b685420447dffe89b220e2663.zip |
Reworked passing of envars to Pinentry.
Diffstat (limited to '')
-rw-r--r-- | common/asshelp.h | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/common/asshelp.h b/common/asshelp.h index dfed3ac50..f7bc88bad 100644 --- a/common/asshelp.h +++ b/common/asshelp.h @@ -23,31 +23,25 @@ #include <assuan.h> #include <gpg-error.h> +#include "session-env.h" + gpg_error_t send_pinentry_environment (assuan_context_t ctx, gpg_err_source_t errsource, - const char *opt_display, - const char *opt_ttyname, - const char *opt_ttytype, const char *opt_lc_ctype, const char *opt_lc_messages, - const char *opt_xauthority, - const char *opt_pinentry_user_data); + session_env_t session_env); /* This fucntion is used by the call-agent.c modules to fire up a new - agent. What a parameter list ;-). */ + agent. */ gpg_error_t start_new_gpg_agent (assuan_context_t *r_ctx, gpg_err_source_t errsource, const char *homedir, const char *agent_program, - const char *opt_display, - const char *opt_ttyname, - const char *opt_ttytype, const char *opt_lc_ctype, const char *opt_lc_messages, - const char *opt_xauthority, - const char *opt_pinentry_user_data, + session_env_t session_env, int verbose, int debug, gpg_error_t (*status_cb)(ctrl_t, int, ...), ctrl_t status_cb_arg); |