Fix: use extern for variables instead of BT_HIDDEN
[babeltrace.git] / plugins / text / pretty / pretty.h
index 9caa5778ea8f487673d4bdb1a0bb9d6c905ab6b2..2394e042d86c55f4faa36d0a627c21339dbbc66d 100644 (file)
@@ -48,8 +48,6 @@ enum pretty_color_option {
 
 struct pretty_options {
        char *output_path;
-       char *debug_info_dir;
-       char *debug_info_target_prefix;
 
        enum pretty_default name_default;
        enum pretty_default field_default;
@@ -73,7 +71,6 @@ struct pretty_options {
        bool clock_seconds;
        bool clock_date;
        bool clock_gmt;
-       bool debug_info_full_path;
        enum pretty_color_option color;
        bool verbose;
 };
@@ -82,10 +79,10 @@ struct pretty_component {
        struct pretty_options options;
        struct bt_notification_iterator *input_iterator;
        FILE *out, *err;
-       bool processed_first_event; /* Should be per-iterator. */
        int depth;      /* nesting, used for tabulation alignment. */
        bool start_line;
        GString *string;
+       GString *tmp_string;
        struct bt_value *plugin_opt_map;        /* Temporary parameter map. */
        bool use_colors;
        bool error;
@@ -95,6 +92,8 @@ struct pretty_component {
 
        uint64_t last_real_timestamp;
        uint64_t delta_real_timestamp;
+
+       bool negative_timestamp_warning_done;
 };
 
 enum stream_packet_context_quarks_enum {
@@ -107,6 +106,7 @@ enum stream_packet_context_quarks_enum {
        STREAM_PACKET_CONTEXT_QUARKS_LEN, /* Always the last one of this enum. */
 };
 
+extern
 GQuark stream_packet_context_quarks[STREAM_PACKET_CONTEXT_QUARKS_LEN];
 
 BT_HIDDEN
@@ -129,6 +129,11 @@ void pretty_finalize(struct bt_private_component *component);
 
 BT_HIDDEN
 enum bt_component_status pretty_print_event(struct pretty_component *pretty,
-               struct bt_ctf_event *event);
+               struct bt_notification *event_notif);
+
+BT_HIDDEN
+enum bt_component_status pretty_print_discarded_elements(
+               struct pretty_component *pretty,
+               struct bt_notification *notif);
 
 #endif /* BABELTRACE_PLUGIN_TEXT_PRETTY_PRETTY_H */
This page took 0.028444 seconds and 4 git commands to generate.