summaryrefslogtreecommitdiffstats
path: root/lib/util/talloc_stack.h
Commit message (Collapse)AuthorAgeFilesLines
* talloc_stack: abort in developer me if no stackframe on talloc_tos()Rusty Russell2012-07-181-1/+2
| | | | | | | Don't tolerate leaks in developer mode. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* talloc_stack: always include the location when creating a talloc_stackframe().Rusty Russell2012-07-181-2/+4
| | | | | | | Much better for debugging. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* talloc: added talloc_stackframe_exists()Andrew Tridgell2011-06-171-0/+8
| | | | | | | | | This can be used to tell if a talloc stackframe is currently available. Callers can use this to decide if they will use talloc_tos() or instead use an alternative strategy. This gives us a way to safely have calls to talloc_tos() in common code that may end up in external libraries, as long as all talloc_tos() calls in these pieces of common code check first that a stackframe is available.
* talloc: use <talloc.h> not "talloc.h"Andrew Tridgell2011-03-151-1/+1
| | | | this ensures we use the right header
* Fix builds with external tallocSimo Sorce2009-10-091-1/+1
| | | | | | Make sure we do not reference our internal talloc directly. Let configure define what talloc.h file to use so that builds that use an extrenal talloc do not include 2 different versions of the talloc header.
* Import talloc_stack into util library.Jelmer Vernooij2008-10-231-0/+56