#define NS_THREAD_MAXTLS 20 /* Default value is 200. We need less... */ typedef int Ns_Tls; typedef void Ns_TlsCleanup (void *); void Ns_TlsAlloc (Ns_Tls *, Ns_TlsCleanup *); void *Ns_TlsGet (Ns_Tls*); void Ns_TlsSet (Ns_Tls*, void *); void ns_init_tls (); /* Initialize the tls system */