lib: assign values to all public enumerators
[babeltrace.git] / include / babeltrace2 / trace-ir / trace.h
index 0e0887210634ef7076932945f9b316334022bab2..4d17c48406ef9c9449643075d86745a6a612b015 100644 (file)
@@ -2,8 +2,7 @@
 #define BABELTRACE2_TRACE_IR_TRACE_H
 
 /*
- * Copyright 2017-2018 Philippe Proulx <pproulx@efficios.com>
- * Copyright 2014 Jérémie Galarneau <jeremie.galarneau@efficios.com>
+ * Copyright (c) 2010-2019 EfficiOS Inc. and Linux Foundation
  *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
  * of this software and associated documentation files (the "Software"), to deal
@@ -22,9 +21,6 @@
  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  * SOFTWARE.
- *
- * The Common Trace Format (CTF) Specification is available at
- * http://www.efficios.com/ctf
  */
 
 #ifndef __BT_IN_BABELTRACE_H
@@ -33,7 +29,6 @@
 
 #include <stdint.h>
 
-/* For bt_bool, bt_uuid, bt_trace, bt_trace_class, bt_stream */
 #include <babeltrace2/types.h>
 
 #ifdef __cplusplus
@@ -44,6 +39,11 @@ extern bt_trace_class *bt_trace_borrow_class(bt_trace *trace);
 
 extern bt_trace *bt_trace_create(bt_trace_class *trace_class);
 
+extern bt_value *bt_trace_borrow_user_attributes(bt_trace *trace);
+
+extern void bt_trace_set_user_attributes(
+               bt_trace *trace, const bt_value *user_attributes);
+
 typedef enum bt_trace_set_name_status {
        BT_TRACE_SET_NAME_STATUS_MEMORY_ERROR   = __BT_FUNC_STATUS_MEMORY_ERROR,
        BT_TRACE_SET_NAME_STATUS_OK             = __BT_FUNC_STATUS_OK,
This page took 0.024768 seconds and 4 git commands to generate.