X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;ds=sidebyside;f=include%2Fbabeltrace%2Fctf-ir%2Ftrace.h;h=c7fa1f31b5eb7d0d0798c47f94625f061ecdfc5e;hb=2f4b93cd29ab927436c42544ef6fccfb33429c0f;hp=362cd707c8152223de0c4573bee5a527d2eedd4c;hpb=e72e86b2fffafd92c24cdf7d112c2b10ccc9768b;p=babeltrace.git diff --git a/include/babeltrace/ctf-ir/trace.h b/include/babeltrace/ctf-ir/trace.h index 362cd707..c7fa1f31 100644 --- a/include/babeltrace/ctf-ir/trace.h +++ b/include/babeltrace/ctf-ir/trace.h @@ -181,8 +181,9 @@ The created trace class has the following initial properties: with bt_ctf_trace_set_name(). - UUID: none. You can set a UUID with bt_ctf_trace_set_uuid(). -- Native byte order: #BT_CTF_BYTE_ORDER_NONE. You - can set a native byte order with bt_ctf_trace_set_native_byte_order(). +- Native byte order: #BT_CTF_BYTE_ORDER_UNSPECIFIED. + You can set a native byte order with + bt_ctf_trace_set_native_byte_order(). - Environment: empty. You can add environment entries with bt_ctf_trace_set_environment_field(), bt_ctf_trace_set_environment_field_integer(), and @@ -266,7 +267,7 @@ extern enum bt_ctf_byte_order bt_ctf_trace_get_native_byte_order( - #BT_CTF_BYTE_ORDER_BIG_ENDIAN - #BT_CTF_BYTE_ORDER_NETWORK - If the trace is not in CTF writer mode, - #BT_CTF_BYTE_ORDER_NONE. + #BT_CTF_BYTE_ORDER_UNSPECIFIED. @param[in] trace_class Trace class of which to set the native byte order. @@ -275,7 +276,7 @@ extern enum bt_ctf_byte_order bt_ctf_trace_get_native_byte_order( @prenotnull{trace_class} @prehot{trace_class} -@pre \p native_byte_order is either #BT_CTF_BYTE_ORDER_NONE (if the +@pre \p native_byte_order is either #BT_CTF_BYTE_ORDER_UNSPECIFIED (if the trace is not in CTF writer mode), #BT_CTF_BYTE_ORDER_LITTLE_ENDIAN, #BT_CTF_BYTE_ORDER_BIG_ENDIAN, or #BT_CTF_BYTE_ORDER_NETWORK.