summaryrefslogtreecommitdiff
path: root/source3/python/py_spoolss_proto.h
blob: e1a27896f70713b794fcfaf7cfaf0b24d7df8b02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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  */