diff options
author | Volker Lendecke <vl@samba.org> | 2012-02-15 15:08:29 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2012-04-20 13:42:40 +0200 |
commit | 61c97506e8ccb878d06edae72f4216ad58b96a9b (patch) | |
tree | 385628abecd54ca285beac4441a567cadf5db9a9 /source3/lib/dbwrap/dbwrap_tdb.c | |
parent | 8e5b11bc143e8532aeed504e47b881ce53411ce3 (diff) | |
download | samba-61c97506e8ccb878d06edae72f4216ad58b96a9b.tar.gz samba-61c97506e8ccb878d06edae72f4216ad58b96a9b.tar.bz2 samba-61c97506e8ccb878d06edae72f4216ad58b96a9b.zip |
s3-dbwrap: Add dbwrap_set_stored_callback
This is a per-db function that is called whenever some record is modified
Diffstat (limited to 'source3/lib/dbwrap/dbwrap_tdb.c')
-rw-r--r-- | source3/lib/dbwrap/dbwrap_tdb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/lib/dbwrap/dbwrap_tdb.c b/source3/lib/dbwrap/dbwrap_tdb.c index 9450be0e65..fbbe757ca3 100644 --- a/source3/lib/dbwrap/dbwrap_tdb.c +++ b/source3/lib/dbwrap/dbwrap_tdb.c @@ -436,6 +436,7 @@ struct db_context *db_open_tdb(TALLOC_CTX *mem_ctx, result->exists = db_tdb_exists; result->wipe = db_tdb_wipe; result->id = db_tdb_id; + result->stored_callback = NULL; return result; fail: |