From 230e36ccded13f5bf0e95ff93e6aa65ad7e368ec Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Thu, 28 Mar 2002 04:14:43 +0000 Subject: Aborted experiment to avoid namespace pollution and prototype hell and moved to 'make proto' based solution. (This used to be commit 1e48f872a494228e82fd32c789b3dcea6b014211) --- source3/python/py_spoolss_proto.h | 43 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 source3/python/py_spoolss_proto.h (limited to 'source3/python/py_spoolss_proto.h') diff --git a/source3/python/py_spoolss_proto.h b/source3/python/py_spoolss_proto.h new file mode 100644 index 0000000000..e1a27896f7 --- /dev/null +++ b/source3/python/py_spoolss_proto.h @@ -0,0 +1,43 @@ +#ifndef _PY_SPOOLSS_PROTO_H +#define _PY_SPOOLSS_PROTO_H + +/* This file is automatically generated with "make proto". DO NOT EDIT */ + + +/* The following definitions come from python/py_spoolss.c */ + +struct cli_state *open_pipe_creds(char *system_name, PyObject *creds, + cli_pipe_fn *connect_fn, + struct cli_state *cli); +void initspoolss(void); + +/* The following definitions come from python/py_spoolss_drivers.c */ + +PyObject *spoolss_enumprinterdrivers(PyObject *self, PyObject *args, + PyObject *kw); +PyObject *spoolss_getprinterdriver(PyObject *self, PyObject *args, + PyObject *kw); +PyObject *spoolss_getprinterdriverdir(PyObject *self, PyObject *args, + PyObject *kw); + +/* The following definitions come from python/py_spoolss_forms.c */ + +PyObject *spoolss_addform(PyObject *self, PyObject *args, PyObject *kw); +PyObject *spoolss_getform(PyObject *self, PyObject *args, PyObject *kw); +PyObject *spoolss_setform(PyObject *self, PyObject *args, PyObject *kw); +PyObject *spoolss_deleteform(PyObject *self, PyObject *args, PyObject *kw); +PyObject *spoolss_enumforms(PyObject *self, PyObject *args, PyObject *kw); + +/* The following definitions come from python/py_spoolss_ports.c */ + +PyObject *spoolss_enumports(PyObject *self, PyObject *args, PyObject *kw); + +/* The following definitions come from python/py_spoolss_printers.c */ + +PyObject *spoolss_openprinter(PyObject *self, PyObject *args, PyObject *kw); +PyObject *spoolss_closeprinter(PyObject *self, PyObject *args); +PyObject *spoolss_getprinter(PyObject *self, PyObject *args, PyObject *kw); +PyObject *spoolss_setprinter(PyObject *self, PyObject *args, PyObject *kw); +PyObject *spoolss_enumprinters(PyObject *self, PyObject *args, PyObject *kw); + +#endif /* _PY_SPOOLSS_PROTO_H */ -- cgit