X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace%2Fplugin%2Fcomponent-internal.h;h=c6443e54e96e9f7ed1bb5374fee30135c8e8714d;hb=b8a068016f0953440df334b147db75e861e7f2ac;hp=7a9361feb2545f63ec38f2e83b7249fa8372ed86;hpb=dafd80ce71a4f617deaac7084edb0c03450b3259;p=babeltrace.git diff --git a/include/babeltrace/plugin/component-internal.h b/include/babeltrace/plugin/component-internal.h index 7a9361fe..c6443e54 100644 --- a/include/babeltrace/plugin/component-internal.h +++ b/include/babeltrace/plugin/component-internal.h @@ -31,19 +31,20 @@ #include #include #include -#include +#include #include #include struct bt_component { - struct bt_ref ref; + struct bt_object base; struct bt_component_class *class; GString *name; - /** No ownership taken */ + /** No ownership of stream taken */ FILE *error_stream; - /** source, sink or filter destroy */ + /** Source, Sink or Filter destroy */ bt_component_destroy_cb destroy; + /** User-defined data and its destruction callback */ void *user_data; bt_component_destroy_cb user_destroy; };