• M
    wireshark: Honor API change coming with 1.12 release · f0905f7a
    Michal Privoznik 提交于
    https://bugs.gentoo.org/show_bug.cgi?id=508336
    
    At wireshark, they have this promise to change public dissector APIs
    only with minor version number change. Which they did when releasing
    the version of 1.12.
    
    Firstly, they've changed tvb_memdup() in
    a0c53ffaa1bb46d8c9db2ec739401aa411c9790e so now it takes four arguments
    instead of three. The new argument is placed at the very beginning of
    the list of arguments and basically says the scope where we'd like to
    allocate the memory. According to the documentation NULL should be the
    default value.
    
    Then, the tcp_dissect_pdus() signature changed too. Well, the function
    that actually dissects reassembled packets as tcp_dissect_pdus()
    reorder TCP packets into one big chunk and then calls a user function
    to dissect the PDU at once. The change is dated back to
    8081cf1d90397cbbb4404f9720595e1537ed5e14.
    
    Then, WS_DLL_PUBLIC_NOEXTERN was replaced with WS_DLL_PUBLIC_DEF in
    5d87a8c46171f572568db5a47c093423482e342f.
    Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
    (cherry picked from commit e74fa570)
    f0905f7a
make-dissector-reg 5.3 KB