pax.h (102230) | pax.h (108533) |
---|---|
1/*- 2 * Copyright (c) 1992 Keith Muller. 3 * Copyright (c) 1992, 1993 4 * The Regents of the University of California. All rights reserved. 5 * 6 * This code is derived from software contributed to Berkeley by 7 * Keith Muller of the University of California, San Diego. 8 * --- 21 unchanged lines hidden (view full) --- 30 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 31 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 32 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 33 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 34 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 35 * SUCH DAMAGE. 36 * 37 * @(#)pax.h 8.2 (Berkeley) 4/18/94 | 1/*- 2 * Copyright (c) 1992 Keith Muller. 3 * Copyright (c) 1992, 1993 4 * The Regents of the University of California. All rights reserved. 5 * 6 * This code is derived from software contributed to Berkeley by 7 * Keith Muller of the University of California, San Diego. 8 * --- 21 unchanged lines hidden (view full) --- 30 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 31 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 32 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 33 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 34 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 35 * SUCH DAMAGE. 36 * 37 * @(#)pax.h 8.2 (Berkeley) 4/18/94 |
38 * $FreeBSD: head/bin/pax/pax.h 102230 2002-08-21 17:32:44Z trhodes $ | 38 * $FreeBSD: head/bin/pax/pax.h 108533 2003-01-01 18:49:04Z schweikh $ |
39 */ 40 41/* 42 * BSD PAX global data structures and constants. 43 */ 44 45#define MAXBLK 64512 /* MAX blocksize supported (posix SPEC) */ 46 /* WARNING: increasing MAXBLK past 32256 */ --- 90 unchanged lines hidden (view full) --- 137 /* added. A -1 is returned if a write */ 138 /* operation to the archive failed. this */ 139 /* function sets the skip and pad fields so */ 140 /* the proper padding can be added after */ 141 /* file data. This routine must NEVER write */ 142 /* a flawed archive header. */ 143 int (*end_wr)(); /* end write. write the trailer and do any */ 144 /* other format specific functions needed */ | 39 */ 40 41/* 42 * BSD PAX global data structures and constants. 43 */ 44 45#define MAXBLK 64512 /* MAX blocksize supported (posix SPEC) */ 46 /* WARNING: increasing MAXBLK past 32256 */ --- 90 unchanged lines hidden (view full) --- 137 /* added. A -1 is returned if a write */ 138 /* operation to the archive failed. this */ 139 /* function sets the skip and pad fields so */ 140 /* the proper padding can be added after */ 141 /* file data. This routine must NEVER write */ 142 /* a flawed archive header. */ 143 int (*end_wr)(); /* end write. write the trailer and do any */ 144 /* other format specific functions needed */ |
145 /* at the end of a archive write */ | 145 /* at the end of an archive write */ |
146 int (*trail)(); /* returns 0 if a valid trailer, -1 if not */ 147 /* For formats which encode the trailer */ 148 /* outside of a valid header, a return value */ 149 /* of 1 indicates that the block passed to */ 150 /* it can never contain a valid header (skip */ 151 /* this block, no point in looking at it) */ 152 /* CAUTION: parameters to this function are */ 153 /* different for trailers inside or outside */ --- 89 unchanged lines hidden --- | 146 int (*trail)(); /* returns 0 if a valid trailer, -1 if not */ 147 /* For formats which encode the trailer */ 148 /* outside of a valid header, a return value */ 149 /* of 1 indicates that the block passed to */ 150 /* it can never contain a valid header (skip */ 151 /* this block, no point in looking at it) */ 152 /* CAUTION: parameters to this function are */ 153 /* different for trailers inside or outside */ --- 89 unchanged lines hidden --- |