X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace%2Fctf-ir%2Fstream-class-internal.h;h=2a481b0852c4d2a409a4eeba7e843e55700879dd;hb=83509119a945fc77faff869daaf48627e1c4b3fa;hp=3b368d1de2230bb26619b7a8763f09a052319af2;hpb=d3814b5400bc383ee8645cd76017e2aa6fea5dfe;p=babeltrace.git diff --git a/include/babeltrace/ctf-ir/stream-class-internal.h b/include/babeltrace/ctf-ir/stream-class-internal.h index 3b368d1d..2a481b08 100644 --- a/include/babeltrace/ctf-ir/stream-class-internal.h +++ b/include/babeltrace/ctf-ir/stream-class-internal.h @@ -27,17 +27,17 @@ * SOFTWARE. */ -#include #include #include #include #include +#include #include #include #include struct bt_ctf_stream_class { - struct bt_ctf_ref ref_count; + struct bt_object base; GString *name; struct bt_ctf_clock *clock; GPtrArray *event_classes; /* Array of pointers to bt_ctf_event_class */ @@ -70,6 +70,10 @@ BT_HIDDEN int _bt_ctf_stream_class_set_id(struct bt_ctf_stream_class *stream_class, uint32_t id); +BT_HIDDEN +int bt_ctf_stream_class_set_id_no_check( + struct bt_ctf_stream_class *stream_class, uint32_t id); + BT_HIDDEN int bt_ctf_stream_class_set_trace(struct bt_ctf_stream_class *stream_class, struct bt_ctf_trace *trace);