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

Ethereal-dev: [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: Jerry Talkington <jtalkington@xxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 26 Apr 2004 19:34:41 -0700
Howdy Folks!

I was looking at adding gzip/deflate decompression in HTTP packets, and
it appears that there is already code for decompression in
packet-slsk.c.  It's now static as uncompress_packet().

I'm proposing a move it to tvbuff.c as
tvbuff_t *tvb_uncompress(tvbuff_t *tvb, int offset, int comprlen);

Let me know if that's acceptable, or what else to do, and I'll go ahead
and add gzip decoding (with an option) to HTTP.

-- 
GPG public key:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x9D5B8762