X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=include%2Fbabeltrace%2Fgraph%2Fnotification-event.h;h=7fb9c0904ba5014e12b413771c689b2b89ec7460;hb=7b53201cfb06ec02f4203e28458dfbcf53d87988;hp=3bcc6c88284a590bcd435e213e7afd5ce82b7cfd;hpb=78cf9df64fd5fe1ac99335a0957adad5ef231fdf;p=babeltrace.git diff --git a/include/babeltrace/graph/notification-event.h b/include/babeltrace/graph/notification-event.h index 3bcc6c88..7fb9c090 100644 --- a/include/babeltrace/graph/notification-event.h +++ b/include/babeltrace/graph/notification-event.h @@ -29,10 +29,18 @@ extern "C" { #endif -struct bt_notification; +struct bt_self_notification_iterator; struct bt_event; +struct bt_packet; +struct bt_event_class; -extern const struct bt_event *bt_notification_event_borrow_event( +extern +struct bt_notification *bt_notification_event_create( + struct bt_self_notification_iterator *notification_iterator, + struct bt_event_class *event_class, + struct bt_packet *packet); + +extern struct bt_event *bt_notification_event_borrow_event( struct bt_notification *notification); #ifdef __cplusplus