projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add ctf type loading, add integer and bitfield "copy"
[babeltrace.git]
/
include
/
babeltrace
/
types.h
diff --git
a/include/babeltrace/types.h
b/include/babeltrace/types.h
index f8c3c8aa1de80d2a362392c9aa964387432b9ecf..ed3e7aca60fa8caba4085a12336f378d4e4afc76 100644
(file)
--- a/
include/babeltrace/types.h
+++ b/
include/babeltrace/types.h
@@
-44,11
+44,17
@@
struct type_class_integer {
int signedness;
};
int signedness;
};
+int integer_type_new(const char *name, size_t len, int byte_order,
+ int signedness);
+
struct type_class_bitfield {
struct type_class_integer p;
size_t start_offset; /* offset from base address, in bits */
};
struct type_class_bitfield {
struct type_class_integer p;
size_t start_offset; /* offset from base address, in bits */
};
+int bitfield_type_new(const char *name, size_t start_offset,
+ size_t len, int byte_order, int signedness);
+
struct type_class_float {
struct type_class p;
size_t mantissa_len;
struct type_class_float {
struct type_class p;
size_t mantissa_len;
@@
-66,4
+72,7
@@
struct type_class_struct {
/* TODO */
};
/* TODO */
};
+struct type_class *ctf_lookup_type(GQuark qname);
+int ctf_register_type(struct type_class *type_class);
+
#endif /* _BABELTRACE_TYPES_H */
#endif /* _BABELTRACE_TYPES_H */
This page took
0.022962 seconds
and
4
git commands to generate.