aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/api
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2017-04-21 15:05:16 +0300
committerLasse Collin <lasse.collin@tukaani.org>2017-04-21 15:05:16 +0300
commit8c9842c265993d7dd4039f732d3546267fb5ecc4 (patch)
tree3cd6d160205a4dda6753b04d39a772572efbbf90 /src/liblzma/api
parentUpdate the home page URLs to HTTPS. (diff)
downloadxz-8c9842c265993d7dd4039f732d3546267fb5ecc4.tar.xz
liblzma: Rename LZMA_SEEK to LZMA_SEEK_NEEDED and seek_in to seek_pos.
Diffstat (limited to 'src/liblzma/api')
-rw-r--r--src/liblzma/api/lzma/base.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/liblzma/api/lzma/base.h b/src/liblzma/api/lzma/base.h
index 9b3e9e1a..566247a1 100644
--- a/src/liblzma/api/lzma/base.h
+++ b/src/liblzma/api/lzma/base.h
@@ -235,16 +235,16 @@ typedef enum {
* how to report bugs.
*/
- LZMA_SEEK = 12
+ LZMA_SEEK_NEEDED = 12
/**<
* \brief Request to change the input file position
*
* Some coders can do random access in the input file. The
* initialization functions of these coders take the file size
- * as an argument. No other coders can return LZMA_SEEK.
+ * as an argument. No other coders can return LZMA_SEEK_NEEDED.
*
* When this value is returned, the application must seek to
- * the file position given in lzma_stream.seek_in. This value
+ * the file position given in lzma_stream.seek_pos. This value
* is guaranteed to never exceed the file size that was
* specified at the coder initialization.
*
@@ -533,16 +533,16 @@ typedef struct {
void *reserved_ptr4;
/**
- * \brief New seek input position for LZMA_SEEK
+ * \brief New seek input position for LZMA_SEEK_NEEDED
*
- * When lzma_code() returns LZMA_SEEK, the new input position needed
- * by liblzma will be available seek_in. The value is guaranteed to
- * not exceed the file size that was specified when this lzma_stream
- * was initialized.
+ * When lzma_code() returns LZMA_SEEK_NEEDED, the new input position
+ * needed by liblzma will be available seek_pos. The value is
+ * guaranteed to not exceed the file size that was specified when
+ * this lzma_stream was initialized.
*
* In all other situations the value of this variable is undefined.
*/
- uint64_t seek_in;
+ uint64_t seek_pos;
uint64_t reserved_int2;
size_t reserved_int3;