X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace%2Fctf%2Fevents.h;h=d0ec3e10615b3beefcee75bff226cc58431eacc0;hb=a7765dd4491b15629e3884493db0f29611b84e65;hp=a08518b8a0e0aad7cc29485a283508816d4626e4;hpb=8673030f3cb8d157a30e79af524fd5cca253025e;p=babeltrace.git diff --git a/include/babeltrace/ctf/events.h b/include/babeltrace/ctf/events.h index a08518b8..d0ec3e10 100644 --- a/include/babeltrace/ctf/events.h +++ b/include/babeltrace/ctf/events.h @@ -24,12 +24,10 @@ */ #include -#include struct ctf_stream; struct ctf_stream_event; struct definition; -struct bt_ctf_iter; /* * the top-level scopes in CTF @@ -78,42 +76,6 @@ struct bt_ctf_event { struct ctf_stream_event *event; }; -/* - * bt_ctf_iter_read_event: Read the iterator's current event data. - * - * @iter: trace collection iterator (input) - * @stream: stream containing event at current position (output) - * @event: current event (output) - * Return 0 on success, negative error value on error. - */ -struct bt_ctf_event *bt_ctf_iter_read_event(struct bt_ctf_iter *iter); - -/* - * bt_ctf_iter_create - Allocate a CTF trace collection iterator. - * - * begin_pos and end_pos are optional parameters to specify the position - * at which the trace collection should be seeked upon iterator - * creation, and the position at which iteration will start returning - * "EOF". - * - * By default, if begin_pos is NULL, a BT_SEEK_CUR is performed at - * creation. By default, if end_pos is NULL, a BT_SEEK_END (end of - * trace) is the EOF criterion. - */ -struct bt_ctf_iter *bt_ctf_iter_create(struct bt_context *ctx, - struct bt_iter_pos *begin_pos, - struct bt_iter_pos *end_pos); - -/* - * bt_ctf_get_iter - get iterator from ctf iterator. - */ -struct bt_iter *bt_ctf_get_iter(struct bt_ctf_iter *iter); - -/* - * bt_ctf_iter_destroy - Free a CTF trace collection iterator. - */ -void bt_ctf_iter_destroy(struct bt_ctf_iter *iter); - /* * bt_ctf_get_top_level_scope: return a definition of the top-level scope *