diff options
author | Michael Adam <obnox@samba.org> | 2013-01-02 01:02:56 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2013-01-15 14:49:20 +0100 |
commit | 11850e4605bc50e0b4aa07f8c46154fc01504646 (patch) | |
tree | 13511f700eb82567540ba56425c908f1b59036bf /lib/dbwrap/dbwrap.c | |
parent | d67911bafc0d098e67c8ad8d9b4bc49f184ff832 (diff) | |
download | samba-11850e4605bc50e0b4aa07f8c46154fc01504646.tar.gz samba-11850e4605bc50e0b4aa07f8c46154fc01504646.tar.bz2 samba-11850e4605bc50e0b4aa07f8c46154fc01504646.zip |
dbwrap: add dbwrap_is_persistent()
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Diffstat (limited to 'lib/dbwrap/dbwrap.c')
-rw-r--r-- | lib/dbwrap/dbwrap.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/dbwrap/dbwrap.c b/lib/dbwrap/dbwrap.c index 0e0422c41b..15eb239c35 100644 --- a/lib/dbwrap/dbwrap.c +++ b/lib/dbwrap/dbwrap.c @@ -480,6 +480,11 @@ void dbwrap_db_id(struct db_context *db, const uint8_t **id, size_t *idlen) db->id(db, id, idlen); } +bool dbwrap_is_persistent(struct db_context *db) +{ + return db->persistent; +} + const char *dbwrap_name(struct db_context *db) { return db->name; |