diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2011-09-14 08:06:13 +0930 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2011-09-14 08:06:13 +0930 |
commit | b50b48f575d8ad2a709c89dab0a64e19e45d7b08 (patch) | |
tree | f5cddc9072fa37e6c9692fa30fe0c7d45547af65 /lib/tdb2/tdb1.h | |
parent | 13238912facb04ab3aafeb020de6226659d83e6b (diff) | |
download | samba-b50b48f575d8ad2a709c89dab0a64e19e45d7b08.tar.gz samba-b50b48f575d8ad2a709c89dab0a64e19e45d7b08.tar.bz2 samba-b50b48f575d8ad2a709c89dab0a64e19e45d7b08.zip |
tdb2: add tdb_attribute_tdb1_max_dead
This allows us to simulate the old "volatile" flag for tdb1. It's not
necessary for tdb2.
As this is the last function in tdb1.h, we remove that file.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
(Imported from CCAN commit b8e64e9346793164651a36eccb3c205077e5c91b)
Diffstat (limited to 'lib/tdb2/tdb1.h')
-rw-r--r-- | lib/tdb2/tdb1.h | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/lib/tdb2/tdb1.h b/lib/tdb2/tdb1.h deleted file mode 100644 index c46abc7e5e..0000000000 --- a/lib/tdb2/tdb1.h +++ /dev/null @@ -1,43 +0,0 @@ -#ifndef TDB1_H -#define TDB1_H - -/* - Unix SMB/CIFS implementation. - - trivial database library (version 1 compat functions) - - Copyright (C) Andrew Tridgell 1999-2004 - Copyright (C) Rusty Russell 2011 - - ** NOTE! The following LGPL license applies to the tdb - ** library. This does NOT imply that all of Samba is released - ** under the LGPL - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 3 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, see <http://www.gnu.org/licenses/>. -*/ -#include "tdb2.h" - -#ifndef _SAMBA_BUILD_ -/* For mode_t */ -#include <sys/types.h> -/* For O_* flags. */ -#include <sys/stat.h> -#endif - - -void tdb1_set_max_dead(struct tdb_context *tdb, int max_dead); - -/* @} ******************************************************************/ - -#endif /* tdb1.h */ |