X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace%2Fgraph%2Fnotification-stream.h;h=963a95ce4c9fc0b7b87425b8934b8b7b337fea87;hb=e22b45d0f7d3ce1311bf96a930bc42326f555202;hp=e016117ae9c2691ee5955b4f264b2767f9d76c47;hpb=bf55043c2e742cafb86d3a3404d0d35c4cf294a3;p=babeltrace.git diff --git a/include/babeltrace/graph/notification-stream.h b/include/babeltrace/graph/notification-stream.h index e016117a..963a95ce 100644 --- a/include/babeltrace/graph/notification-stream.h +++ b/include/babeltrace/graph/notification-stream.h @@ -27,14 +27,21 @@ * SOFTWARE. */ +#include + /* For bt_get() */ #include +/* For bt_bool */ +#include + #ifdef __cplusplus extern "C" { #endif struct bt_notification; +struct bt_clock_class; +struct bt_clock_value; struct bt_stream; extern @@ -57,6 +64,14 @@ struct bt_stream *bt_notification_stream_begin_get_stream( return bt_get(bt_notification_stream_begin_borrow_stream(notification)); } +extern int bt_notification_stream_begin_set_clock_value( + struct bt_notification *notif, + struct bt_clock_class *clock_class, uint64_t raw_value, + bt_bool is_default); + +extern struct bt_clock_value *bt_notification_stream_begin_borrow_default_clock_value( + struct bt_notification *notif); + extern struct bt_stream *bt_notification_stream_end_borrow_stream( struct bt_notification *notification); @@ -67,6 +82,14 @@ struct bt_stream *bt_notification_stream_end_get_stream( return bt_get(bt_notification_stream_end_borrow_stream(notification)); } +extern int bt_notification_stream_end_set_clock_value( + struct bt_notification *notif, + struct bt_clock_class *clock_class, uint64_t raw_value, + bt_bool is_default); + +extern struct bt_clock_value *bt_notification_stream_end_borrow_default_clock_value( + struct bt_notification *notif); + #ifdef __cplusplus } #endif