r25068: Older samba3 DCs will return DCERPC_FAULT_OP_RNG_ERROR for every opcode on the
[Samba.git] / source / librpc / gen_ndr / epmapper.h
blob0fb5ed048e51602969d571e3e231991a15bc727b
1 /* header auto-generated by pidl */
3 #include <stdint.h>
5 #ifndef _HEADER_epmapper
6 #define _HEADER_epmapper
8 #define EPMAPPER_STATUS_NO_MORE_ENTRIES ( 0x16c9a0d6 )
9 #define EPMAPPER_STATUS_NO_MEMORY ( 0x16C9A012 )
10 #define EPMAPPER_STATUS_OK ( 0 )
11 #ifndef USE_UINT_ENUMS
12 enum epm_protocol {
13 EPM_PROTOCOL_DNET_NSP=0x04,
14 EPM_PROTOCOL_OSI_TP4=0x05,
15 EPM_PROTOCOL_OSI_CLNS=0x06,
16 EPM_PROTOCOL_TCP=0x07,
17 EPM_PROTOCOL_UDP=0x08,
18 EPM_PROTOCOL_IP=0x09,
19 EPM_PROTOCOL_NCADG=0x0a,
20 EPM_PROTOCOL_NCACN=0x0b,
21 EPM_PROTOCOL_NCALRPC=0x0c,
22 EPM_PROTOCOL_UUID=0x0d,
23 EPM_PROTOCOL_IPX=0x0e,
24 EPM_PROTOCOL_SMB=0x0f,
25 EPM_PROTOCOL_PIPE=0x10,
26 EPM_PROTOCOL_NETBIOS=0x11,
27 EPM_PROTOCOL_NETBEUI=0x12,
28 EPM_PROTOCOL_SPX=0x13,
29 EPM_PROTOCOL_NB_IPX=0x14,
30 EPM_PROTOCOL_DSP=0x16,
31 EPM_PROTOCOL_DDP=0x17,
32 EPM_PROTOCOL_APPLETALK=0x18,
33 EPM_PROTOCOL_VINES_SPP=0x1a,
34 EPM_PROTOCOL_VINES_IPC=0x1b,
35 EPM_PROTOCOL_STREETTALK=0x1c,
36 EPM_PROTOCOL_HTTP=0x1f,
37 EPM_PROTOCOL_UNIX_DS=0x20,
38 EPM_PROTOCOL_NULL=0x21
40 #else
41 enum epm_protocol { __donnot_use_enum_epm_protocol=0x7FFFFFFF}
42 #define EPM_PROTOCOL_DNET_NSP ( 0x04 )
43 #define EPM_PROTOCOL_OSI_TP4 ( 0x05 )
44 #define EPM_PROTOCOL_OSI_CLNS ( 0x06 )
45 #define EPM_PROTOCOL_TCP ( 0x07 )
46 #define EPM_PROTOCOL_UDP ( 0x08 )
47 #define EPM_PROTOCOL_IP ( 0x09 )
48 #define EPM_PROTOCOL_NCADG ( 0x0a )
49 #define EPM_PROTOCOL_NCACN ( 0x0b )
50 #define EPM_PROTOCOL_NCALRPC ( 0x0c )
51 #define EPM_PROTOCOL_UUID ( 0x0d )
52 #define EPM_PROTOCOL_IPX ( 0x0e )
53 #define EPM_PROTOCOL_SMB ( 0x0f )
54 #define EPM_PROTOCOL_PIPE ( 0x10 )
55 #define EPM_PROTOCOL_NETBIOS ( 0x11 )
56 #define EPM_PROTOCOL_NETBEUI ( 0x12 )
57 #define EPM_PROTOCOL_SPX ( 0x13 )
58 #define EPM_PROTOCOL_NB_IPX ( 0x14 )
59 #define EPM_PROTOCOL_DSP ( 0x16 )
60 #define EPM_PROTOCOL_DDP ( 0x17 )
61 #define EPM_PROTOCOL_APPLETALK ( 0x18 )
62 #define EPM_PROTOCOL_VINES_SPP ( 0x1a )
63 #define EPM_PROTOCOL_VINES_IPC ( 0x1b )
64 #define EPM_PROTOCOL_STREETTALK ( 0x1c )
65 #define EPM_PROTOCOL_HTTP ( 0x1f )
66 #define EPM_PROTOCOL_UNIX_DS ( 0x20 )
67 #define EPM_PROTOCOL_NULL ( 0x21 )
68 #endif
71 struct epm_rhs_dnet_nsp {
72 char _empty_;
75 struct epm_rhs_osi_tp4 {
76 char _empty_;
79 struct epm_rhs_osi_clns {
80 char _empty_;
83 struct epm_rhs_udp {
84 uint16_t port;
87 struct epm_rhs_tcp {
88 uint16_t port;
91 struct epm_rhs_ip {
92 const char * ipaddr;
95 struct epm_rhs_ncadg {
96 uint16_t minor_version;
99 struct epm_rhs_ncacn {
100 uint16_t minor_version;
103 struct epm_rhs_uuid {
104 DATA_BLOB unknown;/* [flag(LIBNDR_FLAG_REMAINING)] */
107 struct epm_rhs_ipx {
108 char _empty_;
111 struct epm_rhs_smb {
112 const char * unc;/* [flag(LIBNDR_FLAG_STR_ASCII|LIBNDR_FLAG_STR_NULLTERM)] */
115 struct epm_rhs_pipe {
116 const char * path;/* [flag(LIBNDR_FLAG_STR_ASCII|LIBNDR_FLAG_STR_NULLTERM)] */
119 struct epm_rhs_netbios {
120 const char * name;/* [flag(LIBNDR_FLAG_STR_ASCII|LIBNDR_FLAG_STR_NULLTERM)] */
123 struct epm_rhs_netbeui {
124 char _empty_;
127 struct epm_rhs_spx {
128 char _empty_;
131 struct epm_rhs_nb_ipx {
132 char _empty_;
135 struct epm_rhs_http {
136 uint16_t port;
139 struct epm_rhs_unix_ds {
140 const char * path;/* [flag(LIBNDR_FLAG_STR_ASCII|LIBNDR_FLAG_STR_NULLTERM)] */
143 struct epm_rhs_null {
144 char _empty_;
147 struct epm_rhs_ncalrpc {
148 uint16_t minor_version;
151 struct epm_rhs_appletalk {
152 char _empty_;
155 struct epm_rhs_atalk_stream {
156 char _empty_;
159 struct epm_rhs_atalk_datagram {
160 char _empty_;
163 struct epm_rhs_vines_spp {
164 uint16_t port;
167 struct epm_rhs_vines_ipc {
168 uint16_t port;
171 struct epm_rhs_streettalk {
172 const char * streettalk;/* [flag(LIBNDR_FLAG_STR_ASCII|LIBNDR_FLAG_STR_NULLTERM)] */
175 union epm_rhs {
176 struct epm_rhs_dnet_nsp dnet_nsp;/* [case(EPM_PROTOCOL_DNET_NSP)] */
177 struct epm_rhs_osi_tp4 osi_tp4;/* [case(EPM_PROTOCOL_OSI_TP4)] */
178 struct epm_rhs_osi_clns osi_clns;/* [case(EPM_PROTOCOL_OSI_CLNS)] */
179 struct epm_rhs_tcp tcp;/* [case(EPM_PROTOCOL_TCP)] */
180 struct epm_rhs_udp udp;/* [case(EPM_PROTOCOL_UDP)] */
181 struct epm_rhs_ip ip;/* [case(EPM_PROTOCOL_IP)] */
182 struct epm_rhs_ncadg ncadg;/* [case(EPM_PROTOCOL_NCADG)] */
183 struct epm_rhs_ncacn ncacn;/* [case(EPM_PROTOCOL_NCACN)] */
184 struct epm_rhs_ncalrpc ncalrpc;/* [case(EPM_PROTOCOL_NCALRPC)] */
185 struct epm_rhs_uuid uuid;/* [case(EPM_PROTOCOL_UUID)] */
186 struct epm_rhs_ipx ipx;/* [case(EPM_PROTOCOL_IPX)] */
187 struct epm_rhs_smb smb;/* [case(EPM_PROTOCOL_SMB)] */
188 struct epm_rhs_pipe pipe;/* [case(EPM_PROTOCOL_PIPE)] */
189 struct epm_rhs_netbios netbios;/* [case(EPM_PROTOCOL_NETBIOS)] */
190 struct epm_rhs_netbeui netbeui;/* [case(EPM_PROTOCOL_NETBEUI)] */
191 struct epm_rhs_spx spx;/* [case(EPM_PROTOCOL_SPX)] */
192 struct epm_rhs_nb_ipx nb_ipx;/* [case(EPM_PROTOCOL_NB_IPX)] */
193 struct epm_rhs_atalk_stream atalk_stream;/* [case(EPM_PROTOCOL_DSP)] */
194 struct epm_rhs_atalk_datagram atalk_datagram;/* [case(EPM_PROTOCOL_DDP)] */
195 struct epm_rhs_appletalk appletalk;/* [case(EPM_PROTOCOL_APPLETALK)] */
196 struct epm_rhs_vines_spp vines_spp;/* [case(EPM_PROTOCOL_VINES_SPP)] */
197 struct epm_rhs_vines_ipc vines_ipc;/* [case(EPM_PROTOCOL_VINES_IPC)] */
198 struct epm_rhs_streettalk streettalk;/* [case(EPM_PROTOCOL_STREETTALK)] */
199 struct epm_rhs_http http;/* [case(EPM_PROTOCOL_HTTP)] */
200 struct epm_rhs_unix_ds unix_ds;/* [case(EPM_PROTOCOL_UNIX_DS)] */
201 struct epm_rhs_null null;/* [case(EPM_PROTOCOL_NULL)] */
202 DATA_BLOB unknown;/* [default,flag(LIBNDR_FLAG_REMAINING)] */
203 }/* [nodiscriminant,flag(LIBNDR_FLAG_BIGENDIAN)] */;
205 struct epm_lhs {
206 enum epm_protocol protocol;
207 DATA_BLOB lhs_data;/* [flag(LIBNDR_FLAG_REMAINING)] */
210 struct epm_floor {
211 struct epm_lhs lhs;/* [subcontext(2)] */
212 union epm_rhs rhs;/* [subcontext(2),switch_is(lhs.protocol)] */
215 struct epm_tower {
216 uint16_t num_floors;
217 struct epm_floor *floors;
218 }/* [gensize,flag(LIBNDR_FLAG_NOALIGN|LIBNDR_FLAG_LITTLE_ENDIAN)] */;
220 struct epm_twr_t {
221 uint32_t tower_length;/* [value(ndr_size_epm_tower(&tower,ndr->flags))] */
222 struct epm_tower tower;/* [subcontext(4)] */
225 struct epm_entry_t {
226 struct GUID object;
227 struct epm_twr_t *tower;/* [ptr] */
228 const char * annotation;/* [flag(LIBNDR_FLAG_STR_ASCII|LIBNDR_FLAG_STR_LEN4)] */
231 struct rpc_if_id_t {
232 struct GUID uuid;
233 uint16_t vers_major;
234 uint16_t vers_minor;
237 struct epm_twr_p_t {
238 struct epm_twr_t *twr;/* [ptr] */
242 struct epm_Insert {
243 struct {
244 uint32_t num_ents;
245 struct epm_entry_t *entries;/* [size_is(num_ents)] */
246 uint32_t replace;
247 } in;
249 struct {
250 uint32_t result;
251 } out;
256 struct epm_Delete {
257 struct {
258 uint32_t num_ents;
259 struct epm_entry_t *entries;/* [size_is(num_ents)] */
260 } in;
262 struct {
263 uint32_t result;
264 } out;
269 struct epm_Lookup {
270 struct {
271 uint32_t inquiry_type;
272 struct GUID *object;/* [ptr] */
273 struct rpc_if_id_t *interface_id;/* [ptr] */
274 uint32_t vers_option;
275 uint32_t max_ents;
276 struct policy_handle *entry_handle;/* [ref] */
277 } in;
279 struct {
280 uint32_t *num_ents;/* [ref] */
281 struct epm_entry_t *entries;/* [length_is(*num_ents),size_is(max_ents)] */
282 struct policy_handle *entry_handle;/* [ref] */
283 uint32_t result;
284 } out;
289 struct epm_Map {
290 struct {
291 struct GUID *object;/* [ptr] */
292 struct epm_twr_t *map_tower;/* [ptr] */
293 uint32_t max_towers;
294 struct policy_handle *entry_handle;/* [ref] */
295 } in;
297 struct {
298 uint32_t *num_towers;/* [ref] */
299 struct epm_twr_p_t *towers;/* [length_is(*num_towers),size_is(max_towers)] */
300 struct policy_handle *entry_handle;/* [ref] */
301 uint32_t result;
302 } out;
307 struct epm_LookupHandleFree {
308 struct {
309 struct policy_handle *entry_handle;/* [ref] */
310 } in;
312 struct {
313 struct policy_handle *entry_handle;/* [ref] */
314 uint32_t result;
315 } out;
320 struct epm_InqObject {
321 struct {
322 struct GUID *epm_object;/* [ref] */
323 } in;
325 struct {
326 uint32_t result;
327 } out;
332 struct epm_MgmtDelete {
333 struct {
334 uint32_t object_speced;
335 struct GUID *object;/* [ptr] */
336 struct epm_twr_t *tower;/* [ptr] */
337 } in;
339 struct {
340 uint32_t result;
341 } out;
346 struct epm_MapAuth {
347 struct {
348 uint32_t result;
349 } out;
353 #endif /* _HEADER_epmapper */