From owner-freebsd-questions@FreeBSD.ORG Mon Jul 7 11:28:27 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3D99737B401 for ; Mon, 7 Jul 2003 11:28:27 -0700 (PDT) Received: from out001.verizon.net (out001pub.verizon.net [206.46.170.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 545F843F93 for ; Mon, 7 Jul 2003 11:28:26 -0700 (PDT) (envelope-from cswiger@mac.com) Received: from mac.com ([141.149.47.46]) by out001.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030707182825.UMSR12592.out001.verizon.net@mac.com>; Mon, 7 Jul 2003 13:28:25 -0500 Message-ID: <3F09BBC9.8040603@mac.com> Date: Mon, 07 Jul 2003 14:28:25 -0400 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Chris Ptacek References: <31269226357BD211979E00A0C9866DAB04D9377F@rios.sitaranetworks.com> In-Reply-To: <31269226357BD211979E00A0C9866DAB04D9377F@rios.sitaranetworks.com> X-Enigmail-Version: 0.76.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH at out001.verizon.net from [141.149.47.46] at Mon, 7 Jul 2003 13:28:25 -0500 cc: "'freebsd-questions@freebsd.org'" Subject: Re: gzip library (compressing a buffer in C) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jul 2003 18:28:27 -0000 Chris Ptacek wrote: > Does anyone know if there is a library available to allow a C program to > gzip a buffer. Basically I have a buffer of data that I will be transfering > and would like to gzip it before sending. The receiving system already does > a gunzip and I am trying to handle the same format, so other compression may > not be available. Absolutely: see /usr/lib/libz.a -- -Chuck