ref.h: doc: fix typo
[babeltrace.git] / include / babeltrace / plugin / notification / notification-internal.h
index 7b1a3954b8c813ce72085e0ddc2057ad2bdb957f..2259eac0e5f625c2f64eba2b52274853295592ee 100644 (file)
  * SOFTWARE.
  */
 
-#include <babeltrace/ctf-writer/ref-internal.h>
+#include <babeltrace/ref-internal.h>
 #include <babeltrace/babeltrace-internal.h>
+#include <babeltrace/object-internal.h>
 #include <babeltrace/plugin/notification/notification.h>
+#include <babeltrace/ctf-ir/stream.h>
 
 #ifdef __cplusplus
 extern "C" {
 #endif
 
+typedef struct bt_ctf_stream *(*get_stream_func)(
+               struct bt_notification *notification);
+
 struct bt_notification {
-       struct bt_ctf_ref ref_count;
+       struct bt_object base;
        enum bt_notification_type type;
+       get_stream_func get_stream;
 };
 
+BT_HIDDEN
+void bt_notification_init(struct bt_notification *notification,
+               enum bt_notification_type type,
+               bt_object_release_func release);
+
 #ifdef __cplusplus
 }
 #endif
This page took 0.024008 seconds and 4 git commands to generate.