Rename bt_ctf_X -> bt_X, maintain backward compat. for pre-2.0 CTF writer
[babeltrace.git] / bindings / python / bt2 / bt2 / native_btevent.i
index f6e649456a11a3dcf802a3042d9cfc0e98b40ec7..df0f858770a0389e6582981e41c2d9d0082a1f0d 100644 (file)
  */
 
 /* Type */
-struct bt_ctf_event;
+struct bt_event;
 
 /* Functions */
-struct bt_ctf_event *bt_ctf_event_create(
-               struct bt_ctf_event_class *event_class);
-struct bt_ctf_event_class *bt_ctf_event_get_class(
-               struct bt_ctf_event *event);
-struct bt_ctf_packet *bt_ctf_event_get_packet(
-               struct bt_ctf_event *event);
-int bt_ctf_event_set_packet(struct bt_ctf_event *event,
-               struct bt_ctf_packet *packet);
-struct bt_ctf_stream *bt_ctf_event_get_stream(
-               struct bt_ctf_event *event);
-struct bt_ctf_field *bt_ctf_event_get_header(
-               struct bt_ctf_event *event);
-int bt_ctf_event_set_header(struct bt_ctf_event *event,
-               struct bt_ctf_field *header);
-struct bt_ctf_field *bt_ctf_event_get_stream_event_context(
-               struct bt_ctf_event *event);
-int bt_ctf_event_set_stream_event_context(struct bt_ctf_event *event,
-               struct bt_ctf_field *context);
-struct bt_ctf_field *bt_ctf_event_get_event_context(
-               struct bt_ctf_event *event);
-int bt_ctf_event_set_event_context(struct bt_ctf_event *event,
-               struct bt_ctf_field *context);
-struct bt_ctf_field *bt_ctf_event_get_event_payload(
-               struct bt_ctf_event *event);
-int bt_ctf_event_set_event_payload(struct bt_ctf_event *event,
-               struct bt_ctf_field *payload);
-struct bt_ctf_clock_value *bt_ctf_event_get_clock_value(
-               struct bt_ctf_event *event,
-               struct bt_ctf_clock_class *clock_class);
-int bt_ctf_event_set_clock_value(
-               struct bt_ctf_event *event,
-               struct bt_ctf_clock_value *clock_value);
+struct bt_event *bt_event_create(
+               struct bt_event_class *event_class);
+struct bt_event_class *bt_event_get_class(
+               struct bt_event *event);
+struct bt_packet *bt_event_get_packet(
+               struct bt_event *event);
+int bt_event_set_packet(struct bt_event *event,
+               struct bt_packet *packet);
+struct bt_stream *bt_event_get_stream(
+               struct bt_event *event);
+struct bt_field *bt_event_get_header(
+               struct bt_event *event);
+int bt_event_set_header(struct bt_event *event,
+               struct bt_field *header);
+struct bt_field *bt_event_get_stream_event_context(
+               struct bt_event *event);
+int bt_event_set_stream_event_context(struct bt_event *event,
+               struct bt_field *context);
+struct bt_field *bt_event_get_event_context(
+               struct bt_event *event);
+int bt_event_set_event_context(struct bt_event *event,
+               struct bt_field *context);
+struct bt_field *bt_event_get_event_payload(
+               struct bt_event *event);
+int bt_event_set_event_payload(struct bt_event *event,
+               struct bt_field *payload);
+struct bt_clock_value *bt_event_get_clock_value(
+               struct bt_event *event,
+               struct bt_clock_class *clock_class);
+int bt_event_set_clock_value(
+               struct bt_event *event,
+               struct bt_clock_value *clock_value);
This page took 0.026526 seconds and 4 git commands to generate.