[PATCH] gpgme trust item ref counting.
Marcus Brinkmann
Marcus.Brinkmann at ruhr-uni-bochum.de
Sun Feb 2 22:19:01 CET 2003
On Sun, Feb 02, 2003 at 06:25:20PM +0100, Marc Mutz wrote:
Content-Description: signed data
Content-Description: body text
> Hi!
>
> Here's a little patch that copies GpgmeKey's ref counting to
> GpgmeTrustItem. GpgmeTrustItem and GpgmeKey are quite symmetric (e.g.
> how to obtain one) and trust item ref counting is somehow missing.
>
> I think that the patch isn't very creative, what with it being
> cut'n'paste only, and thus you can use it w/o me signing any papers (if
> I'd need to, could I go to Bernhard to do that?).
>
Trust items are not cached, so they are fully owned by the user. So no
reference counting is necessary. If you use trust items in your code in a
way that makes reference counting necessary, you have to wrap it into an
object yourself.
Thanks,
Marcus
--
`Rhubarb is no Egyptian god.' GNU http://www.gnu.org marcus at gnu.org
Marcus Brinkmann The Hurd http://www.gnu.org/software/hurd/
Marcus.Brinkmann at ruhr-uni-bochum.de
http://www.marcus-brinkmann.de/
More information about the Gnupg-devel
mailing list