From 7e6a65e66a96278bed5fed6d0b75887c0f032c4e Mon Sep 17 00:00:00 2001
From: Werner Koch <wk@gnupg.org>
Date: Fri, 21 Feb 2025 10:56:00 +0100
Subject: Remove the long deprecated and never working trust list functions.

* src/trust-item.c: Remove file.
* src/trustlist.c: Remove file.
* src/Makefile.am (main_sources): Remove those files.
* src/gpgme.h.in (GPGME_EVENT_NEXT_TRUSTITEM): Remove.
(gpgme_trust_item_t, GpgmeTrustItem): Remove.
(gpgme_op_trustlist_start): Remove.
(gpgme_op_trustlist_next): Remove.
(gpgme_op_trustlist_end): Remove.
(gpgme_trust_item_ref): Remove.
(gpgme_trust_item_unref, gpgme_trust_item_release): Remove.
* src/gpgme.def: Remove removed functions.
* src/libgpgme.vers: Ditto.
--

The GPGME_ATTR_foo based functions are deprecated since 2003 and it is
time to remove them now.

The trustlist functions never worked:

  This never worked in reality because the required feature has been
  removed from GnuPG version 1.3.2 soon after introduction of this
  feature in gpgme in 2003. It was anyway marked as experimental.

They even returned GPG_ERR_NOT_IMPLEMENTED since gpgme 1.14.0 (summer
2000) instead of failing with a incomprehensible error code.

GnuPG-bug-id: 4834
---
 src/gpgme.def | 4 ----
 1 file changed, 4 deletions(-)

(limited to 'src/gpgme.def')

diff --git a/src/gpgme.def b/src/gpgme.def
index 7303fb86..a952daf1 100644
--- a/src/gpgme.def
+++ b/src/gpgme.def
@@ -77,9 +77,6 @@ EXPORTS
     gpgme_key_unref                       @51
     gpgme_key_release                     @52
 
-    gpgme_trust_item_ref                  @53
-    gpgme_trust_item_unref                @54
-
     gpgme_cancel                          @55
     gpgme_op_card_edit                    @56
     gpgme_op_card_edit_start              @57
@@ -129,7 +126,6 @@ EXPORTS
     gpgme_get_sig_status                  @100
     gpgme_get_sig_key                     @103
     gpgme_op_import_ext                   @108
-    gpgme_trust_item_release              @111
 
     gpgme_set_engine_info                 @112
 
-- 
cgit v1.2.3

