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 [public] void decode_ntprinting_form
(
30 [in] ntprinting_form form
34 * First the string flags and then the Samba 3 tdb storage
36 * "dffffffff" followed by a remaining buffer of "f" array */
38 typedef [flag
(NDR_NOALIGN
),public] struct {
39 [skip
] uint32 string_flags
;
42 [flag
(ndr_ntprinting_string_flags
(r
->string_flags
))] string name
;
43 [flag
(ndr_ntprinting_string_flags
(r
->string_flags
))] string environment
;
44 [flag
(ndr_ntprinting_string_flags
(r
->string_flags
))] string driverpath
;
45 [flag
(ndr_ntprinting_string_flags
(r
->string_flags
))] string datafile
;
46 [flag
(ndr_ntprinting_string_flags
(r
->string_flags
))] string configfile
;
47 [flag
(ndr_ntprinting_string_flags
(r
->string_flags
))] string helpfile;
48 [flag
(ndr_ntprinting_string_flags
(r
->string_flags
))] string monitorname
;
49 [flag
(ndr_ntprinting_string_flags
(r
->string_flags
))] string defaultdatatype
;
50 [flag
((ndr_ntprinting_string_flags
(r
->string_flags
)&~STR_NULLTERM
)|STR_NOTERM|NDR_REMAINING
)] string_array dependent_files
;
53 [public] void decode_ntprinting_driver
(
54 [in] ntprinting_driver driver
57 /* Samba 3 tdb storage format: devicemode
58 * "p" ptr to devicemode
59 * "ffwwwwwwwwwwwwwwwwwwdddddddddddddd"
60 * "p" ptr to devicemode private data
61 * "B" private data blob */
63 typedef [flag
(NDR_NOALIGN
),public] struct {
64 [skip
] uint32 string_flags
;
66 /* uint32 devicemode_ptr; */
67 [flag
(ndr_ntprinting_string_flags
(r
->string_flags
))] string devicename
;
68 [flag
(ndr_ntprinting_string_flags
(r
->string_flags
))] string formname
;
92 uint32 displayfrequency
;
100 uint32 panningheight
;
101 DATA_BLOB
*nt_dev_private
;
102 } ntprinting_devicemode
;
105 * First the string flags and then the Samba 3 tdb storage
106 * format: printer_data
107 * "p" ptr to printer_data
110 typedef [flag
(NDR_NOALIGN
),public] struct {
111 [skip
] uint32 string_flags
;
114 [flag
(ndr_ntprinting_string_flags
(r
->string_flags
))] string name
;
117 } ntprinting_printer_data
;
120 * First the string flags and then the Samba 3 tdb storage
121 * format: printer_info
122 * "dddddddddddfffffPfffff"
125 typedef [flag
(NDR_NOALIGN
),public] struct {
126 [skip
] uint32 string_flags
;
130 uint32 default_priority
;
139 [flag
(ndr_ntprinting_string_flags
(r
->string_flags
))] string servername
;
140 [flag
(ndr_ntprinting_string_flags
(r
->string_flags
))] string printername
;
141 [flag
(ndr_ntprinting_string_flags
(r
->string_flags
))] string sharename
;
142 [flag
(ndr_ntprinting_string_flags
(r
->string_flags
))] string portname
;
143 [flag
(ndr_ntprinting_string_flags
(r
->string_flags
))] string drivername
;
144 [flag
(ndr_ntprinting_string_flags
(r
->string_flags
))] string comment
;
145 [flag
(ndr_ntprinting_string_flags
(r
->string_flags
))] string location
;
146 [flag
(ndr_ntprinting_string_flags
(r
->string_flags
))] string sepfile
;
147 [flag
(ndr_ntprinting_string_flags
(r
->string_flags
))] string printprocessor
;
148 [flag
(ndr_ntprinting_string_flags
(r
->string_flags
))] string datatype
;
149 [flag
(ndr_ntprinting_string_flags
(r
->string_flags
))] string parameters
;
150 } ntprinting_printer_info
;
152 /* Abstract Samba 3 printer
154 * followed by ntprinting_devicemode
155 * followed by remaining buffer of ntprinting_printer_data array */
157 typedef [flag
(NDR_NOALIGN
),public,nopull
] struct {
158 ntprinting_printer_info info
;
159 ntprinting_devicemode
*devmode
;
161 ntprinting_printer_data printer_data
[count
];
162 } ntprinting_printer
;
164 [public] void decode_ntprinting_printer
(
165 [in] ntprinting_printer printer