]> git.ipfire.org Git - thirdparty/systemd.git/blob - src/basic/crypt-util.h
tree-wide: beautify remaining copyright statements
[thirdparty/systemd.git] / src / basic / crypt-util.h
1 /* SPDX-License-Identifier: LGPL-2.1+ */
2 /***
3 Copyright © 2017 Zbigniew Jędrzejewski-Szmek
4 ***/
5
6 #if HAVE_LIBCRYPTSETUP
7 #include <libcryptsetup.h>
8
9 #include "macro.h"
10
11 /* libcryptsetup define for any LUKS version, compatible with libcryptsetup 1.x */
12 #ifndef CRYPT_LUKS
13 #define CRYPT_LUKS NULL
14 #endif
15
16 DEFINE_TRIVIAL_CLEANUP_FUNC(struct crypt_device *, crypt_free);
17
18 void cryptsetup_log_glue(int level, const char *msg, void *usrptr);
19 #endif