babeltrace(1): add help command
[babeltrace.git] / converter / babeltrace-cfg.h
index 20c1606667cc722c004f754c83016305ac1f5fe9..4245012c2ed20eb3a7d8afc0d11a4b570b58c78d 100644 (file)
@@ -31,6 +31,7 @@
 #include <babeltrace/ref.h>
 #include <babeltrace/object-internal.h>
 #include <babeltrace/compiler.h>
+#include <babeltrace/component/component-class.h>
 #include <glib.h>
 
 struct bt_config_component {
@@ -43,6 +44,7 @@ struct bt_config_component {
 enum bt_config_command {
        BT_CONFIG_COMMAND_CONVERT,
        BT_CONFIG_COMMAND_LIST_PLUGINS,
+       BT_CONFIG_COMMAND_HELP,
 };
 
 struct bt_config {
@@ -73,6 +75,16 @@ struct bt_config {
                        bool omit_system_plugin_path;
                        bool omit_home_plugin_path;
                } list_plugins;
+
+               /* BT_CONFIG_COMMAND_HELP */
+               struct {
+                       struct bt_value *plugin_paths;
+                       bool omit_system_plugin_path;
+                       bool omit_home_plugin_path;
+                       enum bt_component_class_type comp_cls_type;
+                       GString *plugin_name;
+                       GString *component_name;
+               } help;
        } cmd_data;
 };
 
This page took 0.024428 seconds and 4 git commands to generate.