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 11498b1955cc4f9c4a6c4805d9a721e42e932dd8..869354be20190a44fc93b87182a79f8dcdb9e1a3 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 f16af04d404d71987d3466b850e41edfec4ee858..c21bfb19f9aa3e1745c727282f7059ce56eb7431 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 */