Wireshark-commits: [Wireshark-commits] master acc09c2: ASN1: Added support for using #.REGISTER_NEW
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 7 Oct 2014 16:23:58 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=acc09c2aa248d892ee6b894b43c79cb060131b11
Submitter: Stig Bjørlykke (stig@xxxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

acc09c2 by Stig Bjørlykke (stig@xxxxxxxxxxxxx):

    ASN1: Added support for using #.REGISTER_NEW
    
    This will register BER PDU-dissectors as "new".
    Return number of bytes dissected from dissector_try_* functions.
    Return number of bytes dissected in DissectorTable:try()
    
    This will make it possible to get dissected length when using
    dissector_try_*() and dissected ASN.1 length in Lua when using
    DissectorTable:try() (as we already have for Dissector:call).
    
    Change-Id: I8802a812bd484c1e8794c618b87e676003aea94a
    Reviewed-on: https://code.wireshark.org/review/4493
    Reviewed-by: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    Tested-by: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    

Actions performed:

    from  a87659c   Build 1.99.0.
    adds  acc09c2   ASN1: Added support for using #.REGISTER_NEW


Summary of changes:
 epan/dissectors/packet-ber.c |   63 ++++++++++++++++++++++++++++++++----------
 epan/dissectors/packet-ber.h |    4 +++
 epan/packet.c                |   36 ++++++++++++------------
 epan/packet.h                |    6 ++--
 epan/wslua/wslua_proto.c     |   33 ++++++++++++----------
 5 files changed, 92 insertions(+), 50 deletions(-)