lib: update copyrights
[babeltrace.git] / include / babeltrace / trace-ir / attributes-internal.h
index 3820abd700763694dadcbfbf4fe48c07d2db9ec6..3df05a2925e86e7e5a9d4e8879895340f2091413 100644 (file)
@@ -2,12 +2,8 @@
 #define BABELTRACE_TRACE_IR_ATTRIBUTES_H
 
 /*
- * attributes.c
- *
- * Babeltrace - Trace IR: Attributes internal
- *
+ * Copyright (c) 2015-2018 Philippe Proulx <pproulx@efficios.com>
  * Copyright (c) 2015 EfficiOS Inc. and Linux Foundation
- * Copyright (c) 2015 Philippe Proulx <pproulx@efficios.com>
  *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
  * of this software and associated documentation files (the "Software"), to deal
@@ -34,7 +30,7 @@ extern "C" {
 
 #include <stdint.h>
 #include <babeltrace/babeltrace-internal.h>
-#include <babeltrace/values.h>
+#include <babeltrace/value.h>
 
 BT_HIDDEN
 struct bt_value *bt_attributes_create(void);
@@ -43,14 +39,15 @@ BT_HIDDEN
 void bt_attributes_destroy(struct bt_value *attr_obj);
 
 BT_HIDDEN
-int64_t bt_attributes_get_count(struct bt_value *attr_obj);
+int64_t bt_attributes_get_count(const struct bt_value *attr_obj);
 
 BT_HIDDEN
-const char *bt_attributes_get_field_name(struct bt_value *attr_obj,
+const char *bt_attributes_get_field_name(const struct bt_value *attr_obj,
                uint64_t index);
 
 BT_HIDDEN
-struct bt_value *bt_attributes_borrow_field_value(struct bt_value *attr_obj,
+struct bt_value *bt_attributes_borrow_field_value(
+               struct bt_value *attr_obj,
                uint64_t index);
 
 BT_HIDDEN
@@ -62,7 +59,7 @@ struct bt_value *bt_attributes_borrow_field_value_by_name(
                struct bt_value *attr_obj, const char *name);
 
 BT_HIDDEN
-int bt_attributes_freeze(struct bt_value *attr_obj);
+int bt_attributes_freeze(const struct bt_value *attr_obj);
 
 #ifdef __cplusplus
 }
This page took 0.022935 seconds and 4 git commands to generate.