projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add stream packet header accessors
[babeltrace.git]
/
include
/
babeltrace
/
ctf-ir
/
event-fields-internal.h
diff --git
a/include/babeltrace/ctf-ir/event-fields-internal.h
b/include/babeltrace/ctf-ir/event-fields-internal.h
index b79a428828ac55d2486b09e533e7d742014e70fb..89b9496b3b9eb2043b36926028ef38265eaa08fa 100644
(file)
--- a/
include/babeltrace/ctf-ir/event-fields-internal.h
+++ b/
include/babeltrace/ctf-ir/event-fields-internal.h
@@
-90,9
+90,14
@@
BT_HIDDEN
int bt_ctf_field_structure_set_field(struct bt_ctf_field *structure,
const char *name, struct bt_ctf_field *value);
int bt_ctf_field_structure_set_field(struct bt_ctf_field *structure,
const char *name, struct bt_ctf_field *value);
+/* Validate that the field's payload is set. */
BT_HIDDEN
int bt_ctf_field_validate(struct bt_ctf_field *field);
BT_HIDDEN
int bt_ctf_field_validate(struct bt_ctf_field *field);
+/* Mark field payload as unset. */
+BT_HIDDEN
+int bt_ctf_field_reset(struct bt_ctf_field *field);
+
BT_HIDDEN
int bt_ctf_field_serialize(struct bt_ctf_field *field,
struct ctf_stream_pos *pos);
BT_HIDDEN
int bt_ctf_field_serialize(struct bt_ctf_field *field,
struct ctf_stream_pos *pos);
This page took
0.03195 seconds
and
4
git commands to generate.