From 4dd48721ee633fd2db3534ad2e43c00847dce42f Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sun, 16 Jul 2017 20:49:01 -0700 Subject: 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 --- file.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'file.h') diff --git a/file.h b/file.h index 0615fc225c..2a087fc44b 100644 --- a/file.h +++ b/file.h @@ -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 -- cgit v1.2.3