aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/pidl/mdssvc.cnf
blob: d041f7470229e15e75b76109a3450e108b4df2c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
MANUAL mdssvc_dissect_element_blob_spotlight_blob

NOEMIT mdssvc_dissect_element_blob_spotlight_blob_

CODE START
static int
mdssvc_dissect_element_blob_spotlight_blob(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info* di, guint8 *drep _U_)
{
	tvbuff_t *spotlight_tvb;
	dissector_handle_t spotlight_handle;

	if (di->conformant_run) {
		return offset;
	}

	spotlight_handle = find_dissector("afp_spotlight");
	if (spotlight_handle)
	{
		spotlight_tvb = tvb_new_subset_remaining(tvb, offset + 16);
		return (offset + 16 + call_dissector(spotlight_handle, spotlight_tvb, pinfo, tree));
	}

	return offset;
}
CODE END