lib: Reset libbabeltrace2 to SONANE 0
[babeltrace.git] / include / babeltrace / plugin / plugin-so-internal.h
index e2dd51c014102ae22c309e367eaa532d2590c841..fb41e6590c7bfa67d560c290f2febc2cd9241d8c 100644 (file)
@@ -2,12 +2,8 @@
 #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
@@ -30,6 +26,7 @@
 
 #include <glib.h>
 #include <gmodule.h>
+#include <babeltrace/types.h>
 
 struct bt_plugin;
 struct bt_component_class;
@@ -40,7 +37,7 @@ struct bt_plugin_so_shared_lib_handle {
        GModule *module;
 
        /* True if initialization function was called */
-       bool init_called;
+       bt_bool init_called;
        bt_plugin_exit_func exit;
 };
 
@@ -55,13 +52,12 @@ struct bt_plugin_so_spec_data {
 };
 
 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
-int bt_plugin_so_on_add_component_class(struct bt_plugin *plugin,
+void bt_plugin_so_on_add_component_class(struct bt_plugin *plugin,
                struct bt_component_class *comp_class);
 
 #endif /* BABELTRACE_PLUGIN_PLUGIN_SO_INTERNAL_H */
This page took 0.026586 seconds and 4 git commands to generate.