X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace%2Fctf-ir%2Fresolve-internal.h;h=619ae818fa036f4564bcb07a4e31f3ef82e099d0;hb=312c056ae3d374b253fa0cfe5ed576c0b0e5e569;hp=5479d44f4377cf764d4acb4dcc49c29fd4ec41b4;hpb=2e33ac5abec88a4be03907091474324dfcc42e23;p=babeltrace.git diff --git a/include/babeltrace/ctf-ir/resolve-internal.h b/include/babeltrace/ctf-ir/resolve-internal.h index 5479d44f..619ae818 100644 --- a/include/babeltrace/ctf-ir/resolve-internal.h +++ b/include/babeltrace/ctf-ir/resolve-internal.h @@ -35,13 +35,13 @@ #include #include -enum bt_ctf_resolve_flag { - BT_CTF_RESOLVE_FLAG_PACKET_HEADER = 0x01, - BT_CTF_RESOLVE_FLAG_PACKET_CONTEXT = 0x02, - BT_CTF_RESOLVE_FLAG_EVENT_HEADER = 0x04, - BT_CTF_RESOLVE_FLAG_STREAM_EVENT_CTX = 0x08, - BT_CTF_RESOLVE_FLAG_EVENT_CONTEXT = 0x10, - BT_CTF_RESOLVE_FLAG_EVENT_PAYLOAD = 0x20, +enum bt_resolve_flag { + BT_RESOLVE_FLAG_PACKET_HEADER = 0x01, + BT_RESOLVE_FLAG_PACKET_CONTEXT = 0x02, + BT_RESOLVE_FLAG_EVENT_HEADER = 0x04, + BT_RESOLVE_FLAG_STREAM_EVENT_CTX = 0x08, + BT_RESOLVE_FLAG_EVENT_CONTEXT = 0x10, + BT_RESOLVE_FLAG_EVENT_PAYLOAD = 0x20, }; /* @@ -60,13 +60,13 @@ enum bt_ctf_resolve_flag { * All parameters are owned by the caller. */ BT_HIDDEN -int bt_ctf_resolve_types(struct bt_value *environment, - struct bt_ctf_field_type *packet_header_type, - struct bt_ctf_field_type *packet_context_type, - struct bt_ctf_field_type *event_header_type, - struct bt_ctf_field_type *stream_event_ctx_type, - struct bt_ctf_field_type *event_context_type, - struct bt_ctf_field_type *event_payload_type, - enum bt_ctf_resolve_flag flags); +int bt_resolve_types(struct bt_value *environment, + struct bt_field_type_common *packet_header_type, + struct bt_field_type_common *packet_context_type, + struct bt_field_type_common *event_header_type, + struct bt_field_type_common *stream_event_ctx_type, + struct bt_field_type_common *event_context_type, + struct bt_field_type_common *event_payload_type, + enum bt_resolve_flag flags); #endif /* BABELTRACE_CTF_IR_RESOLVE_INTERNAL_H */