projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib: make values API const-correct
[babeltrace.git]
/
cli
/
babeltrace-cfg.c
diff --git
a/cli/babeltrace-cfg.c
b/cli/babeltrace-cfg.c
index d96fd5cee7470ba0aff1c267ca5ab03d278d005d..f4d836ae2858bfbb98538d8a83f31988b5d84101 100644
(file)
--- a/
cli/babeltrace-cfg.c
+++ b/
cli/babeltrace-cfg.c
@@
-23,8
+23,7
@@
*/
#include <babeltrace/common-internal.h>
*/
#include <babeltrace/common-internal.h>
-#include <babeltrace/values.h>
-#include <babeltrace/private-values.h>
+#include <babeltrace/babeltrace.h>
#include <glib.h>
#include "babeltrace-cfg.h"
#include <glib.h>
#include "babeltrace-cfg.h"
@@
-39,7
+38,7
@@
void destroy_gstring(void *data)
* and appends them to the array value object plugin_paths.
*/
int bt_config_append_plugin_paths(
* and appends them to the array value object plugin_paths.
*/
int bt_config_append_plugin_paths(
- struct bt_
private_
value *plugin_paths, const char *arg)
+ struct bt_value *plugin_paths, const char *arg)
{
int ret = 0;
GPtrArray *dirs = g_ptr_array_new_with_free_func(destroy_gstring);
{
int ret = 0;
GPtrArray *dirs = g_ptr_array_new_with_free_func(destroy_gstring);
@@
-59,7
+58,7
@@
int bt_config_append_plugin_paths(
for (i = 0; i < dirs->len; i++) {
GString *dir = g_ptr_array_index(dirs, i);
for (i = 0; i < dirs->len; i++) {
GString *dir = g_ptr_array_index(dirs, i);
- ret = bt_
private_
value_array_append_string_element(
+ ret = bt_value_array_append_string_element(
plugin_paths, dir->str);
if (ret != BT_VALUE_STATUS_OK) {
ret = -1;
plugin_paths, dir->str);
if (ret != BT_VALUE_STATUS_OK) {
ret = -1;
This page took
0.024945 seconds
and
4
git commands to generate.