summaryrefslogtreecommitdiff
path: root/lib/ldb-samba
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2011-08-07 17:08:56 +0200
committerJelmer Vernooij <jelmer@samba.org>2011-08-07 17:08:56 +0200
commitfdff105854c52c334af2845a55f0473dcad5c55f (patch)
tree4caa12f1bb550dc2d2f41fd8ef1db865ddbdbd1d /lib/ldb-samba
parenta6be0820d09b3f3eabfbb5f4356add303aa8a494 (diff)
downloadsamba-fdff105854c52c334af2845a55f0473dcad5c55f.tar.gz
samba-fdff105854c52c334af2845a55f0473dcad5c55f.tar.bz2
samba-fdff105854c52c334af2845a55f0473dcad5c55f.zip
pyldb: Consistently use pyldb_ prefix.
Diffstat (limited to 'lib/ldb-samba')
-rw-r--r--lib/ldb-samba/pyldb.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/ldb-samba/pyldb.c b/lib/ldb-samba/pyldb.c
index ff48a3bb04..aae25a01e6 100644
--- a/lib/ldb-samba/pyldb.c
+++ b/lib/ldb-samba/pyldb.c
@@ -54,7 +54,7 @@ static PyObject *py_ldb_set_loadparm(PyObject *self, PyObject *args)
if (!PyArg_ParseTuple(args, "O", &py_lp_ctx))
return NULL;
- ldb = PyLdb_AsLdbContext(self);
+ ldb = pyldb_Ldb_AsLdbContext(self);
lp_ctx = lpcfg_from_py_object(ldb, py_lp_ctx);
if (lp_ctx == NULL) {
@@ -82,7 +82,7 @@ static PyObject *py_ldb_set_credentials(PyObject *self, PyObject *args)
return NULL;
}
- ldb = PyLdb_AsLdbContext(self);
+ ldb = pyldb_Ldb_AsLdbContext(self);
ldb_set_opaque(ldb, "credentials", creds);
@@ -102,7 +102,7 @@ static PyObject *py_ldb_set_opaque_integer(PyObject *self, PyObject *args)
if (!PyArg_ParseTuple(args, "si", &py_opaque_name, &value))
return NULL;
- ldb = PyLdb_AsLdbContext(self);
+ ldb = pyldb_Ldb_AsLdbContext(self);
/* see if we have a cached copy */
old_val = (int *)ldb_get_opaque(ldb, py_opaque_name);
@@ -158,7 +158,7 @@ static PyObject *py_ldb_set_utf8_casefold(PyObject *self)
{
struct ldb_context *ldb;
- ldb = PyLdb_AsLdbContext(self);
+ ldb = pyldb_Ldb_AsLdbContext(self);
ldb_set_utf8_fns(ldb, NULL, wrap_casefold);
@@ -190,7 +190,7 @@ static PyObject *py_ldb_set_session_info(PyObject *self, PyObject *args)
if (!ret)
return NULL;
- ldb = PyLdb_AsLdbContext(self);
+ ldb = pyldb_Ldb_AsLdbContext(self);
info = PyAuthSession_AsSession(py_session_info);
@@ -206,7 +206,7 @@ static PyObject *py_ldb_register_samba_handlers(PyObject *self)
/* XXX: Perhaps call this from PySambaLdb's init function ? */
- ldb = PyLdb_AsLdbContext(self);
+ ldb = pyldb_Ldb_AsLdbContext(self);
ret = ldb_register_samba_handlers(ldb);
PyErr_LDB_ERROR_IS_ERR_RAISE(py_ldb_error, ret, ldb);