projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ir: add BT_CTF_BYTE_ORDER_NONE and make it the default trace's native BO
[babeltrace.git]
/
include
/
babeltrace
/
ctf-ir
/
field-types-internal.h
diff --git
a/include/babeltrace/ctf-ir/field-types-internal.h
b/include/babeltrace/ctf-ir/field-types-internal.h
index bfa52502fce2fe4915539cf7e5f9f3d745712dd7..4c21cbd47457cf56be4ab3da3cd0980d804f864c 100644
(file)
--- a/
include/babeltrace/ctf-ir/field-types-internal.h
+++ b/
include/babeltrace/ctf-ir/field-types-internal.h
@@
-179,12
+179,6
@@
BT_HIDDEN
int bt_ctf_field_type_structure_get_field_name_index(
struct bt_ctf_field_type *structure, const char *name);
int bt_ctf_field_type_structure_get_field_name_index(
struct bt_ctf_field_type *structure, const char *name);
-/* Replace an existing field's type in a structure */
-BT_HIDDEN
-int bt_ctf_field_type_structure_set_field_index(
- struct bt_ctf_field_type *structure,
- struct bt_ctf_field_type *field, int index);
-
BT_HIDDEN
int bt_ctf_field_type_variant_get_field_name_index(
struct bt_ctf_field_type *variant, const char *name);
BT_HIDDEN
int bt_ctf_field_type_variant_get_field_name_index(
struct bt_ctf_field_type *variant, const char *name);
@@
-221,6
+215,11
@@
BT_HIDDEN
int bt_ctf_field_type_get_field_index(struct bt_ctf_field_type *type,
const char *name);
int bt_ctf_field_type_get_field_index(struct bt_ctf_field_type *type,
const char *name);
+BT_HIDDEN
+int bt_ctf_field_type_integer_set_mapped_clock_class_no_check(
+ struct bt_ctf_field_type *int_field_type,
+ struct bt_ctf_clock_class *clock_class);
+
static inline
const char *bt_ctf_field_type_id_string(enum bt_ctf_field_type_id type_id)
{
static inline
const char *bt_ctf_field_type_id_string(enum bt_ctf_field_type_id type_id)
{
@@
-254,6
+253,8
@@
const char *bt_ctf_byte_order_string(enum bt_ctf_byte_order bo)
switch (bo) {
case BT_CTF_BYTE_ORDER_UNKNOWN:
return "BT_CTF_BYTE_ORDER_UNKNOWN";
switch (bo) {
case BT_CTF_BYTE_ORDER_UNKNOWN:
return "BT_CTF_BYTE_ORDER_UNKNOWN";
+ case BT_CTF_BYTE_ORDER_NONE:
+ return "BT_CTF_BYTE_ORDER_NONE";
case BT_CTF_BYTE_ORDER_NATIVE:
return "BT_CTF_BYTE_ORDER_NATIVE";
case BT_CTF_BYTE_ORDER_LITTLE_ENDIAN:
case BT_CTF_BYTE_ORDER_NATIVE:
return "BT_CTF_BYTE_ORDER_NATIVE";
case BT_CTF_BYTE_ORDER_LITTLE_ENDIAN:
This page took
0.027543 seconds
and
4
git commands to generate.