diff options
author | Anders Broman <anders.broman@ericsson.com> | 2012-02-29 16:51:32 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2012-02-29 16:51:32 +0000 |
commit | d24fad6371fb15e9b02f9a0bb27251e4102a8956 (patch) | |
tree | 05d6336b30c63b0f1c00751ffb06968bea8e16b5 /file.h | |
parent | 094e8f8947730632710030b5bde07d1a10801e7c (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.h | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -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 |