Wireshark-commits: [Wireshark-commits] master 168ee50: kafka: Cleanup to use "native" APIs.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 05 Sep 2019 03:25:47 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=168ee5003fa2bfba578118b807d6fdf37ec02abc
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

168ee50 by Michael Mann (mmann78@xxxxxxxxxxxx):

    kafka: Cleanup to use "native" APIs.
    
    Add "native" support for the "zig-zag" version of a varint in proto.[ch] and
    tvbuff.[ch].  Convert the use of varint in the KAFKA dissector to use the (new)
    "native" API.
    
    Ping-Bug: 15988
    Change-Id: Ia83569203877df8c780f4f182916ed6327d0ec6c
    Reviewed-on: https://code.wireshark.org/review/34386
    Petri-Dish: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  05e39af   Put the year field of the timestamp out in little-endian byte order.
     add  168ee50   kafka: Cleanup to use "native" APIs.


Summary of changes:
 debian/libwireshark0.symbols   |   1 +
 epan/dissectors/packet-kafka.c | 208 +++++++++++++----------------------------
 epan/proto.c                   |  91 +++++++++++++++---
 epan/proto.h                   |  11 +++
 epan/tvbuff.c                  |  17 +++-
 epan/tvbuff.h                  |   2 +-
 6 files changed, 173 insertions(+), 157 deletions(-)