4 old s3 spoolss tdb on-disc interface definitions
8 pointer_default(unique),
9 helpstring("s3 printing tdb formats"),
10 uuid("a025d3cb-c605-40d6-86e1-4cff18e7dd94"),
11 helper
("../librpc/ndr/ndr_ntprinting.h")
15 /* Samba 3 tdb storage format: forms
18 typedef [flag
(NDR_NOALIGN
),public] struct {
29 void decode_ntprinting_form
(
30 [in] ntprinting_form form
33 /* Samba 3 tdb storage format: drivers
34 * "dffffffff" followed by a remaining buffer of "f" array */
36 typedef [flag
(NDR_NOALIGN
),public] struct {
39 utf8string environment
;
40 utf8string driverpath
;
42 utf8string configfile
;
44 utf8string monitorname
;
45 utf8string defaultdatatype
;
46 [flag
(STR_UTF8|STR_NOTERM|NDR_REMAINING
)] string_array dependent_files
;
49 void decode_ntprinting_driver
(
50 [in] ntprinting_driver driver
53 /* Samba 3 tdb storage format: devicemode
54 * "p" ptr to devicemode
55 * "ffwwwwwwwwwwwwwwwwwwdddddddddddddd"
56 * "p" ptr to devicemode private data
57 * "B" private data blob */
59 typedef [flag
(NDR_NOALIGN
),public] struct {
60 /* uint32 devicemode_ptr; */
61 utf8string devicename
;
86 uint32 displayfrequency
;
95 DATA_BLOB
*nt_dev_private
;
96 } ntprinting_devicemode
;
98 /* Samba 3 tdb storage format: printer_data
99 * "p" ptr to printer_data
102 typedef [flag
(NDR_NOALIGN
),public] struct {
107 } ntprinting_printer_data
;
109 /* Samba 3 tdb storage format: printer_info
110 * "dddddddddddfffffPfffff" */
112 typedef [flag
(NDR_NOALIGN
),public] struct {
115 uint32 default_priority
;
124 utf8string servername
;
125 utf8string printername
;
126 utf8string sharename
;
128 utf8string drivername
;
132 utf8string printprocessor
;
134 utf8string parameters
;
135 } ntprinting_printer_info
;
137 /* Abstract Samba 3 printer
139 * followed by ntprinting_devicemode
140 * followed by remaining buffer of ntprinting_printer_data array */
142 typedef [flag
(NDR_NOALIGN
),public,nopull
] struct {
143 ntprinting_printer_info info
;
144 ntprinting_devicemode
*devmode
;
146 ntprinting_printer_data printer_data
[count
];
147 } ntprinting_printer
;
149 void decode_ntprinting_printer
(
150 [in] ntprinting_printer printer