summaryrefslogtreecommitdiff
path: root/libcli/security
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2011-08-10 15:15:18 +0200
committerJelmer Vernooij <jelmer@samba.org>2011-08-10 15:36:21 +0200
commitf8ec7f6cb19c4cc27398bdc0482b531e601d4291 (patch)
tree52c06e88c413547579c9e804a5c78d96e46bd4ba /libcli/security
parent8338fe4bfbc935e3cff059383dd07d419f58c696 (diff)
downloadsamba-f8ec7f6cb19c4cc27398bdc0482b531e601d4291.tar.gz
samba-f8ec7f6cb19c4cc27398bdc0482b531e601d4291.tar.bz2
samba-f8ec7f6cb19c4cc27398bdc0482b531e601d4291.zip
pytalloc: Use consistent prefix for functions, add ABI file.
Diffstat (limited to 'libcli/security')
-rw-r--r--libcli/security/pysecurity.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libcli/security/pysecurity.c b/libcli/security/pysecurity.c
index 87134bf104..5dbf95cfac 100644
--- a/libcli/security/pysecurity.c
+++ b/libcli/security/pysecurity.c
@@ -44,19 +44,19 @@ static PyObject *py_se_access_check(PyObject *module, PyObject *args, PyObject *
return NULL;
}
- security_descriptor = py_talloc_get_type(py_sec_desc, struct security_descriptor);
+ security_descriptor = pytalloc_get_type(py_sec_desc, struct security_descriptor);
if (!security_descriptor) {
PyErr_Format(PyExc_TypeError,
"Expected dcerpc.security.descriptor for security_descriptor argument got %s",
- talloc_get_name(py_talloc_get_ptr(py_sec_desc)));
+ talloc_get_name(pytalloc_get_ptr(py_sec_desc)));
return NULL;
}
- security_token = py_talloc_get_type(py_security_token, struct security_token);
+ security_token = pytalloc_get_type(py_security_token, struct security_token);
if (!security_token) {
PyErr_Format(PyExc_TypeError,
"Expected dcerpc.security.token for token argument, got %s",
- talloc_get_name(py_talloc_get_ptr(py_security_token)));
+ talloc_get_name(pytalloc_get_ptr(py_security_token)));
return NULL;
}