forked from Imagelibrary/rtems
* cpuuse/cpuuse.c, cpuuse/cpuuse.h, devnull/devnull.c, devnull/devnull.h, dummy/dummy.c, dumpbuf/dumpbuf.c, dumpbuf/dumpbuf.h, fsmount/fsmount.c, fsmount/fsmount.h, serdbg/serdbgio.c, serdbg/termios_printk.c, stackchk/check.c, stackchk/internal.h, stackchk/stackchk.h, untar/untar.c, untar/untar.h: URL for license changed.
26 lines
558 B
C
26 lines
558 B
C
/*
|
|
* Written by: Jake Janovetz <janovetz@tempest.ece.uiuc.edu>
|
|
*
|
|
* The license and distribution terms for this file may be
|
|
* found in the file LICENSE in this distribution or at
|
|
* http://www.rtems.com/license/LICENSE.
|
|
*
|
|
* $Id$
|
|
*/
|
|
|
|
#ifndef __UNTAR_H__
|
|
#define __UNTAR_H__
|
|
|
|
|
|
#define UNTAR_SUCCESSFUL 0
|
|
#define UNTAR_FAIL 1
|
|
#define UNTAR_INVALID_CHECKSUM 2
|
|
#define UNTAR_INVALID_HEADER 3
|
|
|
|
|
|
int Untar_FromMemory(unsigned char *tar_buf, unsigned long size);
|
|
int Untar_FromFile(char *tar_name);
|
|
|
|
|
|
#endif /* __UNTAR_H__ */
|