gnutls-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gnutls-dev] living without global variables


From: Nikos Mavrogiannopoulos
Subject: Re: [gnutls-dev] living without global variables
Date: Wed, 21 Dec 2005 22:23:53 +0100
User-agent: KMail/1.8.2

On Wednesday 21 December 2005 19:05, Bryan Henderson wrote:
> It would be nice for GnuTLS not to use program-global variables. 
> That way, it could be used in a modular program -- i.e. two different
> parts of a program that don't know about each other could use GnuTLS
> under the covers without interfering with each other.  I'm especially
> concerned about independently distributed libraries that use Gnu TLS.
> GnuTLS contains two global variables of interest: the handles of the
> two ASN1 trees: _gnutls_pkix1_asn and _gnutls_gnutls_asn.  (I'm not
> concerned about debugging features or alternative memory allocators).

These variables are constant during the lifetime of the application. 
What would such a change offer as an advantage? 

-- 
Nikos Mavrogiannopoulos



reply via email to

[Prev in Thread] Current Thread [Next in Thread]