diff options
author | Michael Adam <obnox@samba.org> | 2011-08-19 10:51:27 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2011-10-11 14:17:56 +0200 |
commit | b257e83d898d1e848d3adbed540a7b209943ff34 (patch) | |
tree | b2ae5d1460de927b19dee90ea0a505a76df85745 /source3/lib/dbwrap/dbwrap.h | |
parent | bfed62c1695391076c1d82b312030adca8d971e5 (diff) | |
download | samba-b257e83d898d1e848d3adbed540a7b209943ff34.tar.gz samba-b257e83d898d1e848d3adbed540a7b209943ff34.tar.bz2 samba-b257e83d898d1e848d3adbed540a7b209943ff34.zip |
s3:dbwrap: add dbwrap_record_store(), a wrapper for record->store
Diffstat (limited to 'source3/lib/dbwrap/dbwrap.h')
-rw-r--r-- | source3/lib/dbwrap/dbwrap.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/lib/dbwrap/dbwrap.h b/source3/lib/dbwrap/dbwrap.h index cf2a41f309..6fa89bcb84 100644 --- a/source3/lib/dbwrap/dbwrap.h +++ b/source3/lib/dbwrap/dbwrap.h @@ -63,6 +63,7 @@ struct db_context { TDB_DATA dbwrap_record_get_key(const struct db_record *rec); TDB_DATA dbwrap_record_get_value(const struct db_record *rec); void *dbwrap_record_get_private_data(const struct db_record *rec); +NTSTATUS dbwrap_record_store(struct db_record *rec, TDB_DATA data, int flags); NTSTATUS dbwrap_delete(struct db_context *db, TDB_DATA key); NTSTATUS dbwrap_store(struct db_context *db, TDB_DATA key, |