HP2500C driver writes devmode with private data that ends
[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 struct cli_state *open_pipe_creds(char *system_name, PyObject *creds, 
10                                   cli_pipe_fn *connect_fn,
11                                   struct cli_state *cli);
12 PyObject *new_policy_hnd_object(struct cli_state *cli, TALLOC_CTX *mem_ctx, 
13                                 POLICY_HND *pol);
14 void initspoolss(void);
15
16 /* The following definitions come from python/py_spoolss_drivers.c  */
17
18 PyObject *spoolss_enumprinterdrivers(PyObject *self, PyObject *args,
19                                      PyObject *kw);
20 PyObject *spoolss_getprinterdriver(PyObject *self, PyObject *args,
21                                    PyObject *kw);
22 PyObject *spoolss_getprinterdriverdir(PyObject *self, PyObject *args, 
23                                       PyObject *kw);
24
25 /* The following definitions come from python/py_spoolss_drivers_conv.c  */
26
27 BOOL py_from_DRIVER_INFO_1(PyObject **dict, DRIVER_INFO_1 *info);
28 BOOL py_to_DRIVER_INFO_1(DRIVER_INFO_1 *info, PyObject *dict);
29 BOOL py_from_DRIVER_INFO_2(PyObject **dict, DRIVER_INFO_2 *info);
30 BOOL py_to_DRIVER_INFO_2(DRIVER_INFO_2 *info, PyObject *dict);
31 BOOL py_from_DRIVER_INFO_3(PyObject **dict, DRIVER_INFO_3 *info);
32 BOOL py_to_DRIVER_INFO_3(DRIVER_INFO_3 *info, PyObject *dict);
33 BOOL py_from_DRIVER_INFO_6(PyObject **dict, DRIVER_INFO_6 *info);
34 BOOL py_to_DRIVER_INFO_6(DRIVER_INFO_6 *info, PyObject *dict);
35 BOOL py_from_DRIVER_DIRECTORY_1(PyObject **dict, DRIVER_DIRECTORY_1 *info);
36 BOOL py_to_DRIVER_DIRECTORY_1(DRIVER_DIRECTORY_1 *info, PyObject *dict);
37
38 /* The following definitions come from python/py_spoolss_forms.c  */
39
40 PyObject *spoolss_addform(PyObject *self, PyObject *args, PyObject *kw);
41 PyObject *spoolss_getform(PyObject *self, PyObject *args, PyObject *kw);
42 PyObject *spoolss_setform(PyObject *self, PyObject *args, PyObject *kw);
43 PyObject *spoolss_deleteform(PyObject *self, PyObject *args, PyObject *kw);
44 PyObject *spoolss_enumforms(PyObject *self, PyObject *args, PyObject *kw);
45
46 /* The following definitions come from python/py_spoolss_forms_conv.c  */
47
48 BOOL py_from_FORM_1(PyObject **dict, FORM_1 *form);
49 BOOL py_to_FORM(FORM *form, PyObject *dict);
50
51 /* The following definitions come from python/py_spoolss_ports.c  */
52
53 PyObject *spoolss_enumports(PyObject *self, PyObject *args, PyObject *kw);
54
55 /* The following definitions come from python/py_spoolss_ports_conv.c  */
56
57 BOOL py_from_PORT_INFO_1(PyObject **dict, PORT_INFO_1 *info);
58 BOOL py_to_PORT_INFO_1(PORT_INFO_1 *info, PyObject *dict);
59 BOOL py_from_PORT_INFO_2(PyObject **dict, PORT_INFO_2 *info);
60 BOOL py_to_PORT_INFO_2(PORT_INFO_2 *info, PyObject *dict);
61
62 /* The following definitions come from python/py_spoolss_printers.c  */
63
64 PyObject *spoolss_openprinter(PyObject *self, PyObject *args, PyObject *kw);
65 PyObject *spoolss_closeprinter(PyObject *self, PyObject *args);
66 PyObject *spoolss_getprinter(PyObject *self, PyObject *args, PyObject *kw);
67 PyObject *spoolss_setprinter(PyObject *self, PyObject *args, PyObject *kw);
68 PyObject *spoolss_enumprinters(PyObject *self, PyObject *args, PyObject *kw);
69
70 /* The following definitions come from python/py_spoolss_printers_conv.c  */
71
72 BOOL py_from_SID(PyObject **obj, DOM_SID *sid);
73 BOOL py_to_SID(DOM_SID *sid, PyObject *dict);
74 BOOL py_from_ACE(PyObject **dict, SEC_ACE *ace);
75 BOOL py_to_ACE(SEC_ACE *ace, PyObject *dict);
76 BOOL py_from_ACL(PyObject **dict, SEC_ACL *acl);
77 BOOL py_to_ACL(SEC_ACL *acl, PyObject *dict);
78 BOOL py_from_SECDESC(PyObject **dict, SEC_DESC *sd);
79 BOOL py_to_SECDESC(SEC_DESC *sd, PyObject *dict);
80 BOOL py_from_DEVICEMODE(PyObject **dict, DEVICEMODE *devmode);
81 BOOL py_to_DEVICEMODE(DEVICEMODE *devmode, PyObject *dict);
82 BOOL py_from_PRINTER_INFO_0(PyObject **dict, PRINTER_INFO_0 *info);
83 BOOL py_to_PRINTER_INFO_0(PRINTER_INFO_0 *info, PyObject *dict);
84 BOOL py_from_PRINTER_INFO_1(PyObject **dict, PRINTER_INFO_1 *info);
85 BOOL py_to_PRINTER_INFO_1(PRINTER_INFO_1 *info, PyObject *dict);
86 BOOL py_from_PRINTER_INFO_2(PyObject **dict, PRINTER_INFO_2 *info);
87 BOOL py_to_PRINTER_INFO_2(PRINTER_INFO_2 *info, PyObject *dict);
88 BOOL py_from_PRINTER_INFO_3(PyObject **dict, PRINTER_INFO_3 *info);
89 BOOL py_to_PRINTER_INFO_3(PRINTER_INFO_3 *info, PyObject *dict);
90
91 #endif /*  _PY_SPOOLSS_PROTO_H  */