X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=lib%2Fctf-writer%2Fvalidation.c;fp=lib%2Fctf-writer%2Fvalidation.c;h=03ad36ff6f8c021d6893a067c144ca8871e44485;hb=da91b29ad2964b85601e25843f1dca92f6c97406;hp=15309b2a849b5076fcfd29dd235492651f14bd56;hpb=65300d60e4b4f167e5fc8f584677757ce09a3844;p=babeltrace.git diff --git a/lib/ctf-writer/validation.c b/lib/ctf-writer/validation.c index 15309b2a..03ad36ff 100644 --- a/lib/ctf-writer/validation.c +++ b/lib/ctf-writer/validation.c @@ -48,7 +48,7 @@ * All parameters are owned by the caller. */ static -int validate_event_class_types(struct bt_value *environment, +int validate_event_class_types(struct bt_private_value *environment, struct bt_ctf_field_type_common *packet_header_type, struct bt_ctf_field_type_common *packet_context_type, struct bt_ctf_field_type_common *event_header_type, @@ -112,7 +112,7 @@ end: * All parameters are owned by the caller. */ static -int validate_stream_class_types(struct bt_value *environment, +int validate_stream_class_types(struct bt_private_value *environment, struct bt_ctf_field_type_common *packet_header_type, struct bt_ctf_field_type_common *packet_context_type, struct bt_ctf_field_type_common *event_header_type, @@ -180,7 +180,7 @@ end: * All parameters are owned by the caller. */ static -int validate_trace_types(struct bt_value *environment, +int validate_trace_types(struct bt_private_value *environment, struct bt_ctf_field_type_common *packet_header_type) { int ret = 0; @@ -262,7 +262,7 @@ end: } BT_HIDDEN -int bt_ctf_validate_class_types(struct bt_value *environment, +int bt_ctf_validate_class_types(struct bt_private_value *environment, struct bt_ctf_field_type_common *packet_header_type, struct bt_ctf_field_type_common *packet_context_type, struct bt_ctf_field_type_common *event_header_type,