fs/smb/client/compress/lz77.h
raw| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | /* |
| 3 | * Copyright (C) 2024, SUSE LLC |
| 4 | * |
| 5 | * Authors: Enzo Matsumiya <[email protected]> |
| 6 | * |
| 7 | * Implementation of the LZ77 "plain" compression algorithm, as per MS-XCA spec. |
| 8 | */ |
| 9 | #ifndef _SMB_COMPRESS_LZ77_H |
| 10 | #define _SMB_COMPRESS_LZ77_H |
| 11 | |
| 12 | #include <linux/kernel.h> |
| 13 | |
| 14 | int lz77_compress(const void *src, u32 slen, void *dst, u32 *dlen); |
| 15 | #endif /* _SMB_COMPRESS_LZ77_H */ |