summaryrefslogtreecommitdiffstats
path: root/common/asshelp.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/asshelp.h')
-rw-r--r--common/asshelp.h16
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);