[svn] gpgme - r1191 - trunk/gpgme
svn author marcus
cvs at cvs.gnupg.org
Thu Nov 30 21:45:34 CET 2006
Author: marcus
Date: 2006-11-30 21:45:33 +0100 (Thu, 30 Nov 2006)
New Revision: 1191
Modified:
trunk/gpgme/ChangeLog
trunk/gpgme/engine-gpgsm.c
Log:
2006-11-30 Marcus Brinkmann <marcus at g10code.de>
* engine-gpgsm.c: Replace AssuanError with gpg_error_t and
ASSUAN_CONTEXT with assuan_context_t.
Modified: trunk/gpgme/ChangeLog
===================================================================
--- trunk/gpgme/ChangeLog 2006-11-29 19:21:18 UTC (rev 1190)
+++ trunk/gpgme/ChangeLog 2006-11-30 20:45:33 UTC (rev 1191)
@@ -1,3 +1,8 @@
+2006-11-30 Marcus Brinkmann <marcus at g10code.de>
+
+ * engine-gpgsm.c: Replace AssuanError with gpg_error_t and
+ ASSUAN_CONTEXT with assuan_context_t.
+
2006-11-29 Marcus Brinkmann <marcus at g10code.de>
* engine-gpgsm.c (gpgsm_new): Check return value of
Modified: trunk/gpgme/engine-gpgsm.c
===================================================================
--- trunk/gpgme/engine-gpgsm.c 2006-11-29 19:21:18 UTC (rev 1190)
+++ trunk/gpgme/engine-gpgsm.c 2006-11-30 20:45:33 UTC (rev 1191)
@@ -59,7 +59,7 @@
struct engine_gpgsm
{
- ASSUAN_CONTEXT assuan_ctx;
+ assuan_context_t assuan_ctx;
iocb_data_t status_cb;
@@ -147,7 +147,7 @@
static gpgme_error_t
-map_assuan_error (AssuanError err)
+map_assuan_error (gpg_error_t err)
{
if (!err)
return 0;
@@ -573,11 +573,11 @@
static gpgme_status_code_t parse_status (const char *name);
static gpgme_error_t
-gpgsm_assuan_simple_command (ASSUAN_CONTEXT ctx, char *cmd,
+gpgsm_assuan_simple_command (assuan_context_t ctx, char *cmd,
engine_status_handler_t status_fnc,
void *status_fnc_value)
{
- AssuanError err;
+ gpg_error_t err;
char *line;
size_t linelen;
@@ -632,7 +632,7 @@
#define COMMANDLINELEN 40
static gpgme_error_t
-gpgsm_set_fd (ASSUAN_CONTEXT ctx, const char *which, int fd, const char *opt)
+gpgsm_set_fd (assuan_context_t ctx, const char *which, int fd, const char *opt)
{
char line[COMMANDLINELEN];
@@ -689,7 +689,7 @@
static gpgme_error_t
status_handler (void *opaque, int fd)
{
- AssuanError assuan_err;
+ gpg_error_t assuan_err;
gpgme_error_t err = 0;
engine_gpgsm_t gpgsm = opaque;
char *line;
@@ -980,7 +980,7 @@
set_recipients (engine_gpgsm_t gpgsm, gpgme_key_t recp[])
{
gpgme_error_t err = 0;
- ASSUAN_CONTEXT ctx = gpgsm->assuan_ctx;
+ assuan_context_t ctx = gpgsm->assuan_ctx;
char *line;
int linelen;
int invalid_recipients = 0;
More information about the Gnupg-commits
mailing list