ntdb: allocator attribute.
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 19 Jun 2012 03:12:08 +0000 (12:42 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 19 Jun 2012 03:38:07 +0000 (05:38 +0200)
commitd938c0b591d9c4aff9c92ae5eedd26ed97455f42
treee3744f9c660fbf23d759493e0391d577e528ffcd
parent6d5a3e1602a1db8ca8e778f5e4f40bb623dff1e7
ntdb: allocator attribute.

This is designed to allow us to make ntdb_context (and NTDB_DATA returned
from ntdb_fetch) a talloc pointer.  But it can also be used for any other
alternate allocator.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
15 files changed:
lib/ntdb/check.c
lib/ntdb/io.c
lib/ntdb/lock.c
lib/ntdb/ntdb.c
lib/ntdb/ntdb.h
lib/ntdb/open.c
lib/ntdb/private.h
lib/ntdb/summary.c
lib/ntdb/test/api-20-alloc-attr.c [new file with mode: 0644]
lib/ntdb/test/failtest_helper.c
lib/ntdb/test/failtest_helper.h
lib/ntdb/test/run-57-die-during-transaction.c
lib/ntdb/transaction.c
lib/ntdb/traverse.c
lib/ntdb/wscript