summaryrefslogtreecommitdiff
path: root/source4/auth
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-12-22 04:38:57 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-12-22 04:38:57 +0100
commitd58270c5373416997cc70fe392b307a4522e43d9 (patch)
tree08e833856d97b6e412b703e72308da9ffee2f3ac /source4/auth
parent24b62772ab78a84d4a35f5eb15e327b6b76782b0 (diff)
downloadsamba-d58270c5373416997cc70fe392b307a4522e43d9.tar.gz
samba-d58270c5373416997cc70fe392b307a4522e43d9.tar.bz2
samba-d58270c5373416997cc70fe392b307a4522e43d9.zip
Add header for pyparam.
Diffstat (limited to 'source4/auth')
-rw-r--r--source4/auth/credentials/pycredentials.c4
-rw-r--r--source4/auth/pyauth.c5
2 files changed, 2 insertions, 7 deletions
diff --git a/source4/auth/credentials/pycredentials.c b/source4/auth/credentials/pycredentials.c
index 5f3801cdf6..4fa9fe5696 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 cc717bf42f..e97174fcc3 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",