Ask Your Question
0

Regarding APIs changes/replacement in Latest Version in wireshark

asked 2019-08-15 21:18:25 +0000

Golu gravatar image

The following are API's in wireshark (1.7 old version) that are now deprecated.

range_foreach range_copy range_convert_str range_empty register_dissector_table

Could anyone guide or tell me, Is anything comes up on replacement of these API's in latest wireshark version. As with latest wireshark version 3.0.3, new APIs are not getting complied with these APIs where is APIs changed in wireshark version from 1.7 to 3.0.3.

Please help to get answer this. Thanks !

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-08-15 22:29:39 +0000

Guy Harris gravatar image

range_foreach

The replacement for range_foreach() is range_foreach().

range_copy()

The replacement for range_copy() is range_copy().

range_convert_str()

The replacement for range_convert_str() is range_convert_str().

range_empty

The replacement for range_empty() is range_empty().

register_dissector_table()

The replacement for register_dissector_table() is register_dissector_table().

I.e., none of those routines have been deprecated, and they're still standard APIs in the current version of Wireshark, all versions since 1.7, and in the master branch.

Why do you believe they were deprecated?

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2019-08-15 21:18:25 +0000

Seen: 486 times

Last updated: Aug 15 '19