cli: fix bt_plugin leak when using `-i ctf`
[babeltrace.git] / src / cli / babeltrace2-plugins.h
index 60354d370b1117db19a841d28ef97b509810729d..2dd55d85bcd0133fb844ee183e6f4d5b1d3886a2 100644 (file)
@@ -33,9 +33,10 @@ BT_HIDDEN void fini_loaded_plugins(void);
 
 BT_HIDDEN int require_loaded_plugins(const bt_value *plugin_paths);
 
-BT_HIDDEN const bt_plugin *find_loaded_plugin(const char *name);
 BT_HIDDEN size_t get_loaded_plugins_count(void);
 BT_HIDDEN const bt_plugin **borrow_loaded_plugins(void);
-BT_HIDDEN const bt_plugin *borrow_loaded_plugin(size_t index);
+BT_HIDDEN const bt_plugin *borrow_loaded_plugin_by_index(size_t index);
+BT_HIDDEN const bt_plugin *borrow_loaded_plugin_by_name(const char *name);
+
 
 #endif /* CLI_BABELTRACE_PLUGINS_H */
This page took 0.022967 seconds and 4 git commands to generate.