summaryrefslogtreecommitdiff
path: root/source4/lib/talloc/talloc.h
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2005-05-07 15:22:45 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:16:32 -0500
commit157a32956a111b8cffcfa8d1c62a0ca67cdc0b22 (patch)
tree744e82a946cc5d8913d9ea54a1a08800b9babcce /source4/lib/talloc/talloc.h
parente2cec76d85c8bdec63077110fc9f460c4b54b510 (diff)
downloadsamba-157a32956a111b8cffcfa8d1c62a0ca67cdc0b22.tar.gz
samba-157a32956a111b8cffcfa8d1c62a0ca67cdc0b22.tar.bz2
samba-157a32956a111b8cffcfa8d1c62a0ca67cdc0b22.zip
r6645: Add talloc_get_size() function.
Sometimes it is usefull to know this data. Simo. (This used to be commit df401847827ef660d8b9d55af9b27bb85bad6b5f)
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 8b448f63c5..ab549cf624 100644
--- a/source4/lib/talloc/talloc.h
+++ b/source4/lib/talloc/talloc.h
@@ -126,6 +126,7 @@ void *_talloc_zero_array(const void *ctx, size_t el_size, unsigned count, const
void *_talloc_realloc_array(const void *ctx, void *ptr, size_t el_size, unsigned count, const char *name);
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);
#endif