split some security related functions in their own files.
[amitay/samba.git] / source3 / lib / talloc.c
index b6c8b2efdf09a80fe9f53c696762382b54b1c33a..485dc28f31d3897656cc5a1da1cf9151db8e94bd 100644 (file)
 
 #include "includes.h"
 
-struct talloc_chunk {
-       struct talloc_chunk *next;
-       size_t size;
-       void *ptr;
-};
-
-
-struct talloc_ctx {
-       struct talloc_chunk *list;
-       size_t total_alloc_size;
-
-       /** The name recorded for this pool, if any.  Should describe
-        * the purpose for which it was allocated.  The string is
-        * allocated within the pool. **/
-       char *name;
-
-       /** Pointer to the next allocate talloc pool, so that we can
-        * summarize all talloc memory usage. **/
-       struct talloc_ctx *next_ctx;
-};
-
 
 /**
  * Start of linked list of all talloc pools.