summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-03-21 20:02:42 +0100
committerVolker Lendecke <vl@samba.org>2009-03-21 20:04:17 +0100
commit2ce70d4f5a30973b4cc083dbbb38b519007a31bd (patch)
tree8520e44dc96b52529b5a5121ec2996afe2098084 /lib
parent02662d56c64f367bffa2febba9a396c15454cfdb (diff)
downloadsamba-2ce70d4f5a30973b4cc083dbbb38b519007a31bd.tar.gz
samba-2ce70d4f5a30973b4cc083dbbb38b519007a31bd.tar.bz2
samba-2ce70d4f5a30973b4cc083dbbb38b519007a31bd.zip
Document _talloc
Diffstat (limited to 'lib')
-rw-r--r--lib/talloc/talloc.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/lib/talloc/talloc.h b/lib/talloc/talloc.h
index f3aa6def63..01e7326ccc 100644
--- a/lib/talloc/talloc.h
+++ b/lib/talloc/talloc.h
@@ -635,7 +635,16 @@ typedef void TALLOC_CTX;
#define TALLOC_FREE(ctx) do { talloc_free(ctx); ctx=NULL; } while(0)
-/* The following definitions come from talloc.c */
+/**
+ * \brief Allocate untyped, unnamed memory
+ * \param context The talloc context to hang the result off
+ * \param size Number of char's that you want to allocate
+ * \return The allocated memory chunk
+ * \ingroup talloc_internal
+ *
+ * Essentially the same as talloc_size() without setting the chunk name to the
+ * current file/line number.
+ */
void *_talloc(const void *context, size_t size);
/**