Wireshark-commits: [Wireshark-commits] master 8ff944d: Add fixed length function for address types.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 9 Feb 2015 03:49:17 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=8ff944d4ab892521c6a32fe40f6a410640a34d34
Submitter: Michael Mann (mmann78@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

8ff944d by Michael Mann (mmann78@xxxxxxxxxxxx):

    Add fixed length function for address types.
    
    This allows for even more cleanup with respect to how address types are handled, including removing address_to_str.c.  Most of the functionality was folded into address_types.c, but the remainder was just dispersed because it didn't make sense to keep the file.
    
    Change-Id: Id4e9391f0c3c26eff8c27b362e4f7a1970d718b4
    Reviewed-on: https://code.wireshark.org/review/7038
    Petri-Dish: Michael Mann <mmann78@xxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    

Actions performed:

    from  2875cd3   Eliminate the hf member out of the address structure.
    adds  8ff944d   Add fixed length function for address types.


Summary of changes:
 epan/CMakeLists.txt                 |    1 -
 epan/Makefile.common                |    1 -
 epan/addr_resolv.c                  |    9 +
 epan/address.h                      |    3 -
 epan/address_to_str.c               |  361 -----------------------------------
 epan/address_types.c                |  290 +++++++++++++++++++++++++---
 epan/address_types.h                |    8 +-
 epan/dissectors/packet-arcnet.c     |    7 +-
 epan/dissectors/packet-atalk.c      |    8 +-
 epan/dissectors/packet-devicenet.c  |    7 +-
 epan/dissectors/packet-ieee80211.c  |    4 +-
 epan/dissectors/packet-ieee802154.c |    7 +-
 epan/dissectors/packet-ismp.c       |   19 ++
 epan/dissectors/packet-j1939.c      |   15 +-
 epan/dissectors/packet-jxta.c       |    2 +-
 epan/dissectors/packet-mp2t.c       |    2 +-
 epan/dissectors/packet-mstp.c       |    7 +-
 epan/dissectors/packet-sna.c        |    2 +-
 epan/dissectors/packet-tipc.c       |    2 +-
 epan/osi-utils.c                    |    2 +-
 epan/to_str.c                       |   17 ++
 epan/to_str.h                       |    3 +-
 22 files changed, 365 insertions(+), 412 deletions(-)
 delete mode 100644 epan/address_to_str.c