aboutsummaryrefslogtreecommitdiffstats
path: root/gpgme/rungpg.h
diff options
context:
space:
mode:
Diffstat (limited to 'gpgme/rungpg.h')
-rw-r--r--gpgme/rungpg.h72
1 files changed, 32 insertions, 40 deletions
diff --git a/gpgme/rungpg.h b/gpgme/rungpg.h
index 0ed0d2d0..ce173168 100644
--- a/gpgme/rungpg.h
+++ b/gpgme/rungpg.h
@@ -1,53 +1,45 @@
-/* rungpg.h - gpg calling functions
- * Copyright (C) 2000 Werner Koch (dd9jn)
- * Copyright (C) 2001 g10 Code GmbH
- *
- * This file is part of GPGME.
- *
- * GPGME is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * GPGME is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
- */
+/* rungpg.h - GPGME GnuPG engine calling functions.
+ Copyright (C) 2000 Werner Koch (dd9jn)
+ Copyright (C) 2001, 2002 g10 Code GmbH
+
+ This file is part of GPGME.
+
+ GPGME is free software; you can redistribute it and/or modify it
+ under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ GPGME is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with GPGME; if not, write to the Free Software Foundation,
+ Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#ifndef RUNGPG_H
#define RUNGPG_H
#include "types.h"
-typedef void (*GpgStatusHandler)( GpgmeCtx, GpgmeStatusCode code, char *args );
-typedef void (*GpgColonLineHandler)( GpgmeCtx, char *line );
-typedef const char *(*GpgCommandHandler)(void*, GpgmeStatusCode code,
- const char *keyword);
+typedef void (*GpgStatusHandler) (GpgmeCtx, GpgmeStatusCode code, char *args);
+typedef void (*GpgColonLineHandler)( GpgmeCtx, char *line);
+typedef const char *(*GpgCommandHandler) (void*, GpgmeStatusCode code,
+ const char *keyword);
const char *_gpgme_gpg_get_version (void);
GpgmeError _gpgme_gpg_check_version (void);
-GpgmeError _gpgme_gpg_new ( GpgObject *r_gpg );
-void _gpgme_gpg_release ( GpgObject gpg );
-void _gpgme_gpg_housecleaning (void);
-void _gpgme_gpg_enable_pipemode ( GpgObject gpg );
-GpgmeError _gpgme_gpg_add_arg ( GpgObject gpg, const char *arg );
-GpgmeError _gpgme_gpg_add_data (GpgObject gpg, GpgmeData data, int dup_to, int inbound);
-GpgmeError _gpgme_gpg_add_pm_data ( GpgObject gpg, GpgmeData data, int what );
-void _gpgme_gpg_set_status_handler (GpgObject gpg,
- GpgStatusHandler fnc,
- void *fnc_value);
-GpgmeError _gpgme_gpg_set_colon_line_handler ( GpgObject gpg,
- GpgColonLineHandler fnc,
- void *fnc_value );
-GpgmeError _gpgme_gpg_set_simple_line_handler ( GpgObject gpg,
- GpgColonLineHandler fnc,
- void *fnc_value );
+GpgmeError _gpgme_gpg_new (GpgObject *r_gpg);
+void _gpgme_gpg_release (GpgObject gpg);
+void _gpgme_gpg_enable_pipemode (GpgObject gpg);
+GpgmeError _gpgme_gpg_set_verbosity (GpgObject gpg, int verbosity);
+void _gpgme_gpg_set_status_handler (GpgObject gpg, GpgStatusHandler fnc,
+ void *fnc_value);
+GpgmeError _gpgme_gpg_set_colon_line_handler (GpgObject gpg,
+ GpgColonLineHandler fnc,
+ void *fnc_value);
GpgmeError _gpgme_gpg_set_command_handler (GpgObject gpg,
GpgCommandHandler fnc,
void *fnc_value,