void (*packet_seek)(struct bt_stream_pos *pos, size_t index,
int whence), FILE *metadata_fp)
{
void (*packet_seek)(struct bt_stream_pos *pos, size_t index,
int whence), FILE *metadata_fp)
{
pos = g_new0(struct ctf_text_stream_pos, 1);
pos->parent.rw_table = NULL;
pos->parent.event_cb = bt_dummy_write_event;
pos = g_new0(struct ctf_text_stream_pos, 1);
pos->parent.rw_table = NULL;
pos->parent.event_cb = bt_dummy_write_event;
{
struct ctf_text_stream_pos *pos =
container_of(td, struct ctf_text_stream_pos,
{
struct ctf_text_stream_pos *pos =
container_of(td, struct ctf_text_stream_pos,
.open_trace = bt_dummy_open_trace,
.close_trace = bt_dummy_close_trace,
};
.open_trace = bt_dummy_open_trace,
.close_trace = bt_dummy_close_trace,
};