aboutsummaryrefslogtreecommitdiffstats
path: root/file.h
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2012-02-29 16:51:32 +0000
committerAnders Broman <anders.broman@ericsson.com>2012-02-29 16:51:32 +0000
commitd24fad6371fb15e9b02f9a0bb27251e4102a8956 (patch)
tree05d6336b30c63b0f1c00751ffb06968bea8e16b5 /file.h
parent094e8f8947730632710030b5bde07d1a10801e7c (diff)
- 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
Diffstat (limited to 'file.h')
-rw-r--r--file.h17
1 files changed, 17 insertions, 0 deletions
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