aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/api/lzma/stream_flags.h
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2009-01-31 11:01:48 +0200
committerLasse Collin <lasse.collin@tukaani.org>2009-01-31 11:01:48 +0200
commit6a2eb54092fc625d59921a607ff68cd1a90aa898 (patch)
tree83d03f866e998f3576e127196a41b5ff5265c1d4 /src/liblzma/api/lzma/stream_flags.h
parentUse _WIN32 instead of WIN32 in xzdec.c to test if compiling on Windows. (diff)
downloadxz-6a2eb54092fc625d59921a607ff68cd1a90aa898.tar.xz
Add LZMA_API to liblzma API headers. It's useful at least
on Windows. sysdefs.h no longer #includes lzma.h, so lzma.h has to be #included separately where needed.
Diffstat (limited to '')
-rw-r--r--src/liblzma/api/lzma/stream_flags.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/liblzma/api/lzma/stream_flags.h b/src/liblzma/api/lzma/stream_flags.h
index 29d73040..c0ce75aa 100644
--- a/src/liblzma/api/lzma/stream_flags.h
+++ b/src/liblzma/api/lzma/stream_flags.h
@@ -127,7 +127,7 @@ typedef struct {
* this liblzma version.
* - LZMA_PROG_ERROR: Invalid options.
*/
-extern lzma_ret lzma_stream_header_encode(
+extern LZMA_API lzma_ret lzma_stream_header_encode(
const lzma_stream_flags *options, uint8_t *out)
lzma_attr_warn_unused_result;
@@ -144,7 +144,7 @@ extern lzma_ret lzma_stream_header_encode(
* this liblzma version.
* - LZMA_PROG_ERROR: Invalid options.
*/
-extern lzma_ret lzma_stream_footer_encode(
+extern LZMA_API lzma_ret lzma_stream_footer_encode(
const lzma_stream_flags *options, uint8_t *out)
lzma_attr_warn_unused_result;
@@ -179,7 +179,7 @@ extern lzma_ret lzma_stream_footer_encode(
* LZMA_FORMAT_ERROR is returned by lzma_stream_header_decode()
* when decoding non-first Stream.
*/
-extern lzma_ret lzma_stream_header_decode(
+extern LZMA_API lzma_ret lzma_stream_header_decode(
lzma_stream_flags *options, const uint8_t *in)
lzma_attr_warn_unused_result;
@@ -206,7 +206,7 @@ extern lzma_ret lzma_stream_header_decode(
* is corrupt (possibly truncated). Stream decoder in liblzma
* uses LZMA_DATA_ERROR in this situation.
*/
-extern lzma_ret lzma_stream_footer_decode(
+extern LZMA_API lzma_ret lzma_stream_footer_decode(
lzma_stream_flags *options, const uint8_t *in)
lzma_attr_warn_unused_result;
@@ -226,6 +226,6 @@ extern lzma_ret lzma_stream_footer_decode(
* - LZMA_PROG_ERROR: Invalid value, e.g. invalid check or
* backward_size.
*/
-extern lzma_ret lzma_stream_flags_compare(
+extern LZMA_API lzma_ret lzma_stream_flags_compare(
const lzma_stream_flags *a, const lzma_stream_flags *b)
lzma_attr_pure;