Commit | Line | Data |
---|---|---|
743138a3 | 1 | /* |
0235b0db | 2 | * SPDX-License-Identifier: MIT |
743138a3 SM |
3 | * |
4 | * Copyright 2016-2019 EfficiOS Inc. | |
5 | * | |
0235b0db | 6 | * Babeltrace trace converter - CLI tool's configuration |
743138a3 SM |
7 | */ |
8 | ||
0235b0db MJ |
9 | #ifndef CLI_BABELTRACE_PLUGINS_H |
10 | #define CLI_BABELTRACE_PLUGINS_H | |
11 | ||
743138a3 SM |
12 | #include <babeltrace2/babeltrace.h> |
13 | #include "common/macros.h" | |
14 | ||
1353b066 SM |
15 | void init_loaded_plugins(void); |
16 | void fini_loaded_plugins(void); | |
743138a3 | 17 | |
1353b066 | 18 | int require_loaded_plugins(const bt_value *plugin_paths); |
743138a3 | 19 | |
1353b066 SM |
20 | size_t get_loaded_plugins_count(void); |
21 | const bt_plugin **borrow_loaded_plugins(void); | |
22 | const bt_plugin *borrow_loaded_plugin_by_index(size_t index); | |
23 | const bt_plugin *borrow_loaded_plugin_by_name(const char *name); | |
97512754 | 24 | |
743138a3 SM |
25 | |
26 | #endif /* CLI_BABELTRACE_PLUGINS_H */ |