summaryrefslogtreecommitdiff
path: root/source4/librpc/rpc
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2009-04-23 01:21:47 +0200
committerJelmer Vernooij <jelmer@samba.org>2009-06-02 18:05:41 +0200
commit6ace18904d638f1fb49c31041ba23353d97b40cb (patch)
tree5f9d99d9762fe435355dca79f430166b666a9060 /source4/librpc/rpc
parentfe2b04b4bba6585ee5377d44b8e2627d32d404c4 (diff)
downloadsamba-6ace18904d638f1fb49c31041ba23353d97b40cb.tar.gz
samba-6ace18904d638f1fb49c31041ba23353d97b40cb.tar.bz2
samba-6ace18904d638f1fb49c31041ba23353d97b40cb.zip
Fix more unresolved symbols.
Diffstat (limited to 'source4/librpc/rpc')
-rw-r--r--source4/librpc/rpc/pyrpc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/librpc/rpc/pyrpc.c b/source4/librpc/rpc/pyrpc.c
index 82bb870f40..e50a077625 100644
--- a/source4/librpc/rpc/pyrpc.c
+++ b/source4/librpc/rpc/pyrpc.c
@@ -24,6 +24,7 @@
#include "librpc/rpc/dcerpc.h"
#include "lib/events/events.h"
#include "param/pyparam.h"
+#include "auth/credentials/pycredentials.h"
#ifndef Py_RETURN_NONE
#define Py_RETURN_NONE return Py_INCREF(Py_None), Py_None
@@ -311,7 +312,6 @@ PyObject *py_dcerpc_interface_init_helper(PyTypeObject *type, PyObject *args, Py
const char *kwnames[] = {
"binding", "lp_ctx", "credentials", "basis_connection", NULL
};
- extern struct cli_credentials *cli_credentials_from_py_object(PyObject *py_obj);
if (!PyArg_ParseTupleAndKeywords(args, kwargs, "s|OOO:samr", discard_const_p(char *, kwnames), &binding_string, &py_lp_ctx, &py_credentials, &py_basis)) {
return NULL;
@@ -392,7 +392,6 @@ static PyObject *dcerpc_interface_new(PyTypeObject *self, PyObject *args, PyObje
const char *kwnames[] = {
"binding", "syntax", "lp_ctx", "credentials", "basis_connection", NULL
};
- extern struct cli_credentials *cli_credentials_from_py_object(PyObject *py_obj);
struct ndr_interface_table *table;
if (!PyArg_ParseTupleAndKeywords(args, kwargs, "sO|OOO:connect", discard_const_p(char *, kwnames), &binding_string, &syntax, &py_lp_ctx, &py_credentials, &py_basis)) {