X-Git-Url: https://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace%2Fgraph%2Fnotification-inactivity.h;h=c0c4938203173d27518bec25a8b16c353081767d;hb=0d72b8c329ad51d14ab4e83330b38c2c8da69dd4;hp=6c8d0849769bbe8f9c81ea3ad712c1c64a188b89;hpb=1ca80abd6ac25e66d876a358ceee03910e7c0173;p=babeltrace.git diff --git a/include/babeltrace/graph/notification-inactivity.h b/include/babeltrace/graph/notification-inactivity.h index 6c8d0849..c0c49382 100644 --- a/include/babeltrace/graph/notification-inactivity.h +++ b/include/babeltrace/graph/notification-inactivity.h @@ -23,27 +23,23 @@ * SOFTWARE. */ +#include + #ifdef __cplusplus extern "C" { #endif struct bt_notification; -struct bt_clock_class_priority_map; - -extern struct bt_notification *bt_notification_inactivity_create( - struct bt_clock_class_priority_map *clock_class_priority_map); - -extern struct bt_clock_class_priority_map * -bt_notification_inactivity_get_clock_class_priority_map( - struct bt_notification *notification); +struct bt_self_notification_iterator; +struct bt_clock_class; -extern struct bt_ctf_clock_value *bt_notification_inactivity_get_clock_value( - struct bt_notification *notification, - struct bt_ctf_clock_class *clock_class); +extern +struct bt_notification *bt_notification_inactivity_create( + struct bt_self_notification_iterator *notification_iterator, + struct bt_clock_class *default_clock_class); -extern int bt_notification_inactivity_set_clock_value( - struct bt_notification *notification, - struct bt_ctf_clock_value *clock_value); +extern void bt_notification_inactivity_set_default_clock_value( + struct bt_notification *notif, uint64_t raw_value); #ifdef __cplusplus }