talloc_free_children (void *ptr)
Free a talloc chunk's children.
talloc_set_destructor (const void *ptr, int(*destructor)(void *))
Assign a destructor function to be called when a chunk is freed.
talloc_steal (const void *new_ctx, const void *ptr)
Change a talloc chunk's parent.
talloc_set_name (const void *ptr, const char *fmt,...)
Assign a name to a talloc chunk.
talloc_move (const void *new_ctx, void **pptr)
Change a talloc chunk's parent.
talloc_set_name_const (const void *ptr, const char *name)
Assign a name to a talloc chunk.
talloc_named (const void *context, size_t size, const char *fmt,...)
Create a named talloc chunk.
talloc_named_const (const void *context, size_t size, const char
*name)
Basic routine to allocate a chunk of memory.
talloc_size (const void *ctx, size_t size)
talloc_ptrtype (const void *ctx,#type)
Allocate into a typed pointer.
talloc_new (const void *ctx)
Allocate a new 0-sized talloc chunk.
talloc_zero (const void *ctx,#type)
Allocate a 0-initizialized structure.
talloc_zero_size (const void *ctx, size_t size)
Allocate untyped, 0-initialized memory.
talloc_get_name (const void *ptr)
Return the name of a talloc chunk.