2003-01-29 Marcus Brinkmann <marcus@g10code.de>
authorMarcus Brinkmann <mb@g10code.com>
Wed, 29 Jan 2003 15:32:15 +0000 (15:32 +0000)
committerMarcus Brinkmann <mb@g10code.com>
Wed, 29 Jan 2003 15:32:15 +0000 (15:32 +0000)
* context.h (wait_on_request_or_fail): Remove macro.

gpgme/ChangeLog
gpgme/context.h

index 11498b1..869354b 100644 (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
index f16af04..c21bfb1 100644 (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 */