Wireshark-commits: [Wireshark-commits] rev 53090: /trunk/ /trunk/asn1/acse/: acse.cnf packet-acse-t

Date: Tue, 05 Nov 2013 18:47:28 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=53090

User: mmann
Date: 2013/11/05 06:47 PM

Log:
 In an effort to reduce the use of pinfo->private_data (and some true global variables), I converted the ASN.1 dissectors that use pinfo->private_data to exchange a SESSION_DATA_STRUCTURE to instead only exchange it in the context of ASN.1.  This meant converting dissectors to the "new" style to pass the SESSION_DATA_STRUCTURE as well as providing a pointer to it in asn1_ctx_t.private_data.  Yes, it's still "private data", but it's not used by all dissectors like pinfo->private data is.

Directory: /trunk/asn1/acse/
  Changes    Path                      Action
  +5 -3      acse.cnf                  Modified
  +33 -34    packet-acse-template.c    Modified

Directory: /trunk/asn1/cmip/
  Changes    Path                      Action
  +14 -14    cmip.cnf                  Modified
  +24 -19    packet-cmip-template.c    Modified

Directory: /trunk/asn1/disp/
  Changes    Path                      Action
  +18 -16    packet-disp-template.c    Modified

Directory: /trunk/epan/dissectors/
  Changes    Path             Action
  +51 -50    packet-acse.c    Modified
  +41 -36    packet-cmip.c    Modified
  +12 -10    packet-disp.c    Modified
  +43 -40    packet-dop.c     Modified
  +24 -22    packet-dsp.c     Modified
  +25 -28    packet-idmp.c    Modified


(20 files not shown)