/* Map between bt_trace and struct fs_writer. */
GHashTable *trace_map;
FILE *err;
- bt_notification_iterator *input_iterator;
+ bt_message_iterator *input_iterator;
bool error;
bool single_trace;
unsigned int nr_traces;
enum fs_writer_stream_state {
/*
* We know the stream exists but we have never received a
- * stream_begin notification for it.
+ * stream_begin message for it.
*/
FS_WRITER_UNKNOWN_STREAM,
/* We know this stream is active (between stream_begin and _end). */
void writer_close(struct writer_component *writer_component,
struct fs_writer *fs_writer);
BT_HIDDEN
-enum bt_component_status writer_output_event(struct writer_component *writer,
+bt_component_status writer_output_event(struct writer_component *writer,
const bt_event *event);
BT_HIDDEN
-enum bt_component_status writer_new_packet(struct writer_component *writer,
+bt_component_status writer_new_packet(struct writer_component *writer,
const bt_packet *packet);
BT_HIDDEN
-enum bt_component_status writer_close_packet(struct writer_component *writer,
+bt_component_status writer_close_packet(struct writer_component *writer,
const bt_packet *packet);
BT_HIDDEN
-enum bt_component_status writer_stream_begin(struct writer_component *writer,
+bt_component_status writer_stream_begin(struct writer_component *writer,
const bt_stream *stream);
BT_HIDDEN
-enum bt_component_status writer_stream_end(struct writer_component *writer,
+bt_component_status writer_stream_end(struct writer_component *writer,
const bt_stream *stream);
BT_HIDDEN
-enum bt_component_status writer_component_init(
+bt_component_status writer_component_init(
bt_self_component *component, bt_value *params,
void *init_method_data);
BT_HIDDEN
-enum bt_component_status writer_run(bt_self_component *component);
+bt_component_status writer_run(bt_self_component *component);
BT_HIDDEN
void writer_component_port_connected(