• Guy Harris's avatar
    Directly use wtap_opttypes calls to fetch SHB options. · adee6850
    Guy Harris authored
    Don't put them in the summary structure; the summary routines should
    calculate summary statistics, not dig up every bit of information that
    *could* appear in a summary.
    Instead, have the GUI code call wtap_file_get_shb() to get the SHB
    information and call wtap_optionblock_get_option_string() to fetch the
    option values.
    Move the option code definitions into wtap_opttypes.h, as they're used
    by the API.
    Change-Id: Icef11f5fb30fdc3df1bb0208aae9ed0aebaf0182
    Reviewed-on: https://code.wireshark.org/review/15748Reviewed-by: 's avatarGuy Harris <guy@alum.mit.edu>
summary.h 4.36 KB