* SOFTWARE.
*/
-#include <babeltrace/ctf-ir/field-types.h>
-#include <babeltrace/ctf-ir/event.h>
-#include <babeltrace/ctf-ir/stream-class.h>
-#include <babeltrace/ctf-ir/trace.h>
#include <babeltrace/values.h>
#include <babeltrace/babeltrace-internal.h>
+struct bt_trace;
+struct bt_stream_class;
+struct bt_event_class;
+struct bt_field_type;
+
+typedef struct bt_field_type *(*bt_validation_flag_copy_field_type_func)(
+ struct bt_field_type *);
+
enum bt_validation_flag {
BT_VALIDATION_FLAG_TRACE = 1,
BT_VALIDATION_FLAG_STREAM = 2,
struct bt_field_type *event_payload_type,
int trace_valid, int stream_class_valid, int event_class_valid,
struct bt_validation_output *output,
- enum bt_validation_flag validate_flags);
+ enum bt_validation_flag validate_flags,
+ bt_validation_flag_copy_field_type_func copy_field_type_func);
/*
* This function replaces the actual field types of a trace, a stream