summaryrefslogtreecommitdiff
path: root/source3/python/py_spoolss_proto.h
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-03-28 04:14:43 +0000
committerTim Potter <tpot@samba.org>2002-03-28 04:14:43 +0000
commit230e36ccded13f5bf0e95ff93e6aa65ad7e368ec (patch)
tree64d97e5198e9ce205a0028498769ef7131c79795 /source3/python/py_spoolss_proto.h
parent321767cb6607a87598c10be692ad26a17dd30ab4 (diff)
downloadsamba-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_proto.h')
-rw-r--r--source3/python/py_spoolss_proto.h43
1 files changed, 43 insertions, 0 deletions
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 */