summaryrefslogtreecommitdiff
path: root/lib/ldb
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2011-07-15 11:23:03 +1000
committerAndrew Tridgell <tridge@samba.org>2011-07-28 15:20:51 +1000
commit197996c3df81cc82bb12ee87118f112de9921813 (patch)
treeccf8592859e489970e62d6f627bee692c10f082b /lib/ldb
parente74661066b05b0a8fb444b1f2aaa66d95360087a (diff)
downloadsamba-197996c3df81cc82bb12ee87118f112de9921813.tar.gz
samba-197996c3df81cc82bb12ee87118f112de9921813.tar.bz2
samba-197996c3df81cc82bb12ee87118f112de9921813.zip
ldb: Expose ldb_handler_fold() funcion
This allows creation of derived syntax handlers from the base directory string. Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'lib/ldb')
-rw-r--r--lib/ldb/include/ldb_handlers.h17
1 files changed, 11 insertions, 6 deletions
diff --git a/lib/ldb/include/ldb_handlers.h b/lib/ldb/include/ldb_handlers.h
index 6e71f1fa01..79d8bb64c2 100644
--- a/lib/ldb/include/ldb_handlers.h
+++ b/lib/ldb/include/ldb_handlers.h
@@ -30,11 +30,16 @@
*
* Author: Simo Sorce
*/
+#ifndef __LDB_HANDLERS_H__
+#define __LDB_HANDLERS_H__
-int ldb_handler_copy( struct ldb_context *ldb, void *mem_ctx,
- const struct ldb_val *in, struct ldb_val *out);
-int ldb_comparison_binary( struct ldb_context *ldb, void *mem_ctx,
- const struct ldb_val *v1, const struct ldb_val *v2);
-int ldb_comparison_fold( struct ldb_context *ldb, void *mem_ctx,
- const struct ldb_val *v1, const struct ldb_val *v2);
+int ldb_handler_copy(struct ldb_context *ldb, void *mem_ctx,
+ const struct ldb_val *in, struct ldb_val *out);
+int ldb_handler_fold(struct ldb_context *ldb, void *mem_ctx,
+ const struct ldb_val *in, struct ldb_val *out);
+int ldb_comparison_binary(struct ldb_context *ldb, void *mem_ctx,
+ const struct ldb_val *v1, const struct ldb_val *v2);
+int ldb_comparison_fold(struct ldb_context *ldb, void *mem_ctx,
+ const struct ldb_val *v1, const struct ldb_val *v2);
+#endif /* __LDB_HANDLERS_H__ */