X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=include%2Fbabeltrace%2Fctf%2Fevents-internal.h;fp=include%2Fbabeltrace%2Fctf%2Fevents-internal.h;h=0968dca1f4f0e12eaa44ee62b42bf61e57a2a31d;hp=d227b4d4f3d97afcf1496ded2e0c37b3e7a1c702;hb=7da9b2f355093d2bd1a91e9779adb87f783f872a;hpb=097b4317bc7ed1be44960024ac71c62ae43adffb diff --git a/include/babeltrace/ctf/events-internal.h b/include/babeltrace/ctf/events-internal.h index d227b4d4..0968dca1 100644 --- a/include/babeltrace/ctf/events-internal.h +++ b/include/babeltrace/ctf/events-internal.h @@ -80,10 +80,6 @@ struct bt_ctf_iter { uint64_t events_lost; }; -void ctf_update_current_packet_index(struct ctf_stream_definition *stream, - struct packet_index *prev_index, - struct packet_index *cur_index); - struct bt_definition; struct bt_declaration; struct bt_ctf_event; @@ -315,5 +311,11 @@ int bt_ctf_get_decl_fields(struct bt_ctf_event_decl *event_decl, * bt_ctf_get_decl_field_name: return the name of a field decl or NULL on error */ const char *bt_ctf_get_decl_field_name(const struct bt_ctf_field_decl *field); +int ctf_find_packets_intersection(struct bt_context *ctx, + uint64_t *ts_begin, uint64_t *ts_end); + +void ctf_update_current_packet_index(struct ctf_stream_definition *stream, + struct packet_index *prev_index, + struct packet_index *cur_index); #endif /*_BABELTRACE_CTF_EVENTS_INTERNAL_H */