diff options
author | Guy Harris <guy@alum.mit.edu> | 2017-07-16 20:37:32 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2017-07-17 03:38:45 +0000 |
commit | cdc01b89bf07a5df072d6d0410c4920f857feab7 (patch) | |
tree | 2a2b255c851a2cfa48a1f10b22599a191af15b45 /file.h | |
parent | f3181f706b39955a4f4bc26f1d6d75166a67c235 (diff) |
Rename section comment get/set routines.
Rename cf_read_shb_comment() to cf_read_section_comment(); an SHB is a
record type in a particular capture file format (pcapng), and not all
files that have per-file or per-file-section comments have something
called a Section Header Block.
Rename cf_update_capture_comment() to cf_update_section_comment();
pcapng, at least, supports multiple sections, although we don't curently
support that.
This also gives them matching names.
Change-Id: Idd8cb0f0fd9125b9626411274aebfb1ec0097665
Reviewed-on: https://code.wireshark.org/review/22659
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'file.h')
-rw-r--r-- | file.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -678,18 +678,20 @@ cf_merge_files_to_tempfile(gpointer pd_window, char **out_filenamep, /** * Get the comment on a capture from the SHB data block + * XXX - should support multiple sections. * * @param cf the capture file */ -const gchar* cf_read_shb_comment(capture_file *cf); +const gchar* cf_read_section_comment(capture_file *cf); /** * Update(replace) the comment on a capture from the SHB data block + * XXX - should support multiple sections. * * @param cf the capture file * @param comment the string replacing the old comment */ -void cf_update_capture_comment(capture_file *cf, gchar *comment); +void cf_update_section_comment(capture_file *cf, gchar *comment); char *cf_get_comment(capture_file *cf, const frame_data *fd); |