1*2d787d22Sniklas /* $NetBSD: cpio.h,v 1.1 1996/02/05 22:34:11 jtc Exp $ */ 2*2d787d22Sniklas 3*2d787d22Sniklas /*- 4*2d787d22Sniklas * Copyright (c) 1996 The NetBSD Foundation, Inc. 5*2d787d22Sniklas * All rights reserved. 6*2d787d22Sniklas * 7*2d787d22Sniklas * This code is derived from software contributed to The NetBSD Foundation 8*2d787d22Sniklas * by J.T. Conklin. 9*2d787d22Sniklas * 10*2d787d22Sniklas * Redistribution and use in source and binary forms, with or without 11*2d787d22Sniklas * modification, are permitted provided that the following conditions 12*2d787d22Sniklas * are met: 13*2d787d22Sniklas * 1. Redistributions of source code must retain the above copyright 14*2d787d22Sniklas * notice, this list of conditions and the following disclaimer. 15*2d787d22Sniklas * 2. Redistributions in binary form must reproduce the above copyright 16*2d787d22Sniklas * notice, this list of conditions and the following disclaimer in the 17*2d787d22Sniklas * documentation and/or other materials provided with the distribution. 18*2d787d22Sniklas * 3. All advertising materials mentioning features or use of this software 19*2d787d22Sniklas * must display the following acknowledgement: 20*2d787d22Sniklas * This product includes software developed by the NetBSD 21*2d787d22Sniklas * Foundation, Inc. and its contributors. 22*2d787d22Sniklas * 4. Neither the name of The NetBSD Foundation nor the names of its 23*2d787d22Sniklas * contributors may be used to endorse or promote products derived 24*2d787d22Sniklas * from this software without specific prior written permission. 25*2d787d22Sniklas * 26*2d787d22Sniklas * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 27*2d787d22Sniklas * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 28*2d787d22Sniklas * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 29*2d787d22Sniklas * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE 30*2d787d22Sniklas * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 31*2d787d22Sniklas * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 32*2d787d22Sniklas * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 33*2d787d22Sniklas * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 34*2d787d22Sniklas * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 35*2d787d22Sniklas * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 36*2d787d22Sniklas * POSSIBILITY OF SUCH DAMAGE. 37*2d787d22Sniklas */ 38*2d787d22Sniklas 39*2d787d22Sniklas #ifndef _CPIO_H_ 40*2d787d22Sniklas #define _CPIO_H_ 41*2d787d22Sniklas 42*2d787d22Sniklas #define C_IRUSR 0000400 43*2d787d22Sniklas #define C_IWUSR 0000200 44*2d787d22Sniklas #define C_IXUSR 0000100 45*2d787d22Sniklas #define C_IRGRP 0000040 46*2d787d22Sniklas #define C_IWGRP 0000020 47*2d787d22Sniklas #define C_IXGRP 0000010 48*2d787d22Sniklas #define C_IROTH 0000004 49*2d787d22Sniklas #define C_IWOTH 0000002 50*2d787d22Sniklas #define C_IXOTH 0000001 51*2d787d22Sniklas #define C_ISUID 0004000 52*2d787d22Sniklas #define C_ISGID 0002000 53*2d787d22Sniklas #define C_ISVTX 0001000 54*2d787d22Sniklas #define C_ISDIR 0040000 55*2d787d22Sniklas #define C_ISFIFO 0010000 56*2d787d22Sniklas #define C_ISREG 0100000 57*2d787d22Sniklas #define C_ISBLK 0060000 58*2d787d22Sniklas #define C_ISCHR 0020000 59*2d787d22Sniklas #define C_ISCTG 0110000 60*2d787d22Sniklas #define C_ISLNK 0120000 61*2d787d22Sniklas #define C_ISSOCK 0140000 62*2d787d22Sniklas 63*2d787d22Sniklas #define MAGIC "070707" 64*2d787d22Sniklas 65*2d787d22Sniklas #endif /* _CPIO_H_ */ 66