summaryrefslogtreecommitdiffstats
path: root/lib/dbwrap/dbwrap.h
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.h
parentfc9b2987611d7535b92288b26b09db19a0e2d78e (diff)
downloadsamba-1acf548eb75c9641e4e2c07167b42bc4380f9158.tar.gz
samba-1acf548eb75c9641e4e2c07167b42bc4380f9158.tar.xz
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.h')
-rw-r--r--lib/dbwrap/dbwrap.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/dbwrap/dbwrap.h b/lib/dbwrap/dbwrap.h
index db2cfa1e5d7..ef4ffc94d71 100644
--- a/lib/dbwrap/dbwrap.h
+++ b/lib/dbwrap/dbwrap.h
@@ -70,7 +70,6 @@ NTSTATUS dbwrap_parse_record(struct db_context *db, TDB_DATA key,
void *private_data);
int dbwrap_wipe(struct db_context *db);
int dbwrap_get_seqnum(struct db_context *db);
-int dbwrap_get_flags(struct db_context *db);
int dbwrap_transaction_start(struct db_context *db);
int dbwrap_transaction_commit(struct db_context *db);
int dbwrap_transaction_cancel(struct db_context *db);