diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-04-16 13:37:39 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-04-18 12:04:59 +1000 |
commit | 338e5a1d35574dbd96bbbcf2a74fe33adc95cb8c (patch) | |
tree | 4206afcc1354276ab3d99fce23754430a3b0264d /source3/lib/dbwrap/dbwrap_tdb.h | |
parent | 235016bcf9c332f88d3aae68d0726d8bb2a64246 (diff) | |
download | samba-338e5a1d35574dbd96bbbcf2a74fe33adc95cb8c.tar.gz samba-338e5a1d35574dbd96bbbcf2a74fe33adc95cb8c.tar.xz samba-338e5a1d35574dbd96bbbcf2a74fe33adc95cb8c.zip |
s3-dbwrap: push lp_ctx up another layer in the stack
This will allow db_open_tdb() to be called from common code, which may
already have a loadparm context loaded.
It also slowly moves the lp_ctx up the stack, as required to remove
the library loop between smbconf and the registry.
Andrew Bartlett
Diffstat (limited to 'source3/lib/dbwrap/dbwrap_tdb.h')
-rw-r--r-- | source3/lib/dbwrap/dbwrap_tdb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/lib/dbwrap/dbwrap_tdb.h b/source3/lib/dbwrap/dbwrap_tdb.h index 1f7a223c70..6a6da45a08 100644 --- a/source3/lib/dbwrap/dbwrap_tdb.h +++ b/source3/lib/dbwrap/dbwrap_tdb.h @@ -25,6 +25,7 @@ struct db_context; struct db_context *db_open_tdb(TALLOC_CTX *mem_ctx, + struct loadparm_context *lp_ctx, const char *name, int hash_size, int tdb_flags, int open_flags, mode_t mode, |