Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 12-04-2006, 11:36 AM   #1 (permalink)
Belisarius
Java fanboy
 
Belisarius's Avatar
 
Join Date: Aug 2003
Posts: 1,161
Belisarius is on a distinguished road
TGZ library for Windows

I'm writing a Windows app that needs to create a TGZ file. Upon starting it, I figured of course there'd be an open-source, native implementation of a library for this well-known format. After all, nearly every Windows unzipper on the face of the planet supports TGZ.

Well, after several hours of searching, apart from a single project that requires me to deal with their whole GNU-compatability framework, I'm stumped.

Any suggestions? I'm using MSVC and am definitely not working in a Cygwin-like environment.
__________________
GitS
Belisarius is offline   Reply With Quote
Old 12-04-2006, 11:52 AM   #2 (permalink)
redhead
Newbie
 
redhead's Avatar
 
Join Date: Jun 2002
Location: Denmark
Posts: 1,711
redhead is on a distinguished road
Here are a few:
http://www.feep.net/libtar/
http://www.winimage.com/zLibDll/
http://www.zlib.net/
http://gnuwin32.sourceforge.net/packages/zlib.htm

TGZ is nothing more than a tar archive compressed with zlib.
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001
redhead is offline   Reply With Quote
Old 12-04-2006, 02:54 PM   #3 (permalink)
teknomage1
Jack of all trades
 
teknomage1's Avatar
 
Join Date: Feb 2005
Location: Los Angeles
Posts: 598
teknomage1 is on a distinguished road
Send a message via AIM to teknomage1
Right, to reinforce what redhead is saying - .tgz is shorthand for .tar.gz so you can support it by supporting both of the the above.
__________________
Stop intellectual property from infringing on me
teknomage1 is offline   Reply With Quote
Old 12-04-2006, 03:23 PM   #4 (permalink)
Belisarius
Java fanboy
 
Belisarius's Avatar
 
Join Date: Aug 2003
Posts: 1,161
Belisarius is on a distinguished road
Well, I realize that (I do most of my programming in Unix), but I looked around and couldn't find a whole lot that supported the actual "tar" part. Zlib, as near as I could tell, only handled compression, not archiving. I did run across the gnuwin32 packages, but I was hoping to find something a bit more straightforward than a whole compatibility package.

That feep.net link is the only one I hadn't run across before, and looks to be the best shot right now.
__________________
GitS
Belisarius is offline   Reply With Quote
Old 12-04-2006, 07:34 PM   #5 (permalink)
teknomage1
Jack of all trades
 
teknomage1's Avatar
 
Join Date: Feb 2005
Location: Los Angeles
Posts: 598
teknomage1 is on a distinguished road
Send a message via AIM to teknomage1
If libtar doesn't work out, the tar format seems pretty straightforward (just a lot of bit twiddling code). There'a a description of the indivdual structs at in the gnu tar manual.
__________________
Stop intellectual property from infringing on me
teknomage1 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking for a good Image Loading/Writing Library in C teknomage1 Platform/API C++ 3 07-23-2006 08:41 PM
Joost library complete Java 1 07-21-2006 09:46 PM
J2ME Library call ballina Java 1 07-21-2004 07:38 AM
Installing and using CMUgraphics library. Valmont Standard C, C++ 12 03-29-2003 08:39 AM
String Library MacTool Standard C, C++ 23 03-15-2003 03:17 PM


All times are GMT -8. The time now is 05:45 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting