diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2011-08-10 15:15:18 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2011-08-10 15:36:21 +0200 |
commit | f8ec7f6cb19c4cc27398bdc0482b531e601d4291 (patch) | |
tree | 52c06e88c413547579c9e804a5c78d96e46bd4ba /source4/librpc/ndr/py_auth.c | |
parent | 8338fe4bfbc935e3cff059383dd07d419f58c696 (diff) | |
download | samba-f8ec7f6cb19c4cc27398bdc0482b531e601d4291.tar.gz samba-f8ec7f6cb19c4cc27398bdc0482b531e601d4291.tar.bz2 samba-f8ec7f6cb19c4cc27398bdc0482b531e601d4291.zip |
pytalloc: Use consistent prefix for functions, add ABI file.
Diffstat (limited to 'source4/librpc/ndr/py_auth.c')
-rw-r--r-- | source4/librpc/ndr/py_auth.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source4/librpc/ndr/py_auth.c b/source4/librpc/ndr/py_auth.c index 40164e0981..8c9c16fa21 100644 --- a/source4/librpc/ndr/py_auth.c +++ b/source4/librpc/ndr/py_auth.c @@ -1,6 +1,7 @@ /* Unix SMB/CIFS implementation. - Copyright (C) Jelmer Vernooij <jelmer@samba.org> 2007-2008 + + Copyright (C) Jelmer Vernooij <jelmer@samba.org> 2007-2011 Copyright (C) Andrew Bartlett <abartlet@samba.org> 2011 This program is free software; you can redistribute it and/or modify @@ -46,7 +47,7 @@ static void PyType_AddGetSet(PyTypeObject *type, PyGetSetDef *getset) static PyObject *py_auth_session_get_credentials(PyObject *self, void *closure) { - struct auth_session_info *session = py_talloc_get_type(self, struct auth_session_info); + struct auth_session_info *session = pytalloc_get_type(self, struct auth_session_info); PyObject *py_credentials; /* This is evil, as the credentials are not IDL structures */ py_credentials = py_return_ndr_struct("samba.credentials", "Credentials", session->credentials, session->credentials); @@ -55,7 +56,7 @@ static PyObject *py_auth_session_get_credentials(PyObject *self, void *closure) static int py_auth_session_set_credentials(PyObject *self, PyObject *value, void *closure) { - struct auth_session_info *session = py_talloc_get_type(self, struct auth_session_info); + struct auth_session_info *session = pytalloc_get_type(self, struct auth_session_info); session->credentials = talloc_reference(session, PyCredentials_AsCliCredentials(value)); return 0; } |