summaryrefslogtreecommitdiffstats
path: root/common/asshelp.h
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2007-06-21 20:44:48 +0200
committerWerner Koch <wk@gnupg.org>2007-06-21 20:44:48 +0200
commit0b66f30d66fadbfd1a949edbe765043b06c5931b (patch)
treee2e33a51151de2deac0d4e43cd7bc38429fe2965 /common/asshelp.h
parent[w32] gpg-agent is now started automagically by gpgsm. (diff)
downloadgnupg2-0b66f30d66fadbfd1a949edbe765043b06c5931b.tar.xz
gnupg2-0b66f30d66fadbfd1a949edbe765043b06c5931b.zip
Implemented the --gen-key command as we can't use the gpgsm-gencert.sh under Windows.
Diffstat (limited to 'common/asshelp.h')
-rw-r--r--common/asshelp.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/common/asshelp.h b/common/asshelp.h
index 9f4b5806b..adf81f9b7 100644
--- a/common/asshelp.h
+++ b/common/asshelp.h
@@ -34,5 +34,21 @@ send_pinentry_environment (assuan_context_t ctx,
const char *opt_lc_ctype,
const char *opt_lc_messages);
+/* This fucntion is used by the call-agent.c modules to fire up a new
+ agent. What a parameter list ;-). */
+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,
+ int verbose, int debug,
+ gpg_error_t (*status_cb)(ctrl_t, int, ...),
+ ctrl_t status_cb_arg);
+
#endif /*GNUPG_COMMON_ASSHELP_H*/