2003-01-29 Marcus Brinkmann <marcus@g10code.de>

* context.h (wait_on_request_or_fail): Remove macro.
This commit is contained in:
Marcus Brinkmann 2003-01-29 15:32:15 +00:00
parent 2c543f6a86
commit f6604334b6
2 changed files with 2 additions and 7 deletions

View File

@ -1,5 +1,7 @@
2003-01-29 Marcus Brinkmann <marcus@g10code.de>
* 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

View File

@ -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 */