File:  [DVB] / dietlibc / include / tar.h
Revision 1.1: download - view: text, annotated - select for diffs
Wed Jul 3 20:33:37 2002 UTC (21 years, 11 months ago) by fefe
Branches: MAIN
CVS tags: finnland_test_200301, branch_rc14_fieldtest_finnland, branch_rc13_fieldtest_finnland, branch_rc12_fieldtest_finnland, branch_rc10_fieldtest_finnland, RELEASE_finnland_200301_1, RC12_FIELDTEST_FINNLAND, RC10_FIELDTEST_FINNLAND, HEAD
putenv tweak (Thomas Ogrisegg)
add missing socket syscalls for PA-RISC and IA64 (Thomas Ogrisegg)
add cpio.h and tar.h (Thomas Ogrisegg)
change opendir/readdir/closedir from malloc to mmap (Thomas Ogrisegg)

#ifndef _TAR_H_
#define _TAR_H_

#define TMAGIC    "ustar"
#define TVERSION  "00"

#define TMAGLEN   6
#define TVERSLEN  2

#define REGTYPE  '0'
#define AREGTYPE '\0'
#define LNKTYPE  '1'
#define SYMTYPE  '2'
#define CHRTYPE  '3'
#define BLKTYPE  '4'
#define DIRTYPE  '5'
#define FIFOTYPE '6'
#define CONTTYPE '7'

#define TSUID    04000
#define TSGID    02000
#define TSVTX    01000

#define TUREAD   00400
#define TUWRITE  00200
#define TUEXEC   00100

#define TGREAD   00040
#define TGWRITE  00020
#define TGEXEC   00010

#define TOREAD   00004
#define TOWRITE  00002
#define TOEXEC   00001

#endif /* _TAR_H_ */

LinuxTV legacy CVS <linuxtv.org/cvs>