#define BABELTRACE2_TRACE_IR_EVENT_CLASS_H
/*
- * Copyright 2017-2018 Philippe Proulx <pproulx@efficios.com>
- * Copyright 2013, 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
* 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
#include <stdint.h>
-/* For bt_event_class_log_level */
#include <babeltrace2/trace-ir/event-class-const.h>
-
-/* For bt_event_class, bt_stream_class */
#include <babeltrace2/types.h>
#ifdef __cplusplus
extern bt_event_class *bt_event_class_create_with_id(
bt_stream_class *stream_class, uint64_t id);
+extern bt_value *bt_event_class_borrow_user_attributes(
+ bt_event_class *event_class);
+
+extern void bt_event_class_set_user_attributes(
+ bt_event_class *event_class, const bt_value *user_attributes);
+
extern bt_stream_class *bt_event_class_borrow_stream_class(
bt_event_class *event_class);