diff options
author | Guy Harris <guy@alum.mit.edu> | 2017-07-16 20:49:01 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2017-07-17 03:49:33 +0000 |
commit | 4dd48721ee633fd2db3534ad2e43c00847dce42f (patch) | |
tree | 3f6866affdf2e1b12c59ff36746b86a47f640c7c /file.h | |
parent | cdc01b89bf07a5df072d6d0410c4920f857feab7 (diff) |
Rename cf_get_comment() to reflect what comment it gets.
Change-Id: Id3b0430a1d462b29833259462536ed4cb0424f77
Reviewed-on: https://code.wireshark.org/review/22662
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'file.h')
-rw-r--r-- | file.h | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -693,7 +693,15 @@ const gchar* cf_read_section_comment(capture_file *cf); */ void cf_update_section_comment(capture_file *cf, gchar *comment); -char *cf_get_comment(capture_file *cf, const frame_data *fd); +/* + * Get the comment on a packet (record). + * If the comment has been edited, it returns the result of the edit, + * otherwise it returns the comment from the file. + * + * @param cf the capture file + * @param fd the frame_data structure for the frame + */ +char *cf_get_packet_comment(capture_file *cf, const frame_data *fd); /** * Update(replace) the comment on a capture from a frame |