~ubuntu-branches/ubuntu/raring/gnupg2/raring-proposed

« back to all changes in this revision

Viewing changes to common/asshelp.h

  • Committer: Bazaar Package Importer
  • Author(s): Eric Dorland
  • Date: 2009-09-07 20:38:23 UTC
  • mfrom: (1.1.13 upstream)
  • Revision ID: james.westby@ubuntu.com-20090907203823-d7hsk7lnfqoc4yom
Tags: 2.0.13-1
* New upstream release.
* debian/control: Depend instead of Recommend gnupg-agent. (Closes:
  #538947)

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
#include <assuan.h>
24
24
#include <gpg-error.h>
25
25
 
 
26
#include "session-env.h"
 
27
 
26
28
gpg_error_t
27
29
send_pinentry_environment (assuan_context_t ctx,
28
30
                           gpg_err_source_t errsource,
29
 
                           const char *opt_display,
30
 
                           const char *opt_ttyname,
31
 
                           const char *opt_ttytype,
32
31
                           const char *opt_lc_ctype,
33
32
                           const char *opt_lc_messages,
34
 
                           const char *opt_xauthority,
35
 
                           const char *opt_pinentry_user_data);
 
33
                           session_env_t session_env);
36
34
 
37
35
/* This fucntion is used by the call-agent.c modules to fire up a new
38
 
   agent.  What a parameter list ;-).  */
 
36
   agent.  */
39
37
gpg_error_t
40
38
start_new_gpg_agent (assuan_context_t *r_ctx,
41
39
                     gpg_err_source_t errsource,
42
40
                     const char *homedir,
43
41
                     const char *agent_program,
44
 
                     const char *opt_display,
45
 
                     const char *opt_ttyname,
46
 
                     const char *opt_ttytype,
47
42
                     const char *opt_lc_ctype,
48
43
                     const char *opt_lc_messages,
49
 
                     const char *opt_xauthority,
50
 
                     const char *opt_pinentry_user_data,
 
44
                     session_env_t session_env,
51
45
                     int verbose, int debug,
52
46
                     gpg_error_t (*status_cb)(ctrl_t, int, ...),
53
47
                     ctrl_t status_cb_arg);