Make TALLOC_CTX and talloc_chunk private to talloc.c.
authorMartin Pool <mbp@samba.org>
Wed, 19 Dec 2001 07:36:32 +0000 (07:36 +0000)
committerMartin Pool <mbp@samba.org>
Wed, 19 Dec 2001 07:36:32 +0000 (07:36 +0000)
commit4c6c03c8c7c18762dd9ef1a1bd88350b8960542f
treea3a8461de5710f92384d46c82360f4970827a9a2
parent7da982e9268be7eb93fe7d6ad7da5b33ce44181c
Make TALLOC_CTX and talloc_chunk private to talloc.c.

Add a global singly-linked list of all active talloc pools, so that we
can eventually show how much memory is used for different purposes.
This also gives a check that pools are not being doubly freed.

talloc_init_named now handle a NULL name properly (ie does nothing)

Add accessor talloc_pool_name().
source/include/talloc.h
source/lib/talloc.c
source/lib/talloctort.c