Updated the german translation
[gnupg.git] / common / asshelp.h
blobf7bc88bad706eea1278429ec3de008397cc23c5c
1 /* asshelp.h - Helper functions for Assuan
2 * Copyright (C) 2004, 2007 Free Software Foundation, Inc.
4 * This file is part of GnuPG.
6 * GnuPG is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 3 of the License, or
9 * (at your option) any later version.
11 * GnuPG is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, see <http://www.gnu.org/licenses/>.
20 #ifndef GNUPG_COMMON_ASSHELP_H
21 #define GNUPG_COMMON_ASSHELP_H
23 #include <assuan.h>
24 #include <gpg-error.h>
26 #include "session-env.h"
28 gpg_error_t
29 send_pinentry_environment (assuan_context_t ctx,
30 gpg_err_source_t errsource,
31 const char *opt_lc_ctype,
32 const char *opt_lc_messages,
33 session_env_t session_env);
35 /* This fucntion is used by the call-agent.c modules to fire up a new
36 agent. */
37 gpg_error_t
38 start_new_gpg_agent (assuan_context_t *r_ctx,
39 gpg_err_source_t errsource,
40 const char *homedir,
41 const char *agent_program,
42 const char *opt_lc_ctype,
43 const char *opt_lc_messages,
44 session_env_t session_env,
45 int verbose, int debug,
46 gpg_error_t (*status_cb)(ctrl_t, int, ...),
47 ctrl_t status_cb_arg);
50 #endif /*GNUPG_COMMON_ASSHELP_H*/