diff options
author | Anders Broman <anders.broman@ericsson.com> | 2012-02-26 17:04:28 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2012-02-26 17:04:28 +0000 |
commit | 38c69c84316d96ba5513e86a3745b02472730434 (patch) | |
tree | d596516237fe03a9ec7b96cd63c85f617768baa4 /summary.h | |
parent | e5a91c8632651e7959e2ab53fe98e2c53c935cb7 (diff) | |
download | wireshark-38c69c84316d96ba5513e86a3745b02472730434.tar.gz wireshark-38c69c84316d96ba5513e86a3745b02472730434.tar.bz2 wireshark-38c69c84316d96ba5513e86a3745b02472730434.zip |
Make it possible to edit capture comments
svn path=/trunk/; revision=41193
Diffstat (limited to 'summary.h')
-rw-r--r-- | summary.h | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -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 */ |