From d24fad6371fb15e9b02f9a0bb27251e4102a8956 Mon Sep 17 00:00:00 2001 From: Anders Broman Date: Wed, 29 Feb 2012 16:51:32 +0000 Subject: - Add a LED in the statusbar to indicate that capture comments exists, clickable to open an edit window. - Add checks for NULL pointers. Help with a different color LED possibly with Jeff's (c) in it apreceated. Should the LED be placed elsewhere or the whole thing done differently? svn path=/trunk/; revision=41242 --- file.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'file.h') diff --git a/file.h b/file.h index facf0f1d40..d42f793efe 100644 --- a/file.h +++ b/file.h @@ -580,6 +580,23 @@ cf_status_t cf_merge_files(char **out_filename, int in_file_count, char *const *in_filenames, int file_type, gboolean do_append); + +/** + * Get the comment on a capture from the SHB data block + * + * @param cf the capture file + */ +const gchar* cf_read_shb_comment(capture_file *cf); + +/** + * Update(replace) the comment on a capture from the SHB data block + * + * @param cf the capture file + * @param comment the string replacing the old comment + */ +void cf_update_capture_comment(capture_file *cf, gchar *comment); + + #if defined(HAVE_HEIMDAL_KERBEROS) || defined(HAVE_MIT_KERBEROS) void read_keytab_file(const char *); #endif -- cgit v1.2.3