Error stream is now an attribute of the base plugin class
[babeltrace.git] / include / babeltrace / plugin / plugin-internal.h
index d6bbbd3f766e7e9a59e172086c8a22dffc96afe2..91f3621915c8b8033fd61fdfaffc5a331661260f 100644 (file)
@@ -27,7 +27,9 @@
  * SOFTWARE.
  */
 
-#include <stdint.h>
+#include <babeltrace/babeltrace-internal.h>
+#include <babeltrace/ctf-writer/ref-internal.h>
+#include <glib.h>
 
 #ifdef __cplusplus
 extern "C" {
@@ -36,8 +38,14 @@ extern "C" {
 struct bt_notification;
 
 struct bt_plugin {
-       const char * name;
+       struct bt_ctf_ref ref_count;
+       GString *name;
        enum bt_plugin_type type;
+       /** No ownership taken */
+       FILE *error_stream;
+
+       /* Plug-in implementation callbacks */
+       bt_plugin_destroy_cb destroy;
 };
 
 #ifdef __cplusplus
This page took 0.028706 seconds and 4 git commands to generate.