Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Ethereal-dev: Re: [Ethereal-dev] Moving the uncompress_packet function in packet-slsk.c

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

From: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Tue, 27 Apr 2004 20:49:45 +0200
On Mon, Apr 26, 2004 at 07:34:41PM -0700, Jerry Talkington wrote:
> I'm proposing a move it to tvbuff.c as
> tvbuff_t *tvb_uncompress(tvbuff_t *tvb, int offset, int comprlen);

Good idea! Maybe making it more generic by calling it tvb_decode and
adding two more parameters like algorithm and a pointer to some private
date used by algorithm would be usesful.

 Ciao
    Jörg

-- 
Joerg Mayer                                           <jmayer@xxxxxxxxx>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.