s3: Fix some nonempty line endings
[Samba/gebeck_regimport.git] / lib / ldb / include / ldb_handlers.h
blob79d8bb64c257800cbe330e45d578dd4239ae784f
1 /*
2 ldb database library
4 Copyright (C) Simo Sorce 2005
6 ** NOTE! The following LGPL license applies to the ldb
7 ** library. This does NOT imply that all of Samba is released
8 ** under the LGPL
10 This library is free software; you can redistribute it and/or
11 modify it under the terms of the GNU Lesser General Public
12 License as published by the Free Software Foundation; either
13 version 3 of the License, or (at your option) any later version.
15 This library is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 Lesser General Public License for more details.
20 You should have received a copy of the GNU Lesser General Public
21 License along with this library; if not, see <http://www.gnu.org/licenses/>.
25 * Name: ldb
27 * Component: ldb header
29 * Description: defines attribute handlers
31 * Author: Simo Sorce
33 #ifndef __LDB_HANDLERS_H__
34 #define __LDB_HANDLERS_H__
36 int ldb_handler_copy(struct ldb_context *ldb, void *mem_ctx,
37 const struct ldb_val *in, struct ldb_val *out);
38 int ldb_handler_fold(struct ldb_context *ldb, void *mem_ctx,
39 const struct ldb_val *in, struct ldb_val *out);
40 int ldb_comparison_binary(struct ldb_context *ldb, void *mem_ctx,
41 const struct ldb_val *v1, const struct ldb_val *v2);
42 int ldb_comparison_fold(struct ldb_context *ldb, void *mem_ctx,
43 const struct ldb_val *v1, const struct ldb_val *v2);
45 #endif /* __LDB_HANDLERS_H__ */