[Rpm-maint] [rpm-software-management/rpm] Add a rpmKeyring iterator (PR #3365)
Florian Festi
notifications at github.com
Fri Oct 11 06:57:23 UTC 2024
@ffesti 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),
Done. It still needs to be unlocked manually due to the locking madness until #3370 is merged.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3365#discussion_r1796506640
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/3365/review/2362082660 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20241010/778f1750/attachment.html>
More information about the Rpm-maint
mailing list