2003-01-29 Marcus Brinkmann <marcus@g10code.de>
* context.h (wait_on_request_or_fail): Remove macro.
This commit is contained in:
parent
2c543f6a86
commit
f6604334b6
@ -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
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user