summaryrefslogtreecommitdiff
path: root/lib/ldb/pyldb_util.c
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/pyldb_util.c
parenta6be0820d09b3f3eabfbb5f4356add303aa8a494 (diff)
downloadsamba-fdff105854c52c334af2845a55f0473dcad5c55f.tar.gz
samba-fdff105854c52c334af2845a55f0473dcad5c55f.tar.bz2
samba-fdff105854c52c334af2845a55f0473dcad5c55f.zip
pyldb: Consistently use pyldb_ prefix.
Diffstat (limited to 'lib/ldb/pyldb_util.c')
-rw-r--r--lib/ldb/pyldb_util.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/ldb/pyldb_util.c b/lib/ldb/pyldb_util.c
index 79077416be..e2442e2194 100644
--- a/lib/ldb/pyldb_util.c
+++ b/lib/ldb/pyldb_util.c
@@ -68,7 +68,7 @@ static PyTypeObject * PyLdb_GetPyType(const char *typename)
* @param ldb_ctx LDB context
* @return Whether or not the conversion succeeded
*/
-bool PyObject_AsDn(TALLOC_CTX *mem_ctx, PyObject *object,
+bool pyldb_Object_AsDn(TALLOC_CTX *mem_ctx, PyObject *object,
struct ldb_context *ldb_ctx, struct ldb_dn **dn)
{
struct ldb_dn *odn;
@@ -86,7 +86,7 @@ bool PyObject_AsDn(TALLOC_CTX *mem_ctx, PyObject *object,
}
if (PyObject_TypeCheck(object, PyLdb_Dn_Type)) {
- *dn = PyLdbDn_AsDn(object);
+ *dn = pyldb_Dn_AsDn(object);
return true;
}
@@ -94,7 +94,7 @@ bool PyObject_AsDn(TALLOC_CTX *mem_ctx, PyObject *object,
return false;
}
-PyObject *PyLdbDn_FromDn(struct ldb_dn *dn)
+PyObject *pyldb_Dn_FromDn(struct ldb_dn *dn)
{
PyLdbDnObject *py_ret;
PyTypeObject *PyLdb_Dn_Type;