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