From f0bc19ae47d7f06d111713b0dbb00f387621e675 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Fri, 5 Oct 2007 23:04:46 +0000 Subject: r25541: Add setup.py for building ldb python wrappers standalone. (This used to be commit 0e77e3e31653d236bd0110adb28ad9c918b7ae82) --- source4/lib/ldb/swig/ldb.i | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'source4/lib/ldb/swig') diff --git a/source4/lib/ldb/swig/ldb.i b/source4/lib/ldb/swig/ldb.i index a1a08ec72f..cdf1d66de1 100644 --- a/source4/lib/ldb/swig/ldb.i +++ b/source4/lib/ldb/swig/ldb.i @@ -36,9 +36,9 @@ typedef long long int64_t; /* Include headers */ -#include "lib/replace/replace.h" -#include "lib/talloc/talloc.h" -#include "lib/ldb/include/ldb.h" +#include +#include "talloc.h" +#include "ldb.h" %} @@ -237,3 +237,5 @@ int ldb_msg_sanity_check(struct ldb_context *ldb, const struct ldb_message *msg) /* struct ldb_dn *ldb_dn_explode(void *mem_ctx, const char *dn); */ /* char *ldb_dn_linearize(void *mem_ctx, const struct ldb_dn *dn); */ + +%rename(ldb_context) Ldb; -- cgit