/* [<][>][^][v][top][bottom][index][help] */
1 /*
2 ldb database library
3
4 Copyright (C) Simo Sorce 2005
5
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
9
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.
14
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.
19
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/>.
22 */
23
24 /*
25 * Name: ldb
26 *
27 * Component: ldb header
28 *
29 * Description: defines attribute handlers
30 *
31 * Author: Simo Sorce
32 */
33
34
35 int ldb_handler_copy( struct ldb_context *ldb, void *mem_ctx,
36 const struct ldb_val *in, struct ldb_val *out);
37
38 int ldb_handler_fold( struct ldb_context *ldb, void *mem_ctx,
39 const struct ldb_val *in, struct ldb_val *out);
40
41 int ldb_canonicalise_Integer( struct ldb_context *ldb, void *mem_ctx,
42 const struct ldb_val *in, struct ldb_val *out);
43
44 int ldb_comparison_Integer( struct ldb_context *ldb, void *mem_ctx,
45 const struct ldb_val *v1, const struct ldb_val *v2);
46
47 int ldb_comparison_binary( struct ldb_context *ldb, void *mem_ctx,
48 const struct ldb_val *v1, const struct ldb_val *v2);
49
50 int ldb_comparison_fold( struct ldb_context *ldb, void *mem_ctx,
51 const struct ldb_val *v1, const struct ldb_val *v2);
52
53 int ldb_canonicalise_dn( struct ldb_context *ldb, void *mem_ctx,
54 const struct ldb_val *in, struct ldb_val *out);
55
56 int ldb_comparison_dn( struct ldb_context *ldb, void *mem_ctx,
57 const struct ldb_val *v1, const struct ldb_val *v2);
58
59 int ldb_comparison_objectclass( struct ldb_context *ldb, void *mem_ctx,
60 const struct ldb_val *v1, const struct ldb_val *v2);
61
62 int ldb_comparison_utctime( struct ldb_context *ldb, void *mem_ctx,
63 const struct ldb_val *v1, const struct ldb_val *v2);
64
65 int ldb_canonicalise_utctime( struct ldb_context *ldb, void *mem_ctx,
66 const struct ldb_val *in, struct ldb_val *out);
67