* SOFTWARE.
*/
+#include <stdbool.h>
#include <babeltrace/assert-internal.h>
+#include <babeltrace/ctf-ir/clock-value.h>
+#include <babeltrace/ctf-ir/packet.h>
#include <babeltrace/ctf-ir/fields.h>
#include <babeltrace/ctf-ir/stream.h>
#include <babeltrace/ctf-ir/field-wrapper-internal.h>
#include <babeltrace/object-internal.h>
#include <babeltrace/babeltrace-internal.h>
+#include <babeltrace/property-internal.h>
struct bt_packet {
struct bt_object base;
- struct bt_field_wrapper *header;
- struct bt_field_wrapper *context;
+ struct bt_field_wrapper *header_field;
+ struct bt_field_wrapper *context_field;
struct bt_stream *stream;
- int frozen;
+ struct bt_clock_value *default_beginning_cv;
+ struct bt_clock_value *default_end_cv;
+ struct bt_property_uint discarded_event_counter_snapshot;
+ struct bt_property_uint packet_counter_snapshot;
+ bool frozen;
};
BT_HIDDEN