configure: enable -Wshadow-field
[babeltrace.git] / src / plugins / lttng-utils / debug-info / utils.h
1 /*
2 * SPDX-License-Identifier: MIT
3 *
4 * Copyright 2016 Jérémie Galarneau <jeremie.galarneau@efficios.com>
5 *
6 * Babeltrace - Debug Info Utilities
7 */
8
9 #ifndef BABELTRACE_PLUGIN_DEBUG_INFO_UTILS_H
10 #define BABELTRACE_PLUGIN_DEBUG_INFO_UTILS_H
11
12 #include <stdbool.h>
13
14 #include <babeltrace2/babeltrace.h>
15
16 #include "common/macros.h"
17
18 /*
19 * Return the location of a path's file (the last element of the path).
20 * Returns the original path on error.
21 */
22 BT_HIDDEN
23 const char *get_filename_from_path(const char *path);
24
25 BT_HIDDEN
26 bool is_event_common_ctx_dbg_info_compatible(
27 const bt_field_class *in_field_class,
28 const char *debug_info_field_class_name);
29
30 #endif /* BABELTRACE_PLUGIN_DEBUG_INFO_UTILS_H */
This page took 0.029284 seconds and 4 git commands to generate.