Support the addition of integer trace environment fields
[babeltrace.git] / include / babeltrace / ctf-ir / trace-internal.h
index 19cdd3615571c04e962a0245808324c6cac2d247..2f738bd743e6cc67ba3e39c3c179d721f3c5c09e 100644 (file)
@@ -60,7 +60,12 @@ struct bt_ctf_trace {
 };
 
 struct environment_variable {
-       GString *name, *value;
+       GString *name;
+       enum bt_environment_field_type type;
+       union {
+               GString *string;
+               int64_t integer;
+       } value;
 };
 
 struct metadata_context {
This page took 0.02455 seconds and 4 git commands to generate.