WHATSNEW: Update release notes.
[Samba.git] / source4 / lib / ldb / include / ldb_handlers.h
blobe1c14e679b9c073f94680f5e6b90a5542d2c4cbf
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
35 int ldb_handler_copy( struct ldb_context *ldb, void *mem_ctx,
36 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);
41 int ldb_canonicalise_Integer( struct ldb_context *ldb, void *mem_ctx,
42 const struct ldb_val *in, struct ldb_val *out);
44 int ldb_comparison_Integer( struct ldb_context *ldb, void *mem_ctx,
45 const struct ldb_val *v1, const struct ldb_val *v2);
47 int ldb_comparison_binary( struct ldb_context *ldb, void *mem_ctx,
48 const struct ldb_val *v1, const struct ldb_val *v2);
50 int ldb_comparison_fold( struct ldb_context *ldb, void *mem_ctx,
51 const struct ldb_val *v1, const struct ldb_val *v2);
53 int ldb_canonicalise_dn( struct ldb_context *ldb, void *mem_ctx,
54 const struct ldb_val *in, struct ldb_val *out);
56 int ldb_comparison_dn( struct ldb_context *ldb, void *mem_ctx,
57 const struct ldb_val *v1, const struct ldb_val *v2);
59 int ldb_comparison_objectclass( struct ldb_context *ldb, void *mem_ctx,
60 const struct ldb_val *v1, const struct ldb_val *v2);
62 int ldb_comparison_utctime( struct ldb_context *ldb, void *mem_ctx,
63 const struct ldb_val *v1, const struct ldb_val *v2);
65 int ldb_canonicalise_utctime( struct ldb_context *ldb, void *mem_ctx,
66 const struct ldb_val *in, struct ldb_val *out);