]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/basic/crypt-util.h
Merge pull request #8575 from keszybz/non-absolute-paths
[thirdparty/systemd.git] / src / basic / crypt-util.h
CommitLineData
294bd454
ZJS
1/* SPDX-License-Identifier: LGPL-2.1+ */
2/***
3 This file is part of systemd.
4
5 Copyright 2017 Zbigniew Jędrzejewski-Szmek
294bd454
ZJS
6***/
7
8#if HAVE_LIBCRYPTSETUP
9#include <libcryptsetup.h>
10
11#include "macro.h"
12
c116b035
ZJS
13/* libcryptsetup define for any LUKS version, compatible with libcryptsetup 1.x */
14#ifndef CRYPT_LUKS
15#define CRYPT_LUKS NULL
16#endif
17
294bd454 18DEFINE_TRIVIAL_CLEANUP_FUNC(struct crypt_device *, crypt_free);
691c2e2e
ZJS
19
20void cryptsetup_log_glue(int level, const char *msg, void *usrptr);
294bd454 21#endif