summaryrefslogtreecommitdiff
path: root/source4/lib/talloc/talloc.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-06-20 06:15:35 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:18:36 -0500
commita124028b660ba5de566442302a8ee3b925595850 (patch)
tree3ac15868b0a9f0cda631e61d9bbe229cf9922559 /source4/lib/talloc/talloc.h
parentbb8d0c76b4f2ad61421f33aae6b268f3de98870f (diff)
downloadsamba-a124028b660ba5de566442302a8ee3b925595850.tar.gz
samba-a124028b660ba5de566442302a8ee3b925595850.tar.bz2
samba-a124028b660ba5de566442302a8ee3b925595850.zip
r7781: finding the parent of a talloc ptr is trickier than it looks due to the two-way
tree nature of the data structure. I think I've finally got it right also added talloc_show_parents() for debugging (This used to be commit 5760ed20eed509b0b6e09e78c942dd0f70350fa9)
Diffstat (limited to 'source4/lib/talloc/talloc.h')
-rw-r--r--source4/lib/talloc/talloc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/lib/talloc/talloc.h b/source4/lib/talloc/talloc.h
index 5160a3874a..04d5cbb9af 100644
--- a/source4/lib/talloc/talloc.h
+++ b/source4/lib/talloc/talloc.h
@@ -130,6 +130,7 @@ void *talloc_realloc_fn(const void *context, void *ptr, size_t size);
void *talloc_autofree_context(void);
size_t talloc_get_size(const void *ctx);
void *talloc_find_parent_byname(const void *ctx, const char *name);
+void talloc_show_parents(const void *context, FILE *file);
#endif