xdelta3.h (xdelta3-3.0.10) | : | xdelta3.h (xdelta3-3.0.11) | ||
---|---|---|---|---|
/* xdelta 3 - delta compression tools and library | /* xdelta 3 - delta compression tools and library | |||
* Copyright (C) 2001, 2003, 2004, 2005, 2006, 2007, | * Copyright (C) Joshua P. MacDonald | |||
* 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015. Joshua P. MacDonald | ||||
* | * | |||
* This program is free software; you can redistribute it and/or modify | * This program is free software; you can redistribute it and/or modify | |||
* it under the terms of the GNU General Public License as published by | * it under the terms of the GNU General Public License as published by | |||
* the Free Software Foundation; either version 2 of the License, or | * the Free Software Foundation; either version 2 of the License, or | |||
* (at your option) any later version. | * (at your option) any later version. | |||
* | * | |||
* This program is distributed in the hope that it will be useful, | * This program is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||
* GNU General Public License for more details. | * GNU General Public License for more details. | |||
skipping to change at line 784 | skipping to change at line 783 | |||
xoff_t cpyoff_blocks; /* offset of dec_cpyoff in blocks */ | xoff_t cpyoff_blocks; /* offset of dec_cpyoff in blocks */ | |||
usize_t cpyoff_blkoff; /* offset of copy window in | usize_t cpyoff_blkoff; /* offset of copy window in | |||
blocks, remainder */ | blocks, remainder */ | |||
xoff_t getblkno; /* request block number: xd3 sets | xoff_t getblkno; /* request block number: xd3 sets | |||
current getblk request */ | current getblk request */ | |||
/* See xd3_getblk() */ | /* See xd3_getblk() */ | |||
xoff_t max_blkno; /* Maximum block, if eof is known, | xoff_t max_blkno; /* Maximum block, if eof is known, | |||
* otherwise, equals frontier_blkno | * otherwise, equals frontier_blkno | |||
* (initially 0). */ | * (initially 0). */ | |||
xoff_t frontier_blkno; /* If eof is unknown, the next | ||||
* source position to be read. | ||||
* Otherwise, equal to | ||||
* max_blkno. */ | ||||
usize_t onlastblk; /* Number of bytes on max_blkno */ | usize_t onlastblk; /* Number of bytes on max_blkno */ | |||
int eof_known; /* Set to true when the first | int eof_known; /* Set to true when the first | |||
* partial block is read. */ | * partial block is read. */ | |||
}; | }; | |||
/* The primary xd3_stream object, used for encoding and decoding. You | /* The primary xd3_stream object, used for encoding and decoding. You | |||
* may access only two fields: avail_out, next_out. Use the methods | * may access only two fields: avail_out, next_out. Use the methods | |||
* above to operate on xd3_stream. */ | * above to operate on xd3_stream. */ | |||
struct _xd3_stream | struct _xd3_stream | |||
{ | { | |||
End of changes. 2 change blocks. | ||||
6 lines changed or deleted | 1 lines changed or added |