Fix: headers: add missing end of `extern "C"` curly brackets (for C++)
[babeltrace.git] / include / babeltrace / ctf-writer / attributes-internal.h
index 2fc6c592704a5d7af2ce195a3d71cfc8aad1a07a..8b372f6e04d7d72900eda63a9082a7afcd367f59 100644 (file)
@@ -2,10 +2,6 @@
 #define BABELTRACE_CTF_WRITER_ATTRIBUTES_H
 
 /*
- * attributes.c
- *
- * Babeltrace - CTF writer: Attributes internal
- *
  * Copyright (c) 2015 EfficiOS Inc. and Linux Foundation
  * Copyright (c) 2015 Philippe Proulx <pproulx@efficios.com>
  *
@@ -34,35 +30,35 @@ extern "C" {
 
 #include <stdint.h>
 #include <babeltrace/babeltrace-internal.h>
-#include <babeltrace/values.h>
+#include <babeltrace/ctf-writer/values-internal.h>
 
 BT_HIDDEN
-struct bt_value *bt_ctf_attributes_create(void);
+struct bt_ctf_private_value *bt_ctf_attributes_create(void);
 
 BT_HIDDEN
-void bt_ctf_attributes_destroy(struct bt_value *attr_obj);
+void bt_ctf_attributes_destroy(struct bt_ctf_private_value *attr_obj);
 
 BT_HIDDEN
-int64_t bt_ctf_attributes_get_count(struct bt_value *attr_obj);
+int64_t bt_ctf_attributes_get_count(struct bt_ctf_private_value *attr_obj);
 
 BT_HIDDEN
-const char *bt_ctf_attributes_get_field_name(struct bt_value *attr_obj,
+const char *bt_ctf_attributes_get_field_name(struct bt_ctf_private_value *attr_obj,
                uint64_t index);
 
 BT_HIDDEN
-struct bt_value *bt_ctf_attributes_borrow_field_value(struct bt_value *attr_obj,
+struct bt_ctf_private_value *bt_ctf_attributes_borrow_field_value(struct bt_ctf_private_value *attr_obj,
                uint64_t index);
 
 BT_HIDDEN
-int bt_ctf_attributes_set_field_value(struct bt_value *attr_obj,
-               const char *name, struct bt_value *value_obj);
+int bt_ctf_attributes_set_field_value(struct bt_ctf_private_value *attr_obj,
+               const char *name, struct bt_ctf_private_value *value_obj);
 
 BT_HIDDEN
-struct bt_value *bt_ctf_attributes_borrow_field_value_by_name(
-               struct bt_value *attr_obj, const char *name);
+struct bt_ctf_private_value *bt_ctf_attributes_borrow_field_value_by_name(
+               struct bt_ctf_private_value *attr_obj, const char *name);
 
 BT_HIDDEN
-int bt_ctf_attributes_freeze(struct bt_value *attr_obj);
+int bt_ctf_attributes_freeze(struct bt_ctf_private_value *attr_obj);
 
 #ifdef __cplusplus
 }
This page took 0.030203 seconds and 4 git commands to generate.