2004-10-16 17:47:00 +04:00
/*
Unix SMB / CIFS implementation .
database wrap headers
Copyright ( C ) Andrew Tridgell 2004
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
2007-07-10 06:07:03 +04:00
the Free Software Foundation ; either version 3 of the License , or
2004-10-16 17:47:00 +04:00
( 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
2007-07-10 06:07:03 +04:00
along with this program . If not , see < http : //www.gnu.org/licenses/>.
2004-10-16 17:47:00 +04:00
*/
2007-11-16 22:12:00 +03:00
# ifndef _LDB_WRAP_H_
# define _LDB_WRAP_H_
2004-10-16 17:47:00 +04:00
2006-03-14 18:03:25 +03:00
struct auth_session_info ;
struct ldb_message ;
struct ldb_dn ;
2006-03-18 18:42:57 +03:00
struct cli_credentials ;
2007-10-01 22:52:55 +04:00
struct loadparm_context ;
2008-12-29 22:24:57 +03:00
struct tevent_context ;
2006-03-14 18:03:25 +03:00
2008-08-22 11:36:56 +04:00
char * wrap_casefold ( void * context , void * mem_ctx , const char * s , size_t n ) ;
2007-11-16 22:12:00 +03:00
struct ldb_context * ldb_wrap_connect ( TALLOC_CTX * mem_ctx ,
2008-12-29 22:24:57 +03:00
struct tevent_context * ev ,
2007-11-16 22:12:00 +03:00
struct loadparm_context * lp_ctx ,
const char * url ,
struct auth_session_info * session_info ,
struct cli_credentials * credentials ,
unsigned int flags ,
const char * options [ ] ) ;
# endif /* _LDB_WRAP_H_ */