1 | /* header auto-generated by pidl */
|
---|
2 |
|
---|
3 | #include <stdint.h>
|
---|
4 |
|
---|
5 | #ifndef _HEADER_epmapper
|
---|
6 | #define _HEADER_epmapper
|
---|
7 |
|
---|
8 | #define EPMAPPER_STATUS_NO_MORE_ENTRIES ( 0x16c9a0d6 )
|
---|
9 | #define EPMAPPER_STATUS_NO_MEMORY ( 0x16C9A012 )
|
---|
10 | #define EPMAPPER_STATUS_OK ( 0 )
|
---|
11 | enum epm_protocol
|
---|
12 | #ifndef USE_UINT_ENUMS
|
---|
13 | {
|
---|
14 | EPM_PROTOCOL_DNET_NSP=0x04,
|
---|
15 | EPM_PROTOCOL_OSI_TP4=0x05,
|
---|
16 | EPM_PROTOCOL_OSI_CLNS=0x06,
|
---|
17 | EPM_PROTOCOL_TCP=0x07,
|
---|
18 | EPM_PROTOCOL_UDP=0x08,
|
---|
19 | EPM_PROTOCOL_IP=0x09,
|
---|
20 | EPM_PROTOCOL_NCADG=0x0a,
|
---|
21 | EPM_PROTOCOL_NCACN=0x0b,
|
---|
22 | EPM_PROTOCOL_NCALRPC=0x0c,
|
---|
23 | EPM_PROTOCOL_UUID=0x0d,
|
---|
24 | EPM_PROTOCOL_IPX=0x0e,
|
---|
25 | EPM_PROTOCOL_SMB=0x0f,
|
---|
26 | EPM_PROTOCOL_PIPE=0x10,
|
---|
27 | EPM_PROTOCOL_NETBIOS=0x11,
|
---|
28 | EPM_PROTOCOL_NETBEUI=0x12,
|
---|
29 | EPM_PROTOCOL_SPX=0x13,
|
---|
30 | EPM_PROTOCOL_NB_IPX=0x14,
|
---|
31 | EPM_PROTOCOL_DSP=0x16,
|
---|
32 | EPM_PROTOCOL_DDP=0x17,
|
---|
33 | EPM_PROTOCOL_APPLETALK=0x18,
|
---|
34 | EPM_PROTOCOL_VINES_SPP=0x1a,
|
---|
35 | EPM_PROTOCOL_VINES_IPC=0x1b,
|
---|
36 | EPM_PROTOCOL_STREETTALK=0x1c,
|
---|
37 | EPM_PROTOCOL_HTTP=0x1f,
|
---|
38 | EPM_PROTOCOL_UNIX_DS=0x20,
|
---|
39 | EPM_PROTOCOL_NULL=0x21
|
---|
40 | }
|
---|
41 | #else
|
---|
42 | { __donnot_use_enum_epm_protocol=0x7FFFFFFF}
|
---|
43 | #define EPM_PROTOCOL_DNET_NSP ( 0x04 )
|
---|
44 | #define EPM_PROTOCOL_OSI_TP4 ( 0x05 )
|
---|
45 | #define EPM_PROTOCOL_OSI_CLNS ( 0x06 )
|
---|
46 | #define EPM_PROTOCOL_TCP ( 0x07 )
|
---|
47 | #define EPM_PROTOCOL_UDP ( 0x08 )
|
---|
48 | #define EPM_PROTOCOL_IP ( 0x09 )
|
---|
49 | #define EPM_PROTOCOL_NCADG ( 0x0a )
|
---|
50 | #define EPM_PROTOCOL_NCACN ( 0x0b )
|
---|
51 | #define EPM_PROTOCOL_NCALRPC ( 0x0c )
|
---|
52 | #define EPM_PROTOCOL_UUID ( 0x0d )
|
---|
53 | #define EPM_PROTOCOL_IPX ( 0x0e )
|
---|
54 | #define EPM_PROTOCOL_SMB ( 0x0f )
|
---|
55 | #define EPM_PROTOCOL_PIPE ( 0x10 )
|
---|
56 | #define EPM_PROTOCOL_NETBIOS ( 0x11 )
|
---|
57 | #define EPM_PROTOCOL_NETBEUI ( 0x12 )
|
---|
58 | #define EPM_PROTOCOL_SPX ( 0x13 )
|
---|
59 | #define EPM_PROTOCOL_NB_IPX ( 0x14 )
|
---|
60 | #define EPM_PROTOCOL_DSP ( 0x16 )
|
---|
61 | #define EPM_PROTOCOL_DDP ( 0x17 )
|
---|
62 | #define EPM_PROTOCOL_APPLETALK ( 0x18 )
|
---|
63 | #define EPM_PROTOCOL_VINES_SPP ( 0x1a )
|
---|
64 | #define EPM_PROTOCOL_VINES_IPC ( 0x1b )
|
---|
65 | #define EPM_PROTOCOL_STREETTALK ( 0x1c )
|
---|
66 | #define EPM_PROTOCOL_HTTP ( 0x1f )
|
---|
67 | #define EPM_PROTOCOL_UNIX_DS ( 0x20 )
|
---|
68 | #define EPM_PROTOCOL_NULL ( 0x21 )
|
---|
69 | #endif
|
---|
70 | ;
|
---|
71 |
|
---|
72 | struct epm_rhs_dnet_nsp {
|
---|
73 | char _empty_;
|
---|
74 | };
|
---|
75 |
|
---|
76 | struct epm_rhs_osi_tp4 {
|
---|
77 | char _empty_;
|
---|
78 | };
|
---|
79 |
|
---|
80 | struct epm_rhs_osi_clns {
|
---|
81 | char _empty_;
|
---|
82 | };
|
---|
83 |
|
---|
84 | struct epm_rhs_udp {
|
---|
85 | uint16_t port;
|
---|
86 | };
|
---|
87 |
|
---|
88 | struct epm_rhs_tcp {
|
---|
89 | uint16_t port;
|
---|
90 | };
|
---|
91 |
|
---|
92 | struct epm_rhs_ip {
|
---|
93 | const char * ipaddr;
|
---|
94 | };
|
---|
95 |
|
---|
96 | struct epm_rhs_ncadg {
|
---|
97 | uint16_t minor_version;
|
---|
98 | };
|
---|
99 |
|
---|
100 | struct epm_rhs_ncacn {
|
---|
101 | uint16_t minor_version;
|
---|
102 | };
|
---|
103 |
|
---|
104 | struct epm_rhs_uuid {
|
---|
105 | DATA_BLOB unknown;/* [flag(LIBNDR_FLAG_REMAINING)] */
|
---|
106 | };
|
---|
107 |
|
---|
108 | struct epm_rhs_ipx {
|
---|
109 | char _empty_;
|
---|
110 | };
|
---|
111 |
|
---|
112 | struct epm_rhs_smb {
|
---|
113 | const char * unc;/* [flag(LIBNDR_FLAG_STR_ASCII|LIBNDR_FLAG_STR_NULLTERM)] */
|
---|
114 | };
|
---|
115 |
|
---|
116 | struct epm_rhs_pipe {
|
---|
117 | const char * path;/* [flag(LIBNDR_FLAG_STR_ASCII|LIBNDR_FLAG_STR_NULLTERM)] */
|
---|
118 | };
|
---|
119 |
|
---|
120 | struct epm_rhs_netbios {
|
---|
121 | const char * name;/* [flag(LIBNDR_FLAG_STR_ASCII|LIBNDR_FLAG_STR_NULLTERM)] */
|
---|
122 | };
|
---|
123 |
|
---|
124 | struct epm_rhs_netbeui {
|
---|
125 | char _empty_;
|
---|
126 | };
|
---|
127 |
|
---|
128 | struct epm_rhs_spx {
|
---|
129 | char _empty_;
|
---|
130 | };
|
---|
131 |
|
---|
132 | struct epm_rhs_nb_ipx {
|
---|
133 | char _empty_;
|
---|
134 | };
|
---|
135 |
|
---|
136 | struct epm_rhs_http {
|
---|
137 | uint16_t port;
|
---|
138 | };
|
---|
139 |
|
---|
140 | struct epm_rhs_unix_ds {
|
---|
141 | const char * path;/* [flag(LIBNDR_FLAG_STR_ASCII|LIBNDR_FLAG_STR_NULLTERM)] */
|
---|
142 | };
|
---|
143 |
|
---|
144 | struct epm_rhs_null {
|
---|
145 | char _empty_;
|
---|
146 | };
|
---|
147 |
|
---|
148 | struct epm_rhs_ncalrpc {
|
---|
149 | uint16_t minor_version;
|
---|
150 | };
|
---|
151 |
|
---|
152 | struct epm_rhs_appletalk {
|
---|
153 | char _empty_;
|
---|
154 | };
|
---|
155 |
|
---|
156 | struct epm_rhs_atalk_stream {
|
---|
157 | char _empty_;
|
---|
158 | };
|
---|
159 |
|
---|
160 | struct epm_rhs_atalk_datagram {
|
---|
161 | char _empty_;
|
---|
162 | };
|
---|
163 |
|
---|
164 | struct epm_rhs_vines_spp {
|
---|
165 | uint16_t port;
|
---|
166 | };
|
---|
167 |
|
---|
168 | struct epm_rhs_vines_ipc {
|
---|
169 | uint16_t port;
|
---|
170 | };
|
---|
171 |
|
---|
172 | struct epm_rhs_streettalk {
|
---|
173 | const char * streettalk;/* [flag(LIBNDR_FLAG_STR_ASCII|LIBNDR_FLAG_STR_NULLTERM)] */
|
---|
174 | };
|
---|
175 |
|
---|
176 | union epm_rhs {
|
---|
177 | struct epm_rhs_dnet_nsp dnet_nsp;/* [case(EPM_PROTOCOL_DNET_NSP)] */
|
---|
178 | struct epm_rhs_osi_tp4 osi_tp4;/* [case(EPM_PROTOCOL_OSI_TP4)] */
|
---|
179 | struct epm_rhs_osi_clns osi_clns;/* [case(EPM_PROTOCOL_OSI_CLNS)] */
|
---|
180 | struct epm_rhs_tcp tcp;/* [case(EPM_PROTOCOL_TCP)] */
|
---|
181 | struct epm_rhs_udp udp;/* [case(EPM_PROTOCOL_UDP)] */
|
---|
182 | struct epm_rhs_ip ip;/* [case(EPM_PROTOCOL_IP)] */
|
---|
183 | struct epm_rhs_ncadg ncadg;/* [case(EPM_PROTOCOL_NCADG)] */
|
---|
184 | struct epm_rhs_ncacn ncacn;/* [case(EPM_PROTOCOL_NCACN)] */
|
---|
185 | struct epm_rhs_ncalrpc ncalrpc;/* [case(EPM_PROTOCOL_NCALRPC)] */
|
---|
186 | struct epm_rhs_uuid uuid;/* [case(EPM_PROTOCOL_UUID)] */
|
---|
187 | struct epm_rhs_ipx ipx;/* [case(EPM_PROTOCOL_IPX)] */
|
---|
188 | struct epm_rhs_smb smb;/* [case(EPM_PROTOCOL_SMB)] */
|
---|
189 | struct epm_rhs_pipe pipe;/* [case(EPM_PROTOCOL_PIPE)] */
|
---|
190 | struct epm_rhs_netbios netbios;/* [case(EPM_PROTOCOL_NETBIOS)] */
|
---|
191 | struct epm_rhs_netbeui netbeui;/* [case(EPM_PROTOCOL_NETBEUI)] */
|
---|
192 | struct epm_rhs_spx spx;/* [case(EPM_PROTOCOL_SPX)] */
|
---|
193 | struct epm_rhs_nb_ipx nb_ipx;/* [case(EPM_PROTOCOL_NB_IPX)] */
|
---|
194 | struct epm_rhs_atalk_stream atalk_stream;/* [case(EPM_PROTOCOL_DSP)] */
|
---|
195 | struct epm_rhs_atalk_datagram atalk_datagram;/* [case(EPM_PROTOCOL_DDP)] */
|
---|
196 | struct epm_rhs_appletalk appletalk;/* [case(EPM_PROTOCOL_APPLETALK)] */
|
---|
197 | struct epm_rhs_vines_spp vines_spp;/* [case(EPM_PROTOCOL_VINES_SPP)] */
|
---|
198 | struct epm_rhs_vines_ipc vines_ipc;/* [case(EPM_PROTOCOL_VINES_IPC)] */
|
---|
199 | struct epm_rhs_streettalk streettalk;/* [case(EPM_PROTOCOL_STREETTALK)] */
|
---|
200 | struct epm_rhs_http http;/* [case(EPM_PROTOCOL_HTTP)] */
|
---|
201 | struct epm_rhs_unix_ds unix_ds;/* [case(EPM_PROTOCOL_UNIX_DS)] */
|
---|
202 | struct epm_rhs_null null;/* [case(EPM_PROTOCOL_NULL)] */
|
---|
203 | DATA_BLOB unknown;/* [default,flag(LIBNDR_FLAG_REMAINING)] */
|
---|
204 | }/* [nodiscriminant,flag(LIBNDR_FLAG_BIGENDIAN)] */;
|
---|
205 |
|
---|
206 | struct epm_lhs {
|
---|
207 | enum epm_protocol protocol;
|
---|
208 | DATA_BLOB lhs_data;/* [flag(LIBNDR_FLAG_REMAINING)] */
|
---|
209 | };
|
---|
210 |
|
---|
211 | struct epm_floor {
|
---|
212 | struct epm_lhs lhs;/* [subcontext(2)] */
|
---|
213 | union epm_rhs rhs;/* [subcontext(2),switch_is(lhs.protocol)] */
|
---|
214 | };
|
---|
215 |
|
---|
216 | struct epm_tower {
|
---|
217 | uint16_t num_floors;
|
---|
218 | struct epm_floor *floors;
|
---|
219 | }/* [gensize,flag(LIBNDR_FLAG_NOALIGN|LIBNDR_FLAG_LITTLE_ENDIAN)] */;
|
---|
220 |
|
---|
221 | struct epm_twr_t {
|
---|
222 | uint32_t tower_length;/* [value(ndr_size_epm_tower(&tower,ndr->flags))] */
|
---|
223 | struct epm_tower tower;/* [subcontext(4)] */
|
---|
224 | };
|
---|
225 |
|
---|
226 | struct epm_entry_t {
|
---|
227 | struct GUID object;
|
---|
228 | struct epm_twr_t *tower;/* [ptr] */
|
---|
229 | const char * annotation;/* [flag(LIBNDR_FLAG_STR_ASCII|LIBNDR_FLAG_STR_LEN4)] */
|
---|
230 | };
|
---|
231 |
|
---|
232 | struct rpc_if_id_t {
|
---|
233 | struct GUID uuid;
|
---|
234 | uint16_t vers_major;
|
---|
235 | uint16_t vers_minor;
|
---|
236 | };
|
---|
237 |
|
---|
238 | struct epm_twr_p_t {
|
---|
239 | struct epm_twr_t *twr;/* [ptr] */
|
---|
240 | };
|
---|
241 |
|
---|
242 |
|
---|
243 | struct epm_Insert {
|
---|
244 | struct {
|
---|
245 | uint32_t num_ents;
|
---|
246 | struct epm_entry_t *entries;/* [size_is(num_ents)] */
|
---|
247 | uint32_t replace;
|
---|
248 | } in;
|
---|
249 |
|
---|
250 | struct {
|
---|
251 | uint32_t result;
|
---|
252 | } out;
|
---|
253 |
|
---|
254 | };
|
---|
255 |
|
---|
256 |
|
---|
257 | struct epm_Delete {
|
---|
258 | struct {
|
---|
259 | uint32_t num_ents;
|
---|
260 | struct epm_entry_t *entries;/* [size_is(num_ents)] */
|
---|
261 | } in;
|
---|
262 |
|
---|
263 | struct {
|
---|
264 | uint32_t result;
|
---|
265 | } out;
|
---|
266 |
|
---|
267 | };
|
---|
268 |
|
---|
269 |
|
---|
270 | struct epm_Lookup {
|
---|
271 | struct {
|
---|
272 | uint32_t inquiry_type;
|
---|
273 | struct GUID *object;/* [ptr] */
|
---|
274 | struct rpc_if_id_t *interface_id;/* [ptr] */
|
---|
275 | uint32_t vers_option;
|
---|
276 | uint32_t max_ents;
|
---|
277 | struct policy_handle *entry_handle;/* [ref] */
|
---|
278 | } in;
|
---|
279 |
|
---|
280 | struct {
|
---|
281 | uint32_t *num_ents;/* [ref] */
|
---|
282 | struct epm_entry_t *entries;/* [length_is(*num_ents),size_is(max_ents)] */
|
---|
283 | struct policy_handle *entry_handle;/* [ref] */
|
---|
284 | uint32_t result;
|
---|
285 | } out;
|
---|
286 |
|
---|
287 | };
|
---|
288 |
|
---|
289 |
|
---|
290 | struct epm_Map {
|
---|
291 | struct {
|
---|
292 | struct GUID *object;/* [ptr] */
|
---|
293 | struct epm_twr_t *map_tower;/* [ptr] */
|
---|
294 | uint32_t max_towers;
|
---|
295 | struct policy_handle *entry_handle;/* [ref] */
|
---|
296 | } in;
|
---|
297 |
|
---|
298 | struct {
|
---|
299 | uint32_t *num_towers;/* [ref] */
|
---|
300 | struct epm_twr_p_t *towers;/* [length_is(*num_towers),size_is(max_towers)] */
|
---|
301 | struct policy_handle *entry_handle;/* [ref] */
|
---|
302 | uint32_t result;
|
---|
303 | } out;
|
---|
304 |
|
---|
305 | };
|
---|
306 |
|
---|
307 |
|
---|
308 | struct epm_LookupHandleFree {
|
---|
309 | struct {
|
---|
310 | struct policy_handle *entry_handle;/* [ref] */
|
---|
311 | } in;
|
---|
312 |
|
---|
313 | struct {
|
---|
314 | struct policy_handle *entry_handle;/* [ref] */
|
---|
315 | uint32_t result;
|
---|
316 | } out;
|
---|
317 |
|
---|
318 | };
|
---|
319 |
|
---|
320 |
|
---|
321 | struct epm_InqObject {
|
---|
322 | struct {
|
---|
323 | struct GUID *epm_object;/* [ref] */
|
---|
324 | } in;
|
---|
325 |
|
---|
326 | struct {
|
---|
327 | uint32_t result;
|
---|
328 | } out;
|
---|
329 |
|
---|
330 | };
|
---|
331 |
|
---|
332 |
|
---|
333 | struct epm_MgmtDelete {
|
---|
334 | struct {
|
---|
335 | uint32_t object_speced;
|
---|
336 | struct GUID *object;/* [ptr] */
|
---|
337 | struct epm_twr_t *tower;/* [ptr] */
|
---|
338 | } in;
|
---|
339 |
|
---|
340 | struct {
|
---|
341 | uint32_t result;
|
---|
342 | } out;
|
---|
343 |
|
---|
344 | };
|
---|
345 |
|
---|
346 |
|
---|
347 | struct epm_MapAuth {
|
---|
348 | struct {
|
---|
349 | uint32_t result;
|
---|
350 | } out;
|
---|
351 |
|
---|
352 | };
|
---|
353 |
|
---|
354 | #endif /* _HEADER_epmapper */
|
---|