summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/include
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-06-21 07:52:00 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:18:37 -0500
commit5be159f304411b58c417a979c819f9ab211a0337 (patch)
tree332eede05fc983d4a1fb872618162f98d0c2f990 /source4/lib/ldb/include
parenteb0a13025aa6d693c7e9fa213ef04fa58cf60e3e (diff)
downloadsamba-5be159f304411b58c417a979c819f9ab211a0337.tar.gz
samba-5be159f304411b58c417a979c819f9ab211a0337.tar.bz2
samba-5be159f304411b58c417a979c819f9ab211a0337.zip
r7804: added the samba specific ldif handlers into the tree, but don't enable
them just yet. I have tested them, and they work fine, but enabling them will break code in rpc_server/ and samdb, so we need to fix that first (This used to be commit 07d459406b4c63e49141e0e533e1274b4052abf9)
Diffstat (limited to 'source4/lib/ldb/include')
-rw-r--r--source4/lib/ldb/include/ldb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/lib/ldb/include/ldb.h b/source4/lib/ldb/include/ldb.h
index 48290beb92..3102676327 100644
--- a/source4/lib/ldb/include/ldb.h
+++ b/source4/lib/ldb/include/ldb.h
@@ -285,6 +285,9 @@ struct ldb_ldif *ldb_ldif_read_string(struct ldb_context *ldb, const char *s);
int ldb_ldif_write_file(struct ldb_context *ldb, FILE *f, const struct ldb_ldif *msg);
char *ldb_base64_encode(void *mem_ctx, const char *buf, int len);
int ldb_base64_decode(char *s);
+int ldb_ldif_add_handlers(struct ldb_context *ldb,
+ const struct ldb_ldif_handler *handlers,
+ unsigned num_handlers);
/* useful functions for ldb_message structure manipulation */