summaryrefslogtreecommitdiff
path: root/src/journal/compress.h
diff options
context:
space:
mode:
authorDaniel Mack <github@zonque.org>2015-09-10 19:01:25 +0200
committerDaniel Mack <github@zonque.org>2015-09-10 19:01:25 +0200
commit786c5bf957f8f7b78c7a0999908ff822e712b53e (patch)
treed330ac099c5d75669ab5d8d21e880bc29521add8 /src/journal/compress.h
parent15af581253a3f25a71d4fa723bf1fdd22f842728 (diff)
parente11d45682ed0ccdbdfe71a958718c836114a4610 (diff)
Merge pull request #1242 from poettering/no-off_t
Drop usage of off_t
Diffstat (limited to 'src/journal/compress.h')
-rw-r--r--src/journal/compress.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/journal/compress.h b/src/journal/compress.h
index 6294f16faa..9a065eb763 100644
--- a/src/journal/compress.h
+++ b/src/journal/compress.h
@@ -67,11 +67,11 @@ int decompress_startswith(int compression,
const void *prefix, size_t prefix_len,
uint8_t extra);
-int compress_stream_xz(int fdf, int fdt, off_t max_bytes);
-int compress_stream_lz4(int fdf, int fdt, off_t max_bytes);
+int compress_stream_xz(int fdf, int fdt, uint64_t max_bytes);
+int compress_stream_lz4(int fdf, int fdt, uint64_t max_bytes);
-int decompress_stream_xz(int fdf, int fdt, off_t max_size);
-int decompress_stream_lz4(int fdf, int fdt, off_t max_size);
+int decompress_stream_xz(int fdf, int fdt, uint64_t max_size);
+int decompress_stream_lz4(int fdf, int fdt, uint64_t max_size);
#ifdef HAVE_LZ4
# define compress_stream compress_stream_lz4
@@ -81,4 +81,4 @@ int decompress_stream_lz4(int fdf, int fdt, off_t max_size);
# define COMPRESSED_EXT ".xz"
#endif
-int decompress_stream(const char *filename, int fdf, int fdt, off_t max_bytes);
+int decompress_stream(const char *filename, int fdf, int fdt, uint64_t max_bytes);