Cleanup babeltrace-cfg, use BABELTRACE_PLUGIN_PATH
[babeltrace.git] / converter / babeltrace-cfg.h
index 46777547ca514aaba27affc7e0986249d2354aed..f32bf07aab0af42c38f794c2f8808e9580adad4b 100644 (file)
@@ -38,8 +38,6 @@ struct bt_config_component {
        GString *plugin_name;
        GString *component_name;
        struct bt_value *params;
-       uint64_t begin_ns;
-       uint64_t end_ns;
 };
 
 struct bt_config {
@@ -56,6 +54,8 @@ struct bt_config {
        bool verbose;
        bool do_list;
        bool force_correlate;
+       bool omit_system_plugin_path;
+       bool omit_home_plugin_path;
 };
 
 static inline
@@ -65,6 +65,12 @@ struct bt_config_component *bt_config_get_component(GPtrArray *array,
        return bt_get(g_ptr_array_index(array, index));
 }
 
-struct bt_config *bt_config_from_args(int argc, char *argv[], int *exit_code);
+struct bt_config *bt_config_create(void);
+
+int bt_config_init_from_args(struct bt_config *cfg, int argc,
+               const char *argv[]);
+
+enum bt_value_status bt_config_append_plugin_paths(
+               struct bt_value *plugin_paths, const char *arg);
 
 #endif /* BABELTRACE_CONVERTER_CFG_H */
This page took 0.022725 seconds and 4 git commands to generate.