diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-12-22 04:38:57 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-12-22 04:38:57 +0100 |
commit | d58270c5373416997cc70fe392b307a4522e43d9 (patch) | |
tree | 08e833856d97b6e412b703e72308da9ffee2f3ac /source4/auth | |
parent | 24b62772ab78a84d4a35f5eb15e327b6b76782b0 (diff) | |
download | samba-d58270c5373416997cc70fe392b307a4522e43d9.tar.gz |
Add header for pyparam.
Diffstat (limited to 'source4/auth')
-rw-r--r-- | source4/auth/credentials/pycredentials.c | 4 | ||||
-rw-r--r-- | source4/auth/pyauth.c | 5 |
2 files changed, 2 insertions, 7 deletions
diff --git a/source4/auth/credentials/pycredentials.c b/source4/auth/credentials/pycredentials.c index 5f3801cdf63..4fa9fe56963 100644 --- a/source4/auth/credentials/pycredentials.c +++ b/source4/auth/credentials/pycredentials.c @@ -22,9 +22,7 @@ #include "lib/cmdline/credentials.h" #include "librpc/gen_ndr/samr.h" /* for struct samr_Password */ #include "libcli/util/pyerrors.h" - -/* Here until param/param.i gets rewritten in "manual" C */ -extern struct loadparm_context *lp_from_py_object(PyObject *py_obj); +#include "param/pyparam.h" struct cli_credentials *cli_credentials_from_py_object(PyObject *py_obj) { diff --git a/source4/auth/pyauth.c b/source4/auth/pyauth.c index cc717bf42f5..e97174fcc3a 100644 --- a/source4/auth/pyauth.c +++ b/source4/auth/pyauth.c @@ -20,10 +20,7 @@ #include "param/param.h" #include "pyauth.h" #include "auth/system_session_proto.h" - -/* FIXME: These should be in a header file somewhere, once we finish moving - * away from SWIG .. */ -extern struct loadparm_context *lp_from_py_object(PyObject *py_obj); +#include "param/pyparam.h" PyTypeObject PyAuthSession = { .tp_name = "AuthSession", |