summaryrefslogtreecommitdiff
path: root/lib/dbwrap/dbwrap.c
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2012-06-22 15:07:43 +0930
committerRusty Russell <rusty@rustcorp.com.au>2012-06-22 07:35:17 +0200
commit1acf548eb75c9641e4e2c07167b42bc4380f9158 (patch)
tree818c0c6fcd266e754c678381ae0a43a84d307ed4 /lib/dbwrap/dbwrap.c
parentfc9b2987611d7535b92288b26b09db19a0e2d78e (diff)
downloadsamba-1acf548eb75c9641e4e2c07167b42bc4380f9158.tar.gz
samba-1acf548eb75c9641e4e2c07167b42bc4380f9158.tar.bz2
samba-1acf548eb75c9641e4e2c07167b42bc4380f9158.zip
dbwrap: remove get_flags().
The flags returned were TDB-specific: this was only used for detecting the endianness of obsolete databases (the conversion code was put in in 2003, with reference to Samba 2.3). It's easier to remove it than to translate the NTDB flags to TDB flags, and it's a really weird thing to ask for anyway. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'lib/dbwrap/dbwrap.c')
-rw-r--r--lib/dbwrap/dbwrap.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/dbwrap/dbwrap.c b/lib/dbwrap/dbwrap.c
index dbf10f7fb0..a393960428 100644
--- a/lib/dbwrap/dbwrap.c
+++ b/lib/dbwrap/dbwrap.c
@@ -372,11 +372,6 @@ int dbwrap_get_seqnum(struct db_context *db)
return db->get_seqnum(db);
}
-int dbwrap_get_flags(struct db_context *db)
-{
- return db->get_flags(db);
-}
-
int dbwrap_transaction_start(struct db_context *db)
{
return db->transaction_start(db);