📄 dmutils.h
字号:
/* * declarations for device-mapper utilities for cryptmount * $Revision: 108 $, $Date: 2006-06-25 13:34:32 +0100 (Sun, 25 Jun 2006) $ * Copyright 2005, RW Penney *//* This file is part of cryptmount cryptmount is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. As a special exemption, permission is granted to link cryptmount with the OpenSSL project's "OpenSSL" library and distribute the linked code without invoking clause 2(b) of the GNU GPL version 2. cryptmount is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with cryptmount; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */#ifndef _DMUTILS_H#define _DMUTILS_H#include <config.h>#include <libdevmapper.h>struct dm_task *devmap_prepare(int type, const char *devname);int devmap_path(char **buff, const char *ident);int devmap_create(const char *ident, uint64_t blk0, uint64_t blklen, const char *tgttype, const char *params);int devmap_dependencies(const char *ident, unsigned *count, dev_t **devids);int devmap_remove(const char *ident);int is_configured(const char *ident, struct dm_info *dminfo);#endif /* _DMUTILS_H *//* * (C)Copyright 2005-2006, RW Penney */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -