X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Flib%2Fplugin%2Fplugin-so.c;h=65ec447de3482cde9af315a229f643f9a6164fdf;hb=1353b066072e6c389ff35853bac83f65597e7a6a;hp=3017e6c0af167d5850b134cf6321f2e1c675b62c;hpb=6375b9429f8332f3eacc2ec795aa1924c73d9cc8;p=babeltrace.git diff --git a/src/lib/plugin/plugin-so.c b/src/lib/plugin/plugin-so.c index 3017e6c0..65ec447d 100644 --- a/src/lib/plugin/plugin-so.c +++ b/src/lib/plugin/plugin-so.c @@ -1368,7 +1368,6 @@ end: return status; } -BT_HIDDEN int bt_plugin_so_create_all_from_static(bool fail_on_load_error, struct bt_plugin_set **plugin_set_out) { @@ -1405,7 +1404,6 @@ end: return status; } -BT_HIDDEN int bt_plugin_so_create_all_from_file(const char *path, bool fail_on_load_error, struct bt_plugin_set **plugin_set_out) { @@ -1672,6 +1670,13 @@ void plugin_comp_class_destroy_listener(struct bt_component_class *comp_class, "comp-cls-addr=%p", comp_class); } +/* + * This function would normally not be BT_EXPORTed, but it is used by the + * Python plugin provider, which is conceptually part of libbabeltrace2, but + * implemented as a separate shared object, for modularity. It is therefore + * exposed, but not part of the public ABI. + */ +BT_EXPORT void bt_plugin_so_on_add_component_class(struct bt_plugin *plugin, struct bt_component_class *comp_class) {