1 /* header auto-generated by pidl */
5 #include "librpc/gen_ndr/misc.h"
6 #ifndef _HEADER_epmapper
7 #define _HEADER_epmapper
9 #define EPMAPPER_STATUS_NO_MORE_ENTRIES ( 0x16c9a0d6 )
10 #define EPMAPPER_STATUS_NO_MEMORY ( 0x16C9A012 )
11 #define EPMAPPER_STATUS_OK ( 0 )
13 #ifndef USE_UINT_ENUMS
15 EPM_PROTOCOL_DNET_NSP=0x04,
16 EPM_PROTOCOL_OSI_TP4=0x05,
17 EPM_PROTOCOL_OSI_CLNS=0x06,
18 EPM_PROTOCOL_TCP=0x07,
19 EPM_PROTOCOL_UDP=0x08,
21 EPM_PROTOCOL_NCADG=0x0a,
22 EPM_PROTOCOL_NCACN=0x0b,
23 EPM_PROTOCOL_NCALRPC=0x0c,
24 EPM_PROTOCOL_UUID=0x0d,
25 EPM_PROTOCOL_IPX=0x0e,
26 EPM_PROTOCOL_SMB=0x0f,
27 EPM_PROTOCOL_PIPE=0x10,
28 EPM_PROTOCOL_NETBIOS=0x11,
29 EPM_PROTOCOL_NETBEUI=0x12,
30 EPM_PROTOCOL_SPX=0x13,
31 EPM_PROTOCOL_NB_IPX=0x14,
32 EPM_PROTOCOL_DSP=0x16,
33 EPM_PROTOCOL_DDP=0x17,
34 EPM_PROTOCOL_APPLETALK=0x18,
35 EPM_PROTOCOL_VINES_SPP=0x1a,
36 EPM_PROTOCOL_VINES_IPC=0x1b,
37 EPM_PROTOCOL_STREETTALK=0x1c,
38 EPM_PROTOCOL_HTTP=0x1f,
39 EPM_PROTOCOL_UNIX_DS=0x20,
40 EPM_PROTOCOL_NULL=0x21
43 { __donnot_use_enum_epm_protocol=0x7FFFFFFF}
44 #define EPM_PROTOCOL_DNET_NSP ( 0x04 )
45 #define EPM_PROTOCOL_OSI_TP4 ( 0x05 )
46 #define EPM_PROTOCOL_OSI_CLNS ( 0x06 )
47 #define EPM_PROTOCOL_TCP ( 0x07 )
48 #define EPM_PROTOCOL_UDP ( 0x08 )
49 #define EPM_PROTOCOL_IP ( 0x09 )
50 #define EPM_PROTOCOL_NCADG ( 0x0a )
51 #define EPM_PROTOCOL_NCACN ( 0x0b )
52 #define EPM_PROTOCOL_NCALRPC ( 0x0c )
53 #define EPM_PROTOCOL_UUID ( 0x0d )
54 #define EPM_PROTOCOL_IPX ( 0x0e )
55 #define EPM_PROTOCOL_SMB ( 0x0f )
56 #define EPM_PROTOCOL_PIPE ( 0x10 )
57 #define EPM_PROTOCOL_NETBIOS ( 0x11 )
58 #define EPM_PROTOCOL_NETBEUI ( 0x12 )
59 #define EPM_PROTOCOL_SPX ( 0x13 )
60 #define EPM_PROTOCOL_NB_IPX ( 0x14 )
61 #define EPM_PROTOCOL_DSP ( 0x16 )
62 #define EPM_PROTOCOL_DDP ( 0x17 )
63 #define EPM_PROTOCOL_APPLETALK ( 0x18 )
64 #define EPM_PROTOCOL_VINES_SPP ( 0x1a )
65 #define EPM_PROTOCOL_VINES_IPC ( 0x1b )
66 #define EPM_PROTOCOL_STREETTALK ( 0x1c )
67 #define EPM_PROTOCOL_HTTP ( 0x1f )
68 #define EPM_PROTOCOL_UNIX_DS ( 0x20 )
69 #define EPM_PROTOCOL_NULL ( 0x21 )
73 struct epm_rhs_dnet_nsp {
77 struct epm_rhs_osi_tp4 {
81 struct epm_rhs_osi_clns {
97 struct epm_rhs_ncadg {
98 uint16_t minor_version;
101 struct epm_rhs_ncacn {
102 uint16_t minor_version;
105 struct epm_rhs_uuid {
106 DATA_BLOB unknown;/* [flag(LIBNDR_FLAG_REMAINING)] */
114 const char * unc;/* [flag(LIBNDR_FLAG_STR_ASCII|LIBNDR_FLAG_STR_NULLTERM)] */
117 struct epm_rhs_pipe {
118 const char * path;/* [flag(LIBNDR_FLAG_STR_ASCII|LIBNDR_FLAG_STR_NULLTERM)] */
121 struct epm_rhs_netbios {
122 const char * name;/* [flag(LIBNDR_FLAG_STR_ASCII|LIBNDR_FLAG_STR_NULLTERM)] */
125 struct epm_rhs_netbeui {
133 struct epm_rhs_nb_ipx {
137 struct epm_rhs_http {
141 struct epm_rhs_unix_ds {
142 const char * path;/* [flag(LIBNDR_FLAG_STR_ASCII|LIBNDR_FLAG_STR_NULLTERM)] */
145 struct epm_rhs_null {
149 struct epm_rhs_ncalrpc {
150 uint16_t minor_version;
153 struct epm_rhs_appletalk {
157 struct epm_rhs_atalk_stream {
161 struct epm_rhs_atalk_datagram {
165 struct epm_rhs_vines_spp {
169 struct epm_rhs_vines_ipc {
173 struct epm_rhs_streettalk {
174 const char * streettalk;/* [flag(LIBNDR_FLAG_STR_ASCII|LIBNDR_FLAG_STR_NULLTERM)] */
178 struct epm_rhs_dnet_nsp dnet_nsp;/* [case(EPM_PROTOCOL_DNET_NSP)] */
179 struct epm_rhs_osi_tp4 osi_tp4;/* [case(EPM_PROTOCOL_OSI_TP4)] */
180 struct epm_rhs_osi_clns osi_clns;/* [case(EPM_PROTOCOL_OSI_CLNS)] */
181 struct epm_rhs_tcp tcp;/* [case(EPM_PROTOCOL_TCP)] */
182 struct epm_rhs_udp udp;/* [case(EPM_PROTOCOL_UDP)] */
183 struct epm_rhs_ip ip;/* [case(EPM_PROTOCOL_IP)] */
184 struct epm_rhs_ncadg ncadg;/* [case(EPM_PROTOCOL_NCADG)] */
185 struct epm_rhs_ncacn ncacn;/* [case(EPM_PROTOCOL_NCACN)] */
186 struct epm_rhs_ncalrpc ncalrpc;/* [case(EPM_PROTOCOL_NCALRPC)] */
187 struct epm_rhs_uuid uuid;/* [case(EPM_PROTOCOL_UUID)] */
188 struct epm_rhs_ipx ipx;/* [case(EPM_PROTOCOL_IPX)] */
189 struct epm_rhs_smb smb;/* [case(EPM_PROTOCOL_SMB)] */
190 struct epm_rhs_pipe pipe;/* [case(EPM_PROTOCOL_PIPE)] */
191 struct epm_rhs_netbios netbios;/* [case(EPM_PROTOCOL_NETBIOS)] */
192 struct epm_rhs_netbeui netbeui;/* [case(EPM_PROTOCOL_NETBEUI)] */
193 struct epm_rhs_spx spx;/* [case(EPM_PROTOCOL_SPX)] */
194 struct epm_rhs_nb_ipx nb_ipx;/* [case(EPM_PROTOCOL_NB_IPX)] */
195 struct epm_rhs_atalk_stream atalk_stream;/* [case(EPM_PROTOCOL_DSP)] */
196 struct epm_rhs_atalk_datagram atalk_datagram;/* [case(EPM_PROTOCOL_DDP)] */
197 struct epm_rhs_appletalk appletalk;/* [case(EPM_PROTOCOL_APPLETALK)] */
198 struct epm_rhs_vines_spp vines_spp;/* [case(EPM_PROTOCOL_VINES_SPP)] */
199 struct epm_rhs_vines_ipc vines_ipc;/* [case(EPM_PROTOCOL_VINES_IPC)] */
200 struct epm_rhs_streettalk streettalk;/* [case(EPM_PROTOCOL_STREETTALK)] */
201 struct epm_rhs_http http;/* [case(EPM_PROTOCOL_HTTP)] */
202 struct epm_rhs_unix_ds unix_ds;/* [case(EPM_PROTOCOL_UNIX_DS)] */
203 struct epm_rhs_null null;/* [case(EPM_PROTOCOL_NULL)] */
204 DATA_BLOB unknown;/* [default,flag(LIBNDR_FLAG_REMAINING)] */
205 }/* [nodiscriminant,flag(LIBNDR_FLAG_BIGENDIAN)] */;
208 enum epm_protocol protocol;
209 DATA_BLOB lhs_data;/* [flag(LIBNDR_FLAG_REMAINING)] */
213 struct epm_lhs lhs;/* [subcontext(2)] */
214 union epm_rhs rhs;/* [subcontext(2),switch_is(lhs.protocol)] */
219 struct epm_floor *floors;
220 }/* [gensize,flag(LIBNDR_FLAG_NOALIGN|LIBNDR_FLAG_LITTLE_ENDIAN)] */;
223 uint32_t tower_length;/* [value(ndr_size_epm_tower(&tower,ndr->iconv_convenience,ndr->flags))] */
224 struct epm_tower tower;/* [subcontext(4)] */
229 struct epm_twr_t *tower;/* [ptr] */
230 uint32_t __annotation_offset;/* [value(0)] */
231 uint32_t __annotation_length;/* [value(strlen(annotation)+1)] */
232 const char *annotation;/* [charset(DOS)] */
242 struct epm_twr_t *twr;/* [ptr] */
249 struct epm_entry_t *entries;/* [size_is(num_ents)] */
263 struct epm_entry_t *entries;/* [size_is(num_ents)] */
275 uint32_t inquiry_type;
276 struct GUID *object;/* [ptr] */
277 struct rpc_if_id_t *interface_id;/* [ptr] */
278 uint32_t vers_option;
280 struct policy_handle *entry_handle;/* [ref] */
284 uint32_t *num_ents;/* [ref] */
285 struct epm_entry_t *entries;/* [length_is(*num_ents),size_is(max_ents)] */
286 struct policy_handle *entry_handle;/* [ref] */
295 struct GUID *object;/* [ptr] */
296 struct epm_twr_t *map_tower;/* [ptr] */
298 struct policy_handle *entry_handle;/* [ref] */
302 uint32_t *num_towers;/* [ref] */
303 struct epm_twr_p_t *towers;/* [length_is(*num_towers),size_is(max_towers)] */
304 struct policy_handle *entry_handle;/* [ref] */
311 struct epm_LookupHandleFree {
313 struct policy_handle *entry_handle;/* [ref] */
317 struct policy_handle *entry_handle;/* [ref] */
324 struct epm_InqObject {
326 struct GUID *epm_object;/* [ref] */
336 struct epm_MgmtDelete {
338 uint32_t object_speced;
339 struct GUID *object;/* [ptr] */
340 struct epm_twr_t *tower;/* [ptr] */
357 #endif /* _HEADER_epmapper */