#define BABELTRACE_PLUGIN_PLUGIN_SO_INTERNAL_H
/*
- * BabelTrace - Babeltrace Plug-in Interface
- *
+ * Copyright 2017-2018 Philippe Proulx <pproulx@efficios.com>
* Copyright 2016 Jérémie Galarneau <jeremie.galarneau@efficios.com>
- * Copyright 2017 Philippe Proulx <pproulx@efficios.com>
- *
- * Author: Jérémie Galarneau <jeremie.galarneau@efficios.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
#include <glib.h>
#include <gmodule.h>
+#include <babeltrace/types.h>
struct bt_plugin;
struct bt_component_class;
GModule *module;
/* True if initialization function was called */
- bool init_called;
+ bt_bool init_called;
bt_plugin_exit_func exit;
};
};
BT_HIDDEN
-struct bt_plugin **bt_plugin_so_create_all_from_file(const char *path);
+struct bt_plugin_set *bt_plugin_so_create_all_from_file(const char *path);
BT_HIDDEN
-struct bt_plugin **bt_plugin_so_create_all_from_static(void);
+struct bt_plugin_set *bt_plugin_so_create_all_from_static(void);
-BT_HIDDEN
void bt_plugin_so_on_add_component_class(struct bt_plugin *plugin,
struct bt_component_class *comp_class);