#include <lib/babeltrace/ctf/types.h>
#include <lib/babeltrace/ctf-ir/metadata.h>
#include <lib/babeltrace/clock-internal.h>
-#include "lttng-index.h"
+#include "ctf-index.h"
/* Copied from babeltrace/formats/ctf/events-private.h */
static inline
}
int list_sessions(void);
-int write_index_header(int fd);
-int attach_session(int id);
-void dump_packet_index(struct lttng_packet_index *index);
+void dump_packet_index(struct ctf_packet_index *index);
int get_next_index(int id, struct packet_index *index);
void ctf_live_packet_seek(struct bt_stream_pos *stream_pos, size_t index,
int whence);
int open_trace(struct bt_context **bt_ctx);
-int setup_network_live(char *hostname);
+int setup_network_live(char *hostname, int begin);
#endif /* _LIVE_H */