[Rpm-maint] [rpm-software-management/rpm] Add a rpmKeyring iterator (PR #3365)

Panu Matilainen notifications at github.com
Fri Oct 11 07:02:53 UTC 2024


@pmatilai commented on this pull request.



> @@ -61,6 +68,53 @@ rpmKeyring rpmKeyringFree(rpmKeyring keyring)
     return NULL;
 }
 
+rpmKeyringIterator rpmKeyringInitIterator(rpmKeyring keyring, int unused)
+{
+    if (!keyring || unused != 0)
+	return NULL;
+
+    return new rpmKeyringIterator_s {
+	rpmKeyringLink(keyring),
+	new rdlock(keyring->mutex),

Oh, that's ... an interesting wrinkle. Ack.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3365#discussion_r1796511956
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/3365/review/2362090979 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20241011/cecc172b/attachment.html>


More information about the Rpm-maint mailing list