From: Marcus Brinkmann Date: Wed, 29 Jan 2003 15:32:15 +0000 (+0000) Subject: 2003-01-29 Marcus Brinkmann X-Git-Tag: gpgme-1.2.0@1385~715 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=80f51dfe73eab12c7e953e5f0c012a2082d7f56f;p=gpgme.git 2003-01-29 Marcus Brinkmann * context.h (wait_on_request_or_fail): Remove macro. --- diff --git a/trunk/gpgme/ChangeLog b/trunk/gpgme/ChangeLog index 11498b1..869354b 100644 --- a/trunk/gpgme/ChangeLog +++ b/trunk/gpgme/ChangeLog @@ -1,5 +1,7 @@ 2003-01-29 Marcus Brinkmann + * context.h (wait_on_request_or_fail): Remove macro. + * context.h (gpgme_context_s): Remove member ERROR. * types.h (GpgmeStatusHandler): Change return type to GpgmeError. (GpgmeCommandHandler): Change return type to GpgmeError and add diff --git a/trunk/gpgme/context.h b/trunk/gpgme/context.h index f16af04..c21bfb1 100644 --- a/trunk/gpgme/context.h +++ b/trunk/gpgme/context.h @@ -142,11 +142,4 @@ struct gpgme_recipients_s if ((c)->pending) return GPGME_Busy; \ } while (0) -#define wait_on_request_or_fail(c) \ - do { \ - if (!(c)) return GPGME_Invalid_Value;\ - if (!(c)->pending) return GPGME_No_Request; \ - gpgme_wait ((c), 1); \ - } while (0) - #endif /* CONTEXT_H */