aboutsummaryrefslogtreecommitdiffstats
path: root/src/wait-private.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2025-02-21 09:56:00 +0000
committerWerner Koch <[email protected]>2025-02-21 10:01:28 +0000
commit7e6a65e66a96278bed5fed6d0b75887c0f032c4e (patch)
tree25605585dad3d04e4a24d4cef3c4c43bbfb41416 /src/wait-private.c
parentRemove long deprecated functions. (diff)
downloadgpgme-7e6a65e66a96278bed5fed6d0b75887c0f032c4e.tar.gz
gpgme-7e6a65e66a96278bed5fed6d0b75887c0f032c4e.zip
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
Diffstat (limited to '')
-rw-r--r--src/wait-private.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/wait-private.c b/src/wait-private.c
index 417cb2b3..703ee557 100644
--- a/src/wait-private.c
+++ b/src/wait-private.c
@@ -61,10 +61,6 @@ _gpgme_wait_private_event_cb (void *data, gpgme_event_io_t type,
case GPGME_EVENT_NEXT_KEY:
_gpgme_op_keylist_event_cb (data, type, type_data);
break;
-
- case GPGME_EVENT_NEXT_TRUSTITEM:
- _gpgme_op_trustlist_event_cb (data, type, type_data);
- break;
}
}