chiark / gitweb /
dirmngr: Drop useless housekeeping.
[gnupg2.git] / g13 / be-dmcrypt.h
1 /* be-dmcrypt.h - Public defs for the DM-Crypt based backend
2  * Copyright (C) 2015 Werner Koch
3  *
4  * This file is part of GnuPG.
5  *
6  * GnuPG is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 3 of the License, or
9  * (at your option) any later version.
10  *
11  * GnuPG is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, see <https://www.gnu.org/licenses/>.
18  */
19
20 #ifndef G13_BE_DMCRYPT_H
21 #define G13_BE_DMCRYPT_H
22
23 #include "backend.h"
24
25 gpg_error_t be_dmcrypt_create_container (ctrl_t ctrl);
26 gpg_error_t be_dmcrypt_mount_container (ctrl_t ctrl,
27                                         const char *fname,
28                                         const char *mountpoint,
29                                         tupledesc_t tuples);
30 gpg_error_t be_dmcrypt_umount_container (ctrl_t ctrl, const char *fname);
31 gpg_error_t be_dmcrypt_suspend_container (ctrl_t ctrl, const char *fname);
32 gpg_error_t be_dmcrypt_resume_container (ctrl_t ctrl, const char *fname,
33                                          tupledesc_t tuples);
34
35
36 #endif /*G13_BE_DMCRYPT_H*/