diff options
author | Tim Potter <tpot@samba.org> | 2002-03-28 04:14:43 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2002-03-28 04:14:43 +0000 |
commit | 230e36ccded13f5bf0e95ff93e6aa65ad7e368ec (patch) | |
tree | 64d97e5198e9ce205a0028498769ef7131c79795 /source3/python/py_spoolss_drivers.c | |
parent | 321767cb6607a87598c10be692ad26a17dd30ab4 (diff) | |
download | samba-230e36ccded13f5bf0e95ff93e6aa65ad7e368ec.tar.gz samba-230e36ccded13f5bf0e95ff93e6aa65ad7e368ec.tar.bz2 samba-230e36ccded13f5bf0e95ff93e6aa65ad7e368ec.zip |
Aborted experiment to avoid namespace pollution and prototype hell and
moved to 'make proto' based solution.
(This used to be commit 1e48f872a494228e82fd32c789b3dcea6b014211)
Diffstat (limited to 'source3/python/py_spoolss_drivers.c')
-rw-r--r-- | source3/python/py_spoolss_drivers.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/source3/python/py_spoolss_drivers.c b/source3/python/py_spoolss_drivers.c index ba96bf0de6..014167db27 100644 --- a/source3/python/py_spoolss_drivers.c +++ b/source3/python/py_spoolss_drivers.c @@ -18,6 +18,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +#include "python/py_spoolss.h" + /* Structure/hash conversions */ struct pyconv py_DRIVER_INFO_1[] = { @@ -80,8 +82,8 @@ struct pyconv py_DRIVER_DIRECTORY_1[] = { /* Enumerate printer drivers */ -static PyObject *spoolss_enumprinterdrivers(PyObject *self, PyObject *args, - PyObject *kw) +PyObject *spoolss_enumprinterdrivers(PyObject *self, PyObject *args, + PyObject *kw) { WERROR werror; PyObject *result = Py_None, *creds = NULL; @@ -179,8 +181,8 @@ static PyObject *spoolss_enumprinterdrivers(PyObject *self, PyObject *args, /* Fetch printer driver */ -static PyObject *spoolss_getprinterdriver(PyObject *self, PyObject *args, - PyObject *kw) +PyObject *spoolss_getprinterdriver(PyObject *self, PyObject *args, + PyObject *kw) { spoolss_policy_hnd_object *hnd = (spoolss_policy_hnd_object *)self; WERROR werror; @@ -232,8 +234,8 @@ static PyObject *spoolss_getprinterdriver(PyObject *self, PyObject *args, /* Fetch printer driver directory */ -static PyObject *spoolss_getprinterdriverdir(PyObject *self, PyObject *args, - PyObject *kw) +PyObject *spoolss_getprinterdriverdir(PyObject *self, PyObject *args, + PyObject *kw) { WERROR werror; PyObject *result = Py_None, *creds = NULL; |