X-Git-Url: https://git.efficios.com/?a=blobdiff_plain;f=plugins%2Ftext%2Fdmesg%2Fdmesg.h;h=be49d4212b3674be673f31c1fd61efd03d3f70d8;hb=0d72b8c329ad51d14ab4e83330b38c2c8da69dd4;hp=07258d440452ec10dd6a2ad6c0cdf48f14da2886;hpb=90157d89276ed1a569a2d4ffcfeed0b415817c12;p=babeltrace.git diff --git a/plugins/text/dmesg/dmesg.h b/plugins/text/dmesg/dmesg.h index 07258d44..be49d421 100644 --- a/plugins/text/dmesg/dmesg.h +++ b/plugins/text/dmesg/dmesg.h @@ -2,7 +2,7 @@ #define BABELTRACE_PLUGIN_TEXT_DMESG_DMESG_H /* - * Copyright 2017 Philippe Proulx + * Copyright 2017 Philippe Proulx * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -25,27 +25,30 @@ #include #include -#include -#include +#include BT_HIDDEN -enum bt_component_status dmesg_init(struct bt_private_component *priv_comp, - struct bt_value *params, void *init_method_data); +enum bt_self_component_status dmesg_init( + struct bt_self_component_source *self_comp, + const struct bt_value *params, void *init_method_data); BT_HIDDEN -void dmesg_finalize(struct bt_private_component *priv_comp); +void dmesg_finalize(struct bt_self_component_source *self_comp); BT_HIDDEN -enum bt_notification_iterator_status dmesg_notif_iter_init( - struct bt_private_connection_private_notification_iterator *priv_notif_iter, - struct bt_private_port *priv_port); +enum bt_self_notification_iterator_status dmesg_notif_iter_init( + struct bt_self_notification_iterator *self_notif_iter, + struct bt_self_component_source *self_comp, + struct bt_self_component_port_output *self_port); BT_HIDDEN void dmesg_notif_iter_finalize( - struct bt_private_connection_private_notification_iterator *priv_notif_iter); + struct bt_self_notification_iterator *self_notif_iter); BT_HIDDEN -struct bt_notification_iterator_next_method_return dmesg_notif_iter_next( - struct bt_private_connection_private_notification_iterator *priv_notif_iter); +enum bt_self_notification_iterator_status dmesg_notif_iter_next( + struct bt_self_notification_iterator *self_notif_iter, + bt_notification_array_const notifs, uint64_t capacity, + uint64_t *count); #endif /* BABELTRACE_PLUGIN_TEXT_DMESG_DMESG_H */