Files
rtems/cpukit/libmisc/untar
Ralf Corsepius 2cc936789e 2003-07-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove (Merged into ../configure.ac).
	* Makefile.am:
	Reflect having merged configure.ac into ../configure.ac.
	* capture/config.h: New.
	* capture/Makefile.am: Add config.h.
	Reflect having merged configure.ac into ../configure.ac.
	* cpuuse/config.h: New.
	* cpuuse/Makefile.am: Add config.h.
	Reflect having merged configure.ac into ../configure.ac.
	* devnull/config.h: New.
	* devnull/Makefile.am: Add config.h.
	Reflect having merged configure.ac into ../configure.ac.
	* dummy/config.h: New.
	* dummy/Makefile.am: Add config.h.
	Reflect having merged configure.ac into ../configure.ac.
	* dumpbuf/config.h: New.
	* dumpbuf/Makefile.am: Add config.h.
	Reflect having merged configure.ac into ../configure.ac.
	* monitor/config.h: New.
	* monitor/Makefile.am: Add config.h.
	Reflect having merged configure.ac into ../configure.ac.
	* mw-fb/config.h: New.
	* mw-fb/Makefile.am: Add config.h.
	Reflect having merged configure.ac into ../configure.ac.
	* rtmonuse/config.h: New.
	* rtmonuse/Makefile.am: Add config.h.
	Reflect having merged configure.ac into ../configure.ac.
	* serdbg/config.h: New.
	* serdbg/Makefile.am: Add config.h.
	Reflect having merged configure.ac into ../configure.ac.
	* shell/config.h: New.
	* shell/Makefile.am: Add config.h.
	Reflect having merged configure.ac into ../configure.ac.
	* stackchk/config.h: New.
	* stackchk/Makefile.am: Add config.h.
	Reflect having merged configure.ac into ../configure.ac.
	* untar/config.h: New.
	* untar/Makefile.am: Add config.h.
	Reflect having merged configure.ac into ../configure.ac.
	* wrapup/Makefile.am:
	Reflect having merged configure.ac into ../configure.ac.
2003-07-08 10:39:58 +00:00
..

#
#  
#  untar information
#
#  Author: Jake Janovetz 7.6.1999
#
#  $Id$
#

untar.c contains two procedures for extracting files from a UNIX
tar file:

    int Untar_FromMemory(unsigned char *tar_buf, unsigned long size);
    int Untar_FromFile(char *tar_name);

Untar_FromMemory(...) takes its input from a chunk of allocated memory.
This is particularly useful when the tar is stored in Flash memory or
comes from the FTP daemon by way of a hook.

Untar_FromFile(...) is identical except the source is from an existing
file.  The fully qualified filename is passed through char *tar_name.



BUGS: Please email janovetz@uiuc.edu
-----