2003-05-04 Marcus Brinkmann <marcus@g10code.de>
authorMarcus Brinkmann <mb@g10code.com>
Sun, 4 May 2003 14:55:00 +0000 (14:55 +0000)
committerMarcus Brinkmann <mb@g10code.com>
Sun, 4 May 2003 14:55:00 +0000 (14:55 +0000)
* gpgme.h (GpgmeError): Add deprecated values for
GPGME_Invalid_Type and GPGME_Invalid_Mode.

NEWS
TODO
gpgme/ChangeLog
gpgme/gpgme.h

diff --git a/NEWS b/NEWS
index f401fc898125dcede49988d74796e089f3a327a0..6f55b50382ddca959ba295996ba81fded69bb6f4 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -124,6 +124,9 @@ Noteworthy changes in version 0.4.1 (unreleased)
    interface, the generic gpgme_get_op_info interface is not useful
    anymore and dropped.
 
+ * The error values GPGME_Invalid_Type and GPGME_Invalid_Mode can not
+   occur anymore and are thus deprecated.
+
  * Interface changes relative to the 0.4.0 release:
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 GpgmeIOCb                      CHANGED: Return type from void to GpgmeError.
@@ -193,6 +196,8 @@ gpgme_key_get_as_xml                REMOVED
 GpgmeKeyListResult             NEW
 gpgme_op_keylist_result                NEW
 gpgme_get_op_info              REMOVED
+GPGME_Invalid_Type             DEPRECATED
+GPGME_Invalid_Mode             DEPRECATED
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 Noteworthy changes in version 0.4.0 (2002-12-23)
diff --git a/TODO b/TODO
index c2f634c4ea3ca33aa9f62a36360b78f3abf913cc..94e1f2a7c2d0128973596f859635f38979b6fb31 100644 (file)
--- a/TODO
+++ b/TODO
@@ -25,6 +25,7 @@ Hey Emacs, this is -*- outline -*- mode!
 *** gpgme_trust_item_get_string_attr
 *** gpgme_trust_item_get_ulong_attr
 *** GpgmeAttr
+*** GPGME_Invalid_Type, GPGME_Invalid_Mode
 
 * Thread support:
 ** Build thread modules for static linking (which just suck in the
index 6479ebf29f5c6ce8f6968ab8c087be11d2316b1c..ee640b5ee33d12bdcbc72f37e59a0081f925ec29 100644 (file)
@@ -1,3 +1,8 @@
+2003-05-04  Marcus Brinkmann  <marcus@g10code.de>
+
+       * gpgme.h (GpgmeError): Add deprecated values for
+       GPGME_Invalid_Type and GPGME_Invalid_Mode.
+
 2003-04-30  Marcus Brinkmann  <marcus@g10code.de>
 
        * gpgme.h (gpgme_get_op_info): Remove prototype.
index 0fdd45bd95c839c32d949ca90cb5697cb8a6c80e..8d1e0fe6f5286511014d5e830d29e53007f9c5d2 100644 (file)
@@ -116,7 +116,9 @@ typedef enum
 
     /* Deprecated.  */
     GPGME_Busy                    = -2,
-    GPGME_No_Request              = -3
+    GPGME_No_Request              = -3,
+    GPGME_Invalid_Type            = -4,
+    GPGME_Invalid_Mode            = -5
   }
 GpgmeError;