dcerpc-netlogon: maintain netlogon_auth_vars for NetrServerAuthenticateKerberos
[wireshark-sm.git] / epan / dissectors / pidl / clusapi / clusapi.cnf
blob9f254fc756943d397fdc036805d51540bf7be73d
1 TYPE winreg_Type "offset = misc_dissect_enum_winreg_Type(tvb, offset, pinfo, tree, di, drep, @HF@, @PARAM@);" FT_NONE BASE_NONE 0 NULL NULL
2 TYPE winreg_AccessMask "offset = winreg_dissect_bitmap_AccessMask(tvb, offset, pinfo, tree, di, drep, @HF@, @PARAM@);" FT_NONE BASE_NONE 0 NULL NULL
4 #MANUAL clusapi_dissect_struct_PROPERTY_LIST
5 #NOEMIT clusapi_dissect_element_PROPERTY_LIST_propertyValues_
7 #CODE START
9 #int
10 #clusapi_dissect_struct_PROPERTY_LIST(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, uint8_t *drep _U_, int hf_index _U_, uint32_t param _U_)
12 #      proto_item *item = NULL;
13 #      proto_tree *tree = NULL;
14 #      int old_offset;
15 #      uint32_t i, count;
17 #      ALIGN_TO_4_BYTES;
19 #      ALIGN_TO_4_BYTES;
21 #      old_offset = offset;
23 #      if (parent_tree) {
24 #              item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);
25 #              tree = proto_item_add_subtree(item, ett_clusapi_clusapi_PROPERTY_LIST);
26 #      }
28 #      count = tvb_get_letohl(tvb, offset);
30 #      offset = clusapi_dissect_element_PROPERTY_LIST_propertyCount(tvb, offset, pinfo, tree, di, drep);
32 #      for (i=0; i < count; i++) {
33 #              offset = clusapi_dissect_element_PROPERTY_LIST_propertyValues(tvb, offset, pinfo, tree, di, drep);
34 #      }
36 #      offset = clusapi_dissect_element_PROPERTY_LIST_end_mark(tvb, offset, pinfo, tree, di, drep);
39 #      proto_item_set_len(item, offset-old_offset);
42 #      if (di->call_data->flags & DCERPC_IS_NDR64) {
43 #              ALIGN_TO_4_BYTES;
44 #      }
46 #      return offset;
49 #CODE END