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 | ||
43c59509 PP |
13 | #include <babeltrace2/trace-ir/field-class.h> |
14 | #include <babeltrace2/trace-ir/field-path.h> | |
44c440bc | 15 | #include <glib.h> |
8bf65fbd | 16 | |
44c440bc | 17 | struct bt_resolve_field_path_context { |
5cd6d0e5 | 18 | struct bt_field_class *packet_context; |
5cd6d0e5 PP |
19 | struct bt_field_class *event_common_context; |
20 | struct bt_field_class *event_specific_context; | |
21 | struct bt_field_class *event_payload; | |
8bf65fbd JG |
22 | }; |
23 | ||
5cd6d0e5 | 24 | int bt_resolve_field_paths(struct bt_field_class *field_class, |
1778c2a4 PP |
25 | struct bt_resolve_field_path_context *ctx, |
26 | const char *api_func); | |
8bf65fbd | 27 | |
56e18c4c | 28 | #endif /* BABELTRACE_TRACE_IR_RESOLVE_FIELD_PATH_INTERNAL */ |