summaryrefslogtreecommitdiffstats
path: root/source/tdb/tdb.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-09-19 05:43:15 +0000
committerAndrew Tridgell <tridge@samba.org>2001-09-19 05:43:15 +0000
commitf49518e497deeb46292456c3650769d50ec2a955 (patch)
tree3fd69fa0fc0dbc50a6b5043e150c51e86ae3e4be /source/tdb/tdb.h
parentc4d8ad2c2e48ff31dae7477ff02e5bfc013832a9 (diff)
downloadsamba-f49518e497deeb46292456c3650769d50ec2a955.tar.gz
samba-f49518e497deeb46292456c3650769d50ec2a955.tar.xz
samba-f49518e497deeb46292456c3650769d50ec2a955.zip
added a hook to reopen all tdb's after the server fork
this prevents the fd seek pointer problem
Diffstat (limited to 'source/tdb/tdb.h')
-rw-r--r--source/tdb/tdb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/tdb/tdb.h b/source/tdb/tdb.h
index cc37825e781..4efe263ee85 100644
--- a/source/tdb/tdb.h
+++ b/source/tdb/tdb.h
@@ -95,6 +95,7 @@ typedef struct tdb_context {
dev_t device; /* uniquely identifies this tdb */
ino_t inode; /* uniquely identifies this tdb */
void (*log_fn)(struct tdb_context *tdb, int level, const char *, ...); /* logging function */
+ int open_flags; /* flags used in the open - needed by reopen */
} TDB_CONTEXT;
typedef int (*tdb_traverse_func)(TDB_CONTEXT *, TDB_DATA, TDB_DATA, void *);