lib: make values API const-correct
[babeltrace.git] / plugins / text / dmesg / dmesg.h
index 963b20896033a20c01de7efbfbf25ce98fc9aa8e..f9fab1bc24a9156e63d3af77a2e6671ef6a63f0d 100644 (file)
@@ -2,7 +2,7 @@
 #define BABELTRACE_PLUGIN_TEXT_DMESG_DMESG_H
 
 /*
- * Copyright 2017 Philippe Proulx <jeremie.galarneau@efficios.com>
+ * Copyright 2017 Philippe Proulx <pproulx@efficios.com>
  *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
  * of this software and associated documentation files (the "Software"), to deal
 
 #include <stdbool.h>
 #include <babeltrace/babeltrace-internal.h>
-#include <babeltrace/graph/component.h>
-#include <babeltrace/graph/clock-class-priority-map.h>
+#include <babeltrace/babeltrace.h>
 
 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_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_notification_iterator *priv_notif_iter);
+               struct bt_self_notification_iterator *self_notif_iter);
 
 BT_HIDDEN
-struct bt_notification_iterator_next_return dmesg_notif_iter_next(
-               struct bt_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 notifs, uint64_t capacity,
+               uint64_t *count);
 
 #endif /* BABELTRACE_PLUGIN_TEXT_DMESG_DMESG_H */
This page took 0.039045 seconds and 4 git commands to generate.