[Top][All Lists]
[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
- [gnutls-dev] living without global variables, Bryan Henderson, 2005/12/21
- Re: [gnutls-dev] living without global variables,
Nikos Mavrogiannopoulos <=
- Re: [gnutls-dev] living without global variables, Bryan Henderson, 2005/12/22
- Message not available
- [gnutls-dev] Re: living without global variables, Bryan Henderson, 2005/12/24
- Message not available
- [gnutls-dev] Re: living without global variables, Simon Josefsson, 2005/12/25
- [gnutls-dev] Re: living without global variables, Bryan Henderson, 2005/12/25
- [gnutls-dev] Re: living without global variables, Nikos Mavrogiannopoulos, 2005/12/26
- [gnutls-dev] Re: living without global variables, Simon Josefsson, 2005/12/26
- Re: [gnutls-dev] Re: living without global variables, Bryan Henderson, 2005/12/26