1 #ifndef _PY_SPOOLSS_PROTO_H
2 #define _PY_SPOOLSS_PROTO_H
4 /* This file is automatically generated with "make proto". DO NOT EDIT */
7 /* The following definitions come from python/py_spoolss.c */
9 struct cli_state *open_pipe_creds(char *system_name, PyObject *creds,
10 cli_pipe_fn *connect_fn,
11 struct cli_state *cli);
12 void initspoolss(void);
14 /* The following definitions come from python/py_spoolss_drivers.c */
16 PyObject *spoolss_enumprinterdrivers(PyObject *self, PyObject *args,
18 PyObject *spoolss_getprinterdriver(PyObject *self, PyObject *args,
20 PyObject *spoolss_getprinterdriverdir(PyObject *self, PyObject *args,
23 /* The following definitions come from python/py_spoolss_forms.c */
25 PyObject *spoolss_addform(PyObject *self, PyObject *args, PyObject *kw);
26 PyObject *spoolss_getform(PyObject *self, PyObject *args, PyObject *kw);
27 PyObject *spoolss_setform(PyObject *self, PyObject *args, PyObject *kw);
28 PyObject *spoolss_deleteform(PyObject *self, PyObject *args, PyObject *kw);
29 PyObject *spoolss_enumforms(PyObject *self, PyObject *args, PyObject *kw);
31 /* The following definitions come from python/py_spoolss_ports.c */
33 PyObject *spoolss_enumports(PyObject *self, PyObject *args, PyObject *kw);
35 /* The following definitions come from python/py_spoolss_printers.c */
37 PyObject *spoolss_openprinter(PyObject *self, PyObject *args, PyObject *kw);
38 PyObject *spoolss_closeprinter(PyObject *self, PyObject *args);
39 PyObject *spoolss_getprinter(PyObject *self, PyObject *args, PyObject *kw);
40 PyObject *spoolss_setprinter(PyObject *self, PyObject *args, PyObject *kw);
41 PyObject *spoolss_enumprinters(PyObject *self, PyObject *args, PyObject *kw);
43 #endif /* _PY_SPOOLSS_PROTO_H */