pytdbpack_calc_reqd_len: It's no longer an error to supply more data
[samba.git] / source3 / python / py_spoolss_proto.h
1 #ifndef _PY_SPOOLSS_PROTO_H
2 #define _PY_SPOOLSS_PROTO_H
3
4 /* This file is automatically generated with "make proto". DO NOT EDIT */
5
6
7 /* The following definitions come from python/py_spoolss.c  */
8
9 PyObject *new_spoolss_policy_hnd_object(struct cli_state *cli, 
10                                         TALLOC_CTX *mem_ctx, POLICY_HND *pol);
11 void initspoolss(void);
12
13 /* The following definitions come from python/py_spoolss_drivers.c  */
14
15 PyObject *spoolss_enumprinterdrivers(PyObject *self, PyObject *args,
16                                      PyObject *kw);
17 PyObject *spoolss_hnd_getprinterdriver(PyObject *self, PyObject *args,
18                                    PyObject *kw);
19 PyObject *spoolss_getprinterdriverdir(PyObject *self, PyObject *args, 
20                                       PyObject *kw);
21 PyObject *spoolss_addprinterdriver(PyObject *self, PyObject *args,
22                                    PyObject *kw);
23 PyObject *spoolss_addprinterdriverex(PyObject *self, PyObject *args,
24                                              PyObject *kw);
25 PyObject *spoolss_deleteprinterdriver(PyObject *self, PyObject *args,
26                                       PyObject *kw);
27 PyObject *spoolss_deleteprinterdriverex(PyObject *self, PyObject *args,
28                                         PyObject *kw);
29
30 /* The following definitions come from python/py_spoolss_drivers_conv.c  */
31
32 BOOL py_from_DRIVER_INFO_1(PyObject **dict, DRIVER_INFO_1 *info);
33 BOOL py_to_DRIVER_INFO_1(DRIVER_INFO_1 *info, PyObject *dict);
34 BOOL py_from_DRIVER_INFO_2(PyObject **dict, DRIVER_INFO_2 *info);
35 BOOL py_to_DRIVER_INFO_2(DRIVER_INFO_2 *info, PyObject *dict);
36 BOOL py_from_DRIVER_INFO_3(PyObject **dict, DRIVER_INFO_3 *info);
37 BOOL py_to_DRIVER_INFO_3(DRIVER_INFO_3 *info, PyObject *dict);
38 BOOL py_from_DRIVER_INFO_6(PyObject **dict, DRIVER_INFO_6 *info);
39 BOOL py_to_DRIVER_INFO_6(DRIVER_INFO_6 *info, PyObject *dict);
40 BOOL py_from_DRIVER_DIRECTORY_1(PyObject **dict, DRIVER_DIRECTORY_1 *info);
41 BOOL py_to_DRIVER_DIRECTORY_1(DRIVER_DIRECTORY_1 *info, PyObject *dict);
42
43 /* The following definitions come from python/py_spoolss_forms.c  */
44
45 PyObject *spoolss_hnd_addform(PyObject *self, PyObject *args, PyObject *kw);
46 PyObject *spoolss_hnd_getform(PyObject *self, PyObject *args, PyObject *kw);
47 PyObject *spoolss_hnd_setform(PyObject *self, PyObject *args, PyObject *kw);
48 PyObject *spoolss_hnd_deleteform(PyObject *self, PyObject *args, PyObject *kw);
49 PyObject *spoolss_hnd_enumforms(PyObject *self, PyObject *args, PyObject *kw);
50
51 /* The following definitions come from python/py_spoolss_forms_conv.c  */
52
53 BOOL py_from_FORM_1(PyObject **dict, FORM_1 *form);
54 BOOL py_to_FORM(FORM *form, PyObject *dict);
55
56 /* The following definitions come from python/py_spoolss_jobs.c  */
57
58 PyObject *spoolss_hnd_enumjobs(PyObject *self, PyObject *args, PyObject *kw);
59 PyObject *spoolss_hnd_setjob(PyObject *self, PyObject *args, PyObject *kw);
60 PyObject *spoolss_hnd_getjob(PyObject *self, PyObject *args, PyObject *kw);
61 PyObject *spoolss_hnd_startpageprinter(PyObject *self, PyObject *args, PyObject *kw);
62 PyObject *spoolss_hnd_endpageprinter(PyObject *self, PyObject *args, PyObject *kw);
63 PyObject *spoolss_hnd_startdocprinter(PyObject *self, PyObject *args, PyObject *kw);
64 PyObject *spoolss_hnd_enddocprinter(PyObject *self, PyObject *args, PyObject *kw);
65 PyObject *spoolss_hnd_writeprinter(PyObject *self, PyObject *args, PyObject *kw);
66 PyObject *spoolss_hnd_addjob(PyObject *self, PyObject *args, PyObject *kw);
67
68 /* The following definitions come from python/py_spoolss_jobs_conv.c  */
69
70 BOOL py_from_JOB_INFO_1(PyObject **dict, JOB_INFO_1 *info);
71 BOOL py_to_JOB_INFO_1(JOB_INFO_1 *info, PyObject *dict);
72 BOOL py_from_JOB_INFO_2(PyObject **dict, JOB_INFO_2 *info);
73 BOOL py_to_JOB_INFO_2(JOB_INFO_2 *info, PyObject *dict);
74 BOOL py_from_DOC_INFO_1(PyObject **dict, DOC_INFO_1 *info);
75 BOOL py_to_DOC_INFO_1(DOC_INFO_1 *info, PyObject *dict);
76
77 /* The following definitions come from python/py_spoolss_ports.c  */
78
79 PyObject *spoolss_enumports(PyObject *self, PyObject *args, PyObject *kw);
80
81 /* The following definitions come from python/py_spoolss_ports_conv.c  */
82
83 BOOL py_from_PORT_INFO_1(PyObject **dict, PORT_INFO_1 *info);
84 BOOL py_to_PORT_INFO_1(PORT_INFO_1 *info, PyObject *dict);
85 BOOL py_from_PORT_INFO_2(PyObject **dict, PORT_INFO_2 *info);
86 BOOL py_to_PORT_INFO_2(PORT_INFO_2 *info, PyObject *dict);
87
88 /* The following definitions come from python/py_spoolss_printerdata.c  */
89
90 PyObject *spoolss_hnd_getprinterdata(PyObject *self, PyObject *args, PyObject *kw);
91 PyObject *spoolss_hnd_setprinterdata(PyObject *self, PyObject *args, PyObject *kw);
92 PyObject *spoolss_hnd_enumprinterdata(PyObject *self, PyObject *args, PyObject *kw);
93 PyObject *spoolss_hnd_deleteprinterdata(PyObject *self, PyObject *args, PyObject *kw);
94 PyObject *spoolss_hnd_getprinterdataex(PyObject *self, PyObject *args, PyObject *kw);
95 PyObject *spoolss_hnd_setprinterdataex(PyObject *self, PyObject *args, PyObject *kw);
96 PyObject *spoolss_hnd_enumprinterdataex(PyObject *self, PyObject *args, PyObject *kw);
97 PyObject *spoolss_hnd_deleteprinterdataex(PyObject *self, PyObject *args, PyObject *kw);
98
99 /* The following definitions come from python/py_spoolss_printers.c  */
100
101 PyObject *spoolss_openprinter(PyObject *self, PyObject *args, PyObject *kw);
102 PyObject *spoolss_closeprinter(PyObject *self, PyObject *args);
103 PyObject *spoolss_hnd_getprinter(PyObject *self, PyObject *args, PyObject *kw);
104 PyObject *spoolss_hnd_setprinter(PyObject *self, PyObject *args, PyObject *kw);
105 PyObject *spoolss_enumprinters(PyObject *self, PyObject *args, PyObject *kw);
106 PyObject *spoolss_addprinterex(PyObject *self, PyObject *args, PyObject *kw);
107
108 /* The following definitions come from python/py_spoolss_printers_conv.c  */
109
110 BOOL py_from_DEVICEMODE(PyObject **dict, DEVICEMODE *devmode);
111 BOOL py_to_DEVICEMODE(DEVICEMODE *devmode, PyObject *dict);
112 BOOL py_from_PRINTER_INFO_0(PyObject **dict, PRINTER_INFO_0 *info);
113 BOOL py_to_PRINTER_INFO_0(PRINTER_INFO_0 *info, PyObject *dict);
114 BOOL py_from_PRINTER_INFO_1(PyObject **dict, PRINTER_INFO_1 *info);
115 BOOL py_to_PRINTER_INFO_1(PRINTER_INFO_1 *info, PyObject *dict);
116 BOOL py_from_PRINTER_INFO_2(PyObject **dict, PRINTER_INFO_2 *info);
117 BOOL py_to_PRINTER_INFO_2(PRINTER_INFO_2 *info, PyObject *dict,
118                           TALLOC_CTX *mem_ctx);
119 BOOL py_from_PRINTER_INFO_3(PyObject **dict, PRINTER_INFO_3 *info);
120 BOOL py_to_PRINTER_INFO_3(PRINTER_INFO_3 *info, PyObject *dict,
121                           TALLOC_CTX *mem_ctx);
122
123 #endif /*  _PY_SPOOLSS_PROTO_H  */