Ethereal-cvs: [Ethereal-cvs] rev 14786: /trunk/epan/dissectors/: packet-aarp.c packet-aim.c pa

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

Date: Sun, 26 Jun 2005 19:57:29 -0000
User: guy
Date: 2005/06/26 02:57 PM

Log:
 Get rid of the private "my_match_strval()" routine in many dissectors;
 add a "match_strval_idx()" routine that does the same thing, and have
 "match_strval()" call it.
 
 Make those routines, and "val_to_str()", return a "const" pointer. 
 Update dissectors as necessary to squelch compiler warnings produced by
 that.
 
 Use "val_to_str()" rather than using "match_strval()" and then, if the
 result is null, substituting a specific string.  Clean up some other
 "match_strval()"/"val_to_str()" usages.
 
 Add a null pointer check in the NDPS dissector's "attribute_value()"
 routine, as it's not clear that "global_attribute_name" won't be null at
 that point.
 
 Make some global variables in the AFS4INT dissector local.
 
 Make some routines not used outside the module they're in static.
 
 Make some tables "static const".
 
 Clean up white space.
 
 Fix Gerald's address in some files.

Directory: /trunk/epan/dissectors/
  Changes    Path                       Action
  +1 -1      packet-aarp.c              Modified
  +4 -3      packet-aim.c               Modified
  +5 -5      packet-ajp13.c             Modified
  +4 -23     packet-alcap.c             Modified
  +7 -28     packet-ansi_637.c          Modified
  +2 -23     packet-ansi_683.c          Modified
  +4 -25     packet-ansi_801.c          Modified
  +3 -23     packet-ansi_a.c            Modified
  +10 -31    packet-ansi_map.c          Modified
  +3 -3      packet-arp.c               Modified
  +2 -3      packet-arp.h               Modified
  +3 -3      packet-bgp.c               Modified
  +2 -2      packet-bittorrent.c        Modified
  +27 -27    packet-bssgp.c             Modified
  +1 -1      packet-cast.c              Modified
  +1 -1      packet-cdp.c               Modified
  +1 -1      packet-clnp.c              Modified
  +1 -1      packet-cops.c              Modified
  +14 -12    packet-dcerpc-afs4int.c    Modified
  +1 -1      packet-dcerpc-nt.c         Modified
  +2 -2      packet-dcerpc-rs_pgo.c     Modified
  +2 -2      packet-dcerpc-spoolss.c    Modified
  +20 -37    packet-dhcp-failover.c     Modified
  +6 -6      packet-dns.c               Modified
  +1 -1      packet-dns.h               Modified
  +4 -5      packet-edonkey.c           Modified
  +1 -1      packet-esis.c              Modified
  +1 -1      packet-ethertype.c         Modified
  +1 -1      packet-fclctl.c            Modified
  +1 -1      packet-fclctl.h            Modified
  +16 -42    packet-gsm_a.c             Modified
  +14 -38    packet-gsm_map.c           Modified
  +2 -21     packet-gsm_sms.c           Modified
  +1 -23     packet-gsm_ss.c            Modified
  +72 -72    packet-h245.c              Modified
  +1 -1      packet-h245.h              Modified
  +4 -3      packet-iapp.c              Modified
  +2 -2      packet-icmpv6.c            Modified
  +5 -5      packet-icq.c               Modified
  +1 -1      packet-ieee80211.c         Modified
  +1 -1      packet-image-jfif.c        Modified
  +2 -2      packet-ipdc.c              Modified
  +11 -11    packet-ipp.c               Modified
  +1 -1      packet-ipsec.c             Modified
  +1 -1      packet-ipv6.c              Modified
  +1 -1      packet-isis-hello.c        Modified
  +1 -1      packet-laplink.c           Modified
  +1 -1      packet-ldap.c              Modified
  +1 -1      packet-lmp.c               Modified
  +2 -1      packet-mbtcp.c             Modified
  +7 -7      packet-mmse.c              Modified
  +1 -1      packet-nbns.c              Modified
  +9 -13     packet-ncp2222.inc         Modified
  +5 -4      packet-ndps.c              Modified
  +3 -3      packet-netbios.c           Modified
  +1 -1      packet-netbios.h           Modified
  +41 -41    packet-nfs.c               Modified
  +1 -1      packet-ospf.c              Modified
  +65 -85    packet-pgsql.c             Modified
  +1 -1      packet-pim.c               Modified
  +2 -2      packet-pppoe.c             Modified
  +3 -8      packet-radius.c            Modified
  +1 -1      packet-rmcp.c              Modified
  +2 -2      packet-rpc.c               Modified
  +35 -35    packet-rsvp.c              Modified
  +2 -2      packet-scsi.c              Modified
  +2 -2      packet-ses.c               Modified
  +2 -4      packet-skinny.c            Modified
  +11 -6     packet-slsk.c              Modified
  +1 -1      packet-smb.c               Modified
  +2 -2      packet-smpp.c              Modified
  +2 -2      packet-snmp.c              Modified
  +12 -18    packet-ssl.c               Modified
  +1 -1      packet-stun.c              Modified
  +2 -4      packet-trmac.c             Modified
  +2 -1      packet-tzsp.c              Modified
  +2 -4      packet-wsp.c               Modified
  +2 -2      packet-wtls.c              Modified
  +3 -3      packet-x11.c               Modified
  +1 -1      packet-ypserv.c            Modified

Directory: /trunk/epan/
  Changes    Path               Action
  +1 -0      libethereal.def    Modified
  +20 -12    value_string.c     Modified
  +10 -6     value_string.h     Modified
  +5 -7      xdlc.c             Modified

Directory: /trunk/asn1/gsmmap/
  Changes    Path                         Action
  +14 -38    packet-gsm_map-template.c    Modified

Directory: /trunk/asn1/h245/
  Changes    Path                      Action
  +1 -1      packet-h245-template.c    Modified

Directory: /trunk/plugins/rtnet/
  Changes    Path              Action
  +4 -6      packet-rtnet.c    Modified

Directory: /trunk/
  Changes    Path             Action
  +1 -1      tap-wspstat.c    Modified



http://anonsvn.ethereal.com/viewcvs/viewcvs.py?rev=14786&view=rev