#include <babeltrace/common-internal.h>
#include <babeltrace/values.h>
+#include <babeltrace/private-values.h>
#include <glib.h>
#include "babeltrace-cfg.h"
* and appends them to the array value object plugin_paths.
*/
enum bt_value_status bt_config_append_plugin_paths(
- struct bt_value *plugin_paths, const char *arg)
+ struct bt_private_value *plugin_paths, const char *arg)
{
enum bt_value_status status = BT_VALUE_STATUS_OK;
GPtrArray *dirs = g_ptr_array_new_with_free_func(destroy_gstring);
for (i = 0; i < dirs->len; i++) {
GString *dir = g_ptr_array_index(dirs, i);
- status = bt_value_array_append_string_element(plugin_paths, dir->str);
+ status = bt_private_value_array_append_string_element(
+ plugin_paths, dir->str);
if (status != BT_VALUE_STATUS_OK) {
break;
}