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 {
30 * First the string flags and then the Samba 3 tdb storage
32 * "dffffffff" followed by a remaining buffer of "f" array */
34 typedef [flag
(NDR_NOALIGN
),public] struct {
35 [skip_noinit
] uint32 string_flags
;
38 [flag
(ndr_ntprinting_string_flags
(r
->string_flags
))] string name
;
39 [flag
(ndr_ntprinting_string_flags
(r
->string_flags
))] string environment
;
40 [flag
(ndr_ntprinting_string_flags
(r
->string_flags
))] string driverpath
;
41 [flag
(ndr_ntprinting_string_flags
(r
->string_flags
))] string datafile
;
42 [flag
(ndr_ntprinting_string_flags
(r
->string_flags
))] string configfile
;
43 [flag
(ndr_ntprinting_string_flags
(r
->string_flags
))] string helpfile;
44 [flag
(ndr_ntprinting_string_flags
(r
->string_flags
))] string monitorname
;
45 [flag
(ndr_ntprinting_string_flags
(r
->string_flags
))] string defaultdatatype
;
46 [flag
((ndr_ntprinting_string_flags
(r
->string_flags
)&~STR_NULLTERM
)|STR_NOTERM|NDR_REMAINING
)] string_array dependent_files
;
49 /* Samba 3 tdb storage format: devicemode
50 * "p" ptr to devicemode
51 * "ffwwwwwwwwwwwwwwwwwwdddddddddddddd"
52 * "p" ptr to devicemode private data
53 * "B" private data blob */
55 typedef [flag
(NDR_NOALIGN
),public] struct {
56 [skip_noinit
] uint32 string_flags
;
58 /* uint32 devicemode_ptr; */
59 [flag
(ndr_ntprinting_string_flags
(r
->string_flags
))] string devicename
;
60 [flag
(ndr_ntprinting_string_flags
(r
->string_flags
))] string formname
;
84 uint32 displayfrequency
;
93 DATA_BLOB
*nt_dev_private
;
94 } ntprinting_devicemode
;
97 * First the string flags and then the Samba 3 tdb storage
98 * format: printer_data
99 * "p" ptr to printer_data
102 typedef [flag
(NDR_NOALIGN
),public] struct {
103 [skip_noinit
] uint32 string_flags
;
106 [flag
(ndr_ntprinting_string_flags
(r
->string_flags
))] string name
;
109 } ntprinting_printer_data
;
112 * First the string flags and then the Samba 3 tdb storage
113 * format: printer_info
114 * "dddddddddddfffffPfffff"
117 typedef [flag
(NDR_NOALIGN
),public] struct {
118 [skip_noinit
] uint32 string_flags
;
122 uint32 default_priority
;
131 [flag
(ndr_ntprinting_string_flags
(r
->string_flags
))] string servername
;
132 [flag
(ndr_ntprinting_string_flags
(r
->string_flags
))] string printername
;
133 [flag
(ndr_ntprinting_string_flags
(r
->string_flags
))] string sharename
;
134 [flag
(ndr_ntprinting_string_flags
(r
->string_flags
))] string portname
;
135 [flag
(ndr_ntprinting_string_flags
(r
->string_flags
))] string drivername
;
136 [flag
(ndr_ntprinting_string_flags
(r
->string_flags
))] string comment
;
137 [flag
(ndr_ntprinting_string_flags
(r
->string_flags
))] string location
;
138 [flag
(ndr_ntprinting_string_flags
(r
->string_flags
))] string sepfile
;
139 [flag
(ndr_ntprinting_string_flags
(r
->string_flags
))] string printprocessor
;
140 [flag
(ndr_ntprinting_string_flags
(r
->string_flags
))] string datatype
;
141 [flag
(ndr_ntprinting_string_flags
(r
->string_flags
))] string parameters
;
142 } ntprinting_printer_info
;
144 /* Abstract Samba 3 printer
146 * followed by ntprinting_devicemode
147 * followed by remaining buffer of ntprinting_printer_data array */
149 typedef [flag
(NDR_NOALIGN
),public,nopull
] struct {
150 ntprinting_printer_info info
;
151 ntprinting_devicemode
*devmode
;
153 ntprinting_printer_data printer_data
[count
];
154 } ntprinting_printer
;