OpenVPN
comp-lz4.h
Go to the documentation of this file.
1 /*
2  * OpenVPN -- An application to securely tunnel IP networks
3  * over a single UDP port, with support for SSL/TLS-based
4  * session authentication and key exchange,
5  * packet encryption, packet authentication, and
6  * packet compression.
7  *
8  * Copyright (C) 2002-2023 OpenVPN Inc <sales@openvpn.net>
9  * Copyright (C) 2013-2023 Gert Doering <gert@greenie.muc.de>
10  *
11  * This program is free software; you can redistribute it and/or modify
12  * it under the terms of the GNU General Public License version 2
13  * as published by the Free Software Foundation.
14  *
15  * This program is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18  * GNU General Public License for more details.
19  *
20  * You should have received a copy of the GNU General Public License along
21  * with this program; if not, write to the Free Software Foundation, Inc.,
22  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
23  */
24 
25 #ifndef OPENVPN_COMP_LZ4_H
26 #define OPENVPN_COMP_LZ4_H
27 
28 #if defined(ENABLE_LZ4)
29 
30 #include "buffer.h"
31 
32 extern const struct compress_alg lz4_alg;
33 extern const struct compress_alg lz4v2_alg;
34 
35 struct lz4_workspace
36 {
37  int dummy;
38 };
39 
40 #endif /* ENABLE_LZ4 */
41 #endif
buffer.h