X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=bindings%2Fpython%2Fbt2%2Fbt2%2Fnative_btnotification.i;h=5b4843ec1b7cbe1df7e64355af3781bba3c7a965;hb=038be9903108fbf49bef18e6f6bd6936e8fabde8;hp=4192278575aa53617fb2256bc911555a0c369826;hpb=09ef660c8db235881eb2c8788770e8ca4f2df39e;p=babeltrace.git diff --git a/bindings/python/bt2/bt2/native_btnotification.i b/bindings/python/bt2/bt2/native_btnotification.i index 41922785..5b4843ec 100644 --- a/bindings/python/bt2/bt2/native_btnotification.i +++ b/bindings/python/bt2/bt2/native_btnotification.i @@ -46,9 +46,9 @@ enum bt_notification_type bt_notification_get_type( /* Event notification functions */ struct bt_notification *bt_notification_event_create( - struct bt_ctf_event *event, + struct bt_event *event, struct bt_clock_class_priority_map *clock_class_priority_map); -struct bt_ctf_event *bt_notification_event_get_event( +struct bt_event *bt_notification_event_get_event( struct bt_notification *notification); struct bt_clock_class_priority_map * bt_notification_event_get_clock_class_priority_map( @@ -60,53 +60,53 @@ struct bt_notification *bt_notification_inactivity_create( struct bt_clock_class_priority_map * bt_notification_inactivity_get_clock_class_priority_map( struct bt_notification *notification); -struct bt_ctf_clock_value *bt_notification_inactivity_get_clock_value( +struct bt_clock_value *bt_notification_inactivity_get_clock_value( struct bt_notification *notification, - struct bt_ctf_clock_class *clock_class); + struct bt_clock_class *clock_class); int bt_notification_inactivity_set_clock_value( struct bt_notification *notification, - struct bt_ctf_clock_value *clock_value); + struct bt_clock_value *clock_value); /* Packet notification functions */ struct bt_notification *bt_notification_packet_begin_create( - struct bt_ctf_packet *packet); + struct bt_packet *packet); struct bt_notification *bt_notification_packet_end_create( - struct bt_ctf_packet *packet); -struct bt_ctf_packet *bt_notification_packet_begin_get_packet( + struct bt_packet *packet); +struct bt_packet *bt_notification_packet_begin_get_packet( struct bt_notification *notification); -struct bt_ctf_packet *bt_notification_packet_end_get_packet( +struct bt_packet *bt_notification_packet_end_get_packet( struct bt_notification *notification); /* Stream notification functions */ struct bt_notification *bt_notification_stream_begin_create( - struct bt_ctf_stream *stream); + struct bt_stream *stream); struct bt_notification *bt_notification_stream_end_create( - struct bt_ctf_stream *stream); -struct bt_ctf_stream *bt_notification_stream_begin_get_stream( + struct bt_stream *stream); +struct bt_stream *bt_notification_stream_begin_get_stream( struct bt_notification *notification); -struct bt_ctf_stream *bt_notification_stream_end_get_stream( +struct bt_stream *bt_notification_stream_end_get_stream( struct bt_notification *notification); /* Discarded packets notification functions */ -struct bt_ctf_clock_value * +struct bt_clock_value * bt_notification_discarded_packets_get_begin_clock_value( struct bt_notification *notification); -struct bt_ctf_clock_value * +struct bt_clock_value * bt_notification_discarded_packets_get_end_clock_value( struct bt_notification *notification); int64_t bt_notification_discarded_packets_get_count( struct bt_notification *notification); -struct bt_ctf_stream *bt_notification_discarded_packets_get_stream( +struct bt_stream *bt_notification_discarded_packets_get_stream( struct bt_notification *notification); /* Discarded events notification functions */ -struct bt_ctf_clock_value * +struct bt_clock_value * bt_notification_discarded_events_get_begin_clock_value( struct bt_notification *notification); -struct bt_ctf_clock_value * +struct bt_clock_value * bt_notification_discarded_events_get_end_clock_value( struct bt_notification *notification); int64_t bt_notification_discarded_events_get_count( struct bt_notification *notification); -struct bt_ctf_stream *bt_notification_discarded_events_get_stream( +struct bt_stream *bt_notification_discarded_events_get_stream( struct bt_notification *notification);