From 38c69c84316d96ba5513e86a3745b02472730434 Mon Sep 17 00:00:00 2001 From: Anders Broman Date: Sun, 26 Feb 2012 17:04:28 +0000 Subject: Make it possible to edit capture comments svn path=/trunk/; revision=41193 --- summary.h | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'summary.h') diff --git a/summary.h b/summary.h index 15a2aaaa9d..a1d062e6a1 100644 --- a/summary.h +++ b/summary.h @@ -61,19 +61,19 @@ typedef struct _summary_tally { double filtered_start; /**< time in seconds, with msec resolution */ double filtered_stop; /**< time in seconds, with msec resolution */ const char *filename; - gint64 file_length; /**< file length in bytes */ - int file_type; /**< wiretap file type */ - int encap_type; /**< wiretap encapsulation type */ + gint64 file_length; /**< file length in bytes */ + int file_type; /**< wiretap file type */ + int encap_type; /**< wiretap encapsulation type */ gboolean has_snap; /**< TRUE if maximum capture packet length is known */ - int snap; /**< Maximum captured packet length */ - gboolean drops_known; /**< TRUE if number of packet drops is known */ + int snap; /**< Maximum captured packet length */ + gboolean drops_known; /**< TRUE if number of packet drops is known */ guint64 drops; /**< number of packet drops */ const char *dfilter; /**< display filter */ gboolean is_tempfile; /* from SHB, use summary_fill_shb_inf() to get values */ gchar *opt_comment; /**< comment from SHB block */ gchar *shb_hardware; /**< Capture HW from SHB block */ - gchar *shb_os; /**< The OS the capture was made on from SHB block */ + gchar *shb_os; /**< The OS the capture was made on from SHB block */ gchar *shb_user_appl; /**< The application that made the capture from SHB block */ /* capture related, use summary_fill_in_capture() to get values */ GArray *ifaces; @@ -87,6 +87,8 @@ summary_fill_in(capture_file *cf, summary_tally *st); extern void summary_fill_in_capture(capture_file *cf, capture_options *capture_opts, summary_tally *st); #endif +extern void +summary_update_comment(capture_file *cf, gchar *comment); #endif /* summary.h */ -- cgit v1.2.1