X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=include%2Fbabeltrace%2Fctf-ir%2Fevent-fields-internal.h;h=89b9496b3b9eb2043b36926028ef38265eaa08fa;hp=b79a428828ac55d2486b09e533e7d742014e70fb;hb=12c8a1a3121ed7125e8758065c44658d8eda1333;hpb=9773681407e4e8fce40f247132dc99fabe306bfe diff --git a/include/babeltrace/ctf-ir/event-fields-internal.h b/include/babeltrace/ctf-ir/event-fields-internal.h index b79a4288..89b9496b 100644 --- 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); +/* Validate that the field's payload is set. */ 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);