projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: add missing bt_ctf_get_int_len API
[babeltrace.git]
/
include
/
babeltrace
/
ctf
/
events.h
diff --git
a/include/babeltrace/ctf/events.h
b/include/babeltrace/ctf/events.h
index 30365aaabbafd80d41e2aa6a7f2da7ec87faaff3..1cfa9e3b39cd6f37d63b004db5eaa7d3d8a5177d 100644
(file)
--- a/
include/babeltrace/ctf/events.h
+++ b/
include/babeltrace/ctf/events.h
@@
-155,6
+155,12
@@
int bt_ctf_get_int_base(const struct definition *field);
*/
int bt_ctf_get_int_byte_order(const struct definition *field);
*/
int bt_ctf_get_int_byte_order(const struct definition *field);
+/*
+ * bt_ctf_get_int_len: return the size, in bits, of an int or a negative
+ * value on error
+ */
+ssize_t bt_ctf_get_int_len(const struct definition *field);
+
/*
* bt_ctf_get_encoding: return the encoding of an int or a string.
* return a negative value on error
/*
* bt_ctf_get_encoding: return the encoding of an int or a string.
* return a negative value on error
This page took
0.023227 seconds
and
4
git commands to generate.