X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;ds=sidebyside;f=include%2Fbabeltrace%2Fgraph%2Fnotification-const.h;h=8754088999ce269f7cf350b9e29aa6480c0b218d;hb=b19ff26f04df428047676dd736bd7cc9473906fe;hp=a513c0c6fb537f8edc01f69da6508effb1e8bc2b;hpb=c5b9b4417bedfbec9b5dd23b8395ccdd4eeffc44;p=babeltrace.git diff --git a/include/babeltrace/graph/notification-const.h b/include/babeltrace/graph/notification-const.h index a513c0c6..87540889 100644 --- a/include/babeltrace/graph/notification-const.h +++ b/include/babeltrace/graph/notification-const.h @@ -24,14 +24,13 @@ * SOFTWARE. */ +/* For bt_notification */ +#include + #ifdef __cplusplus extern "C" { #endif -struct bt_notification; - -typedef const struct bt_notification **bt_notification_array_const; - /** * Notification types. Unhandled notification types should be ignored. */ @@ -51,11 +50,11 @@ enum bt_notification_type { * @returns One of #bt_notification_type */ extern enum bt_notification_type bt_notification_get_type( - const struct bt_notification *notification); + const bt_notification *notification); -extern void bt_notification_get_ref(const struct bt_notification *notification); +extern void bt_notification_get_ref(const bt_notification *notification); -extern void bt_notification_put_ref(const struct bt_notification *notification); +extern void bt_notification_put_ref(const bt_notification *notification); #define BT_NOTIFICATION_PUT_REF_AND_RESET(_var) \ do { \