diff options
author | Michael Adam <obnox@samba.org> | 2011-08-16 16:20:14 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2011-10-11 14:17:55 +0200 |
commit | 7a72c84ee74cb91fd9e98b1edc74e6b3c2ba1c36 (patch) | |
tree | 7e8c044a7fdcaba69d11ed1c58ed15eed13c8ae5 /source3/lib/dbwrap/dbwrap_rbt.h | |
parent | c768121661cf5e845ceca3b04181937c36106484 (diff) | |
download | samba-7a72c84ee74cb91fd9e98b1edc74e6b3c2ba1c36.tar.gz samba-7a72c84ee74cb91fd9e98b1edc74e6b3c2ba1c36.tar.bz2 samba-7a72c84ee74cb91fd9e98b1edc74e6b3c2ba1c36.zip |
s3:dbwrap: move the db_open_rbt() prototype to a new header dbwrap_rbt.h
Diffstat (limited to 'source3/lib/dbwrap/dbwrap_rbt.h')
-rw-r--r-- | source3/lib/dbwrap/dbwrap_rbt.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/source3/lib/dbwrap/dbwrap_rbt.h b/source3/lib/dbwrap/dbwrap_rbt.h new file mode 100644 index 0000000000..1716879de6 --- /dev/null +++ b/source3/lib/dbwrap/dbwrap_rbt.h @@ -0,0 +1,29 @@ +/* + Unix SMB/CIFS implementation. + Database interface wrapper around red-black trees + Copyright (C) Volker Lendecke 2007, 2008 + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program 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 General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef __DBWRAP_RBT_H__ +#define __DBWRAP_RBT_H__ + +#include <talloc.h> + +struct db_context; + +struct db_context *db_open_rbt(TALLOC_CTX *mem_ctx); + +#endif /* __DBWRAP_RBT_H__ */ |