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 "common/macros.h"
14 #include "lib/object.h"
15 #include <babeltrace2/trace-ir/field-class.h>
16 #include <babeltrace2/trace-ir/field-path.h>
19 struct bt_resolve_field_path_context
{
20 struct bt_field_class
*packet_context
;
21 struct bt_field_class
*event_common_context
;
22 struct bt_field_class
*event_specific_context
;
23 struct bt_field_class
*event_payload
;
27 int bt_resolve_field_paths(struct bt_field_class
*field_class
,
28 struct bt_resolve_field_path_context
*ctx
,
29 const char *api_func
);
31 #endif /* BABELTRACE_TRACE_IR_RESOLVE_FIELD_PATH_INTERNAL */