2 * SPDX-License-Identifier: MIT
4 * Copyright 2016-2018 Philippe Proulx <pproulx@efficios.com>
6 * The Common Trace Format (CTF) Specification is available at
7 * http://www.efficios.com/ctf
10 #ifndef BABELTRACE_TRACE_IR_RESOLVE_FIELD_PATH_INTERNAL
11 #define BABELTRACE_TRACE_IR_RESOLVE_FIELD_PATH_INTERNAL
13 #include <babeltrace2/trace-ir/field-class.h>
14 #include <babeltrace2/trace-ir/field-path.h>
17 struct bt_resolve_field_path_context
{
18 struct bt_field_class
*packet_context
;
19 struct bt_field_class
*event_common_context
;
20 struct bt_field_class
*event_specific_context
;
21 struct bt_field_class
*event_payload
;
24 int bt_resolve_field_paths(struct bt_field_class
*field_class
,
25 struct bt_resolve_field_path_context
*ctx
,
26 const char *api_func
);
28 #endif /* BABELTRACE_TRACE_IR_RESOLVE_FIELD_PATH_INTERNAL */