Commit | Line | Data |
---|---|---|
8bf65fbd | 1 | /* |
0235b0db | 2 | * SPDX-License-Identifier: MIT |
8bf65fbd | 3 | * |
0235b0db | 4 | * Copyright 2016-2018 Philippe Proulx <pproulx@efficios.com> |
44c440bc PP |
5 | * |
6 | * The Common Trace Format (CTF) Specification is available at | |
7 | * http://www.efficios.com/ctf | |
8bf65fbd JG |
8 | */ |
9 | ||
0235b0db MJ |
10 | #ifndef BABELTRACE_TRACE_IR_RESOLVE_FIELD_PATH_INTERNAL |
11 | #define BABELTRACE_TRACE_IR_RESOLVE_FIELD_PATH_INTERNAL | |
12 | ||
91d81473 | 13 | #include "common/macros.h" |
578e048b | 14 | #include "lib/object.h" |
43c59509 PP |
15 | #include <babeltrace2/trace-ir/field-class.h> |
16 | #include <babeltrace2/trace-ir/field-path.h> | |
44c440bc | 17 | #include <glib.h> |
8bf65fbd | 18 | |
44c440bc | 19 | struct bt_resolve_field_path_context { |
5cd6d0e5 | 20 | struct bt_field_class *packet_context; |
5cd6d0e5 PP |
21 | struct bt_field_class *event_common_context; |
22 | struct bt_field_class *event_specific_context; | |
23 | struct bt_field_class *event_payload; | |
8bf65fbd JG |
24 | }; |
25 | ||
26 | BT_HIDDEN | |
5cd6d0e5 | 27 | int bt_resolve_field_paths(struct bt_field_class *field_class, |
44c440bc | 28 | struct bt_resolve_field_path_context *ctx); |
8bf65fbd | 29 | |
56e18c4c | 30 | #endif /* BABELTRACE_TRACE_IR_RESOLVE_FIELD_PATH_INTERNAL */ |