add another registry rpc (opnum 0x14). Have no idea what it's real name
[Samba.git] / source / python / py_spoolss_proto.h
blob5b68ef815af8779cd914c6cd79106cc0f520b632
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 PyObject *new_spoolss_policy_hnd_object(struct cli_state *cli,
10 TALLOC_CTX *mem_ctx, POLICY_HND *pol);
11 void initspoolss(void);
13 /* The following definitions come from python/py_spoolss_drivers.c */
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);
30 /* The following definitions come from python/py_spoolss_drivers_conv.c */
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);
43 /* The following definitions come from python/py_spoolss_forms.c */
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);
51 /* The following definitions come from python/py_spoolss_forms_conv.c */
53 BOOL py_from_FORM_1(PyObject **dict, FORM_1 *form);
54 BOOL py_to_FORM(FORM *form, PyObject *dict);
56 /* The following definitions come from python/py_spoolss_jobs.c */
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);
68 /* The following definitions come from python/py_spoolss_jobs_conv.c */
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);
77 /* The following definitions come from python/py_spoolss_ports.c */
79 PyObject *spoolss_enumports(PyObject *self, PyObject *args, PyObject *kw);
81 /* The following definitions come from python/py_spoolss_ports_conv.c */
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);
88 /* The following definitions come from python/py_spoolss_printerdata.c */
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_deleteprinterdataex(PyObject *self, PyObject *args, PyObject *kw);
96 /* The following definitions come from python/py_spoolss_printers.c */
98 PyObject *spoolss_openprinter(PyObject *self, PyObject *args, PyObject *kw);
99 PyObject *spoolss_closeprinter(PyObject *self, PyObject *args);
100 PyObject *spoolss_hnd_getprinter(PyObject *self, PyObject *args, PyObject *kw);
101 PyObject *spoolss_hnd_setprinter(PyObject *self, PyObject *args, PyObject *kw);
102 PyObject *spoolss_enumprinters(PyObject *self, PyObject *args, PyObject *kw);
103 PyObject *spoolss_addprinterex(PyObject *self, PyObject *args, PyObject *kw);
105 /* The following definitions come from python/py_spoolss_printers_conv.c */
107 BOOL py_from_DEVICEMODE(PyObject **dict, DEVICEMODE *devmode);
108 BOOL py_to_DEVICEMODE(DEVICEMODE *devmode, PyObject *dict);
109 BOOL py_from_PRINTER_INFO_0(PyObject **dict, PRINTER_INFO_0 *info);
110 BOOL py_to_PRINTER_INFO_0(PRINTER_INFO_0 *info, PyObject *dict);
111 BOOL py_from_PRINTER_INFO_1(PyObject **dict, PRINTER_INFO_1 *info);
112 BOOL py_to_PRINTER_INFO_1(PRINTER_INFO_1 *info, PyObject *dict);
113 BOOL py_from_PRINTER_INFO_2(PyObject **dict, PRINTER_INFO_2 *info);
114 BOOL py_to_PRINTER_INFO_2(PRINTER_INFO_2 *info, PyObject *dict,
115 TALLOC_CTX *mem_ctx);
116 BOOL py_from_PRINTER_INFO_3(PyObject **dict, PRINTER_INFO_3 *info);
117 BOOL py_to_PRINTER_INFO_3(PRINTER_INFO_3 *info, PyObject *dict,
118 TALLOC_CTX *mem_ctx);
120 #endif /* _PY_SPOOLSS_PROTO_H */