epan/dissectors/pidl/ C99 drsuapi
[wireshark-sm.git] / epan / dissectors / packet-dcerpc-wzcsvc.c
blob056515d57213c56ccea96a50c9b5d64b742fb5d5
1 /* DO NOT EDIT
2 This file was automatically generated by Pidl
3 from wzcsvc.idl and wzcsvc.cnf.
5 Pidl is a perl based IDL compiler for DCE/RPC idl files.
6 It is maintained by the Samba team, not the Wireshark team.
7 Instructions on how to download and install Pidl can be
8 found at https://wiki.wireshark.org/Pidl
9 */
12 #include "config.h"
13 #include <string.h>
14 #include <wsutil/array.h>
15 #include <epan/packet.h>
16 #include <epan/tfs.h>
18 #include "packet-dcerpc.h"
19 #include "packet-dcerpc-nt.h"
20 #include "packet-windows-common.h"
21 #include "packet-dcerpc-wzcsvc.h"
22 void proto_register_dcerpc_wzcsvc(void);
23 void proto_reg_handoff_dcerpc_wzcsvc(void);
25 /* Ett declarations */
26 static int ett_dcerpc_wzcsvc;
29 /* Header field declarations */
30 static int hf_wzcsvc_opnum;
32 static int proto_dcerpc_wzcsvc;
33 /* Version information */
36 static e_guid_t uuid_dcerpc_wzcsvc = {
37 0x621dff68, 0x3c39, 0x4c6c,
38 { 0xaa, 0xe3, 0xe6, 0x8e, 0x2c, 0x65, 0x03, 0xad }
40 static uint16_t ver_dcerpc_wzcsvc = 1;
43 /* IDL: void wzcsvc_EnumInterfaces( */
44 /* IDL: */
45 /* IDL: ); */
47 static int
48 wzcsvc_dissect_EnumInterfaces_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
50 di->dcerpc_procedure_name="EnumInterfaces";
51 return offset;
54 static int
55 wzcsvc_dissect_EnumInterfaces_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
57 di->dcerpc_procedure_name="EnumInterfaces";
58 return offset;
61 /* IDL: void wzcsvc_QueryInterface( */
62 /* IDL: */
63 /* IDL: ); */
65 static int
66 wzcsvc_dissect_QueryInterface_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
68 di->dcerpc_procedure_name="QueryInterface";
69 return offset;
72 static int
73 wzcsvc_dissect_QueryInterface_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
75 di->dcerpc_procedure_name="QueryInterface";
76 return offset;
79 /* IDL: void wzcsvc_SetInterface( */
80 /* IDL: */
81 /* IDL: ); */
83 static int
84 wzcsvc_dissect_SetInterface_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
86 di->dcerpc_procedure_name="SetInterface";
87 return offset;
90 static int
91 wzcsvc_dissect_SetInterface_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
93 di->dcerpc_procedure_name="SetInterface";
94 return offset;
97 /* IDL: void wzcsvc_RefreshInterface( */
98 /* IDL: */
99 /* IDL: ); */
101 static int
102 wzcsvc_dissect_RefreshInterface_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
104 di->dcerpc_procedure_name="RefreshInterface";
105 return offset;
108 static int
109 wzcsvc_dissect_RefreshInterface_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
111 di->dcerpc_procedure_name="RefreshInterface";
112 return offset;
115 /* IDL: void wzcsvc_QueryContext( */
116 /* IDL: */
117 /* IDL: ); */
119 static int
120 wzcsvc_dissect_QueryContext_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
122 di->dcerpc_procedure_name="QueryContext";
123 return offset;
126 static int
127 wzcsvc_dissect_QueryContext_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
129 di->dcerpc_procedure_name="QueryContext";
130 return offset;
133 /* IDL: void wzcsvc_SetContext( */
134 /* IDL: */
135 /* IDL: ); */
137 static int
138 wzcsvc_dissect_SetContext_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
140 di->dcerpc_procedure_name="SetContext";
141 return offset;
144 static int
145 wzcsvc_dissect_SetContext_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
147 di->dcerpc_procedure_name="SetContext";
148 return offset;
151 /* IDL: void wzcsvc_EapolUIResponse( */
152 /* IDL: */
153 /* IDL: ); */
155 static int
156 wzcsvc_dissect_EapolUIResponse_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
158 di->dcerpc_procedure_name="EapolUIResponse";
159 return offset;
162 static int
163 wzcsvc_dissect_EapolUIResponse_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
165 di->dcerpc_procedure_name="EapolUIResponse";
166 return offset;
169 /* IDL: void wzcsvc_EapolGetCustomAuthData( */
170 /* IDL: */
171 /* IDL: ); */
173 static int
174 wzcsvc_dissect_EapolGetCustomAuthData_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
176 di->dcerpc_procedure_name="EapolGetCustomAuthData";
177 return offset;
180 static int
181 wzcsvc_dissect_EapolGetCustomAuthData_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
183 di->dcerpc_procedure_name="EapolGetCustomAuthData";
184 return offset;
187 /* IDL: void wzcsvc_EapolSetCustomAuthData( */
188 /* IDL: */
189 /* IDL: ); */
191 static int
192 wzcsvc_dissect_EapolSetCustomAuthData_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
194 di->dcerpc_procedure_name="EapolSetCustomAuthData";
195 return offset;
198 static int
199 wzcsvc_dissect_EapolSetCustomAuthData_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
201 di->dcerpc_procedure_name="EapolSetCustomAuthData";
202 return offset;
205 /* IDL: void wzcsvc_EapolGetInterfaceParams( */
206 /* IDL: */
207 /* IDL: ); */
209 static int
210 wzcsvc_dissect_EapolGetInterfaceParams_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
212 di->dcerpc_procedure_name="EapolGetInterfaceParams";
213 return offset;
216 static int
217 wzcsvc_dissect_EapolGetInterfaceParams_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
219 di->dcerpc_procedure_name="EapolGetInterfaceParams";
220 return offset;
223 /* IDL: void wzcsvc_EapolSetInterfaceParams( */
224 /* IDL: */
225 /* IDL: ); */
227 static int
228 wzcsvc_dissect_EapolSetInterfaceParams_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
230 di->dcerpc_procedure_name="EapolSetInterfaceParams";
231 return offset;
234 static int
235 wzcsvc_dissect_EapolSetInterfaceParams_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
237 di->dcerpc_procedure_name="EapolSetInterfaceParams";
238 return offset;
241 /* IDL: void wzcsvc_EapolReAuthenticateInterface( */
242 /* IDL: */
243 /* IDL: ); */
245 static int
246 wzcsvc_dissect_EapolReAuthenticateInterface_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
248 di->dcerpc_procedure_name="EapolReAuthenticateInterface";
249 return offset;
252 static int
253 wzcsvc_dissect_EapolReAuthenticateInterface_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
255 di->dcerpc_procedure_name="EapolReAuthenticateInterface";
256 return offset;
259 /* IDL: void wzcsvc_EapolQueryInterfaceState( */
260 /* IDL: */
261 /* IDL: ); */
263 static int
264 wzcsvc_dissect_EapolQueryInterfaceState_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
266 di->dcerpc_procedure_name="EapolQueryInterfaceState";
267 return offset;
270 static int
271 wzcsvc_dissect_EapolQueryInterfaceState_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
273 di->dcerpc_procedure_name="EapolQueryInterfaceState";
274 return offset;
277 /* IDL: void wzcsvc_OpenWZCDbLogSession( */
278 /* IDL: */
279 /* IDL: ); */
281 static int
282 wzcsvc_dissect_OpenWZCDbLogSession_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
284 di->dcerpc_procedure_name="OpenWZCDbLogSession";
285 return offset;
288 static int
289 wzcsvc_dissect_OpenWZCDbLogSession_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
291 di->dcerpc_procedure_name="OpenWZCDbLogSession";
292 return offset;
295 /* IDL: void wzcsvc_CloseWZCDbLogSession( */
296 /* IDL: */
297 /* IDL: ); */
299 static int
300 wzcsvc_dissect_CloseWZCDbLogSession_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
302 di->dcerpc_procedure_name="CloseWZCDbLogSession";
303 return offset;
306 static int
307 wzcsvc_dissect_CloseWZCDbLogSession_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
309 di->dcerpc_procedure_name="CloseWZCDbLogSession";
310 return offset;
313 /* IDL: void wzcsvc_EnumWZCDbLogRecords( */
314 /* IDL: */
315 /* IDL: ); */
317 static int
318 wzcsvc_dissect_EnumWZCDbLogRecords_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
320 di->dcerpc_procedure_name="EnumWZCDbLogRecords";
321 return offset;
324 static int
325 wzcsvc_dissect_EnumWZCDbLogRecords_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
327 di->dcerpc_procedure_name="EnumWZCDbLogRecords";
328 return offset;
331 /* IDL: void wzcsvc_FlushWZCdbLog( */
332 /* IDL: */
333 /* IDL: ); */
335 static int
336 wzcsvc_dissect_FlushWZCdbLog_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
338 di->dcerpc_procedure_name="FlushWZCdbLog";
339 return offset;
342 static int
343 wzcsvc_dissect_FlushWZCdbLog_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
345 di->dcerpc_procedure_name="FlushWZCdbLog";
346 return offset;
349 /* IDL: void wzcsvc_GetWZCDbLogRecord( */
350 /* IDL: */
351 /* IDL: ); */
353 static int
354 wzcsvc_dissect_GetWZCDbLogRecord_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
356 di->dcerpc_procedure_name="GetWZCDbLogRecord";
357 return offset;
360 static int
361 wzcsvc_dissect_GetWZCDbLogRecord_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_)
363 di->dcerpc_procedure_name="GetWZCDbLogRecord";
364 return offset;
368 static const dcerpc_sub_dissector wzcsvc_dissectors[] = {
369 { 0, "EnumInterfaces",
370 wzcsvc_dissect_EnumInterfaces_request, wzcsvc_dissect_EnumInterfaces_response},
371 { 1, "QueryInterface",
372 wzcsvc_dissect_QueryInterface_request, wzcsvc_dissect_QueryInterface_response},
373 { 2, "SetInterface",
374 wzcsvc_dissect_SetInterface_request, wzcsvc_dissect_SetInterface_response},
375 { 3, "RefreshInterface",
376 wzcsvc_dissect_RefreshInterface_request, wzcsvc_dissect_RefreshInterface_response},
377 { 4, "QueryContext",
378 wzcsvc_dissect_QueryContext_request, wzcsvc_dissect_QueryContext_response},
379 { 5, "SetContext",
380 wzcsvc_dissect_SetContext_request, wzcsvc_dissect_SetContext_response},
381 { 6, "EapolUIResponse",
382 wzcsvc_dissect_EapolUIResponse_request, wzcsvc_dissect_EapolUIResponse_response},
383 { 7, "EapolGetCustomAuthData",
384 wzcsvc_dissect_EapolGetCustomAuthData_request, wzcsvc_dissect_EapolGetCustomAuthData_response},
385 { 8, "EapolSetCustomAuthData",
386 wzcsvc_dissect_EapolSetCustomAuthData_request, wzcsvc_dissect_EapolSetCustomAuthData_response},
387 { 9, "EapolGetInterfaceParams",
388 wzcsvc_dissect_EapolGetInterfaceParams_request, wzcsvc_dissect_EapolGetInterfaceParams_response},
389 { 10, "EapolSetInterfaceParams",
390 wzcsvc_dissect_EapolSetInterfaceParams_request, wzcsvc_dissect_EapolSetInterfaceParams_response},
391 { 11, "EapolReAuthenticateInterface",
392 wzcsvc_dissect_EapolReAuthenticateInterface_request, wzcsvc_dissect_EapolReAuthenticateInterface_response},
393 { 12, "EapolQueryInterfaceState",
394 wzcsvc_dissect_EapolQueryInterfaceState_request, wzcsvc_dissect_EapolQueryInterfaceState_response},
395 { 13, "OpenWZCDbLogSession",
396 wzcsvc_dissect_OpenWZCDbLogSession_request, wzcsvc_dissect_OpenWZCDbLogSession_response},
397 { 14, "CloseWZCDbLogSession",
398 wzcsvc_dissect_CloseWZCDbLogSession_request, wzcsvc_dissect_CloseWZCDbLogSession_response},
399 { 15, "EnumWZCDbLogRecords",
400 wzcsvc_dissect_EnumWZCDbLogRecords_request, wzcsvc_dissect_EnumWZCDbLogRecords_response},
401 { 16, "FlushWZCdbLog",
402 wzcsvc_dissect_FlushWZCdbLog_request, wzcsvc_dissect_FlushWZCdbLog_response},
403 { 17, "GetWZCDbLogRecord",
404 wzcsvc_dissect_GetWZCDbLogRecord_request, wzcsvc_dissect_GetWZCDbLogRecord_response},
405 { 0, NULL, NULL, NULL }
408 void proto_register_dcerpc_wzcsvc(void)
410 static hf_register_info hf[] = {
411 { &hf_wzcsvc_opnum,
412 { "Operation", "wzcsvc.opnum", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
416 static int *ett[] = {
417 &ett_dcerpc_wzcsvc,
420 proto_dcerpc_wzcsvc = proto_register_protocol("Wireless Configuration Service", "WZCSVC", "wzcsvc");
421 proto_register_field_array(proto_dcerpc_wzcsvc, hf, array_length (hf));
422 proto_register_subtree_array(ett, array_length(ett));
425 void proto_reg_handoff_dcerpc_wzcsvc(void)
427 dcerpc_init_uuid(proto_dcerpc_wzcsvc, ett_dcerpc_wzcsvc,
428 &uuid_dcerpc_wzcsvc, ver_dcerpc_wzcsvc,
429 wzcsvc_dissectors, hf_wzcsvc_opnum);