⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tables.h

📁 Cryptmount是对Linux系统下的文件系统以及用户设备、文档等进行加密的系统.
💻 H
字号:
/* *  declarations for config-table & mount-table utilities for cryptmount *  $Revision: 109 $, $Date: 2006-07-01 07:25:21 +0100 (Sat, 01 Jul 2006) $ *  Copyright 2005-2006, 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 _TABLES_H#define _TABLES_Hstruct cment;typedef struct tgtstat{    char *ident;    unsigned long uid;} tgtstat_t;int cm_path(char **buff, const char *file);char *cm_strdup(const char *orig);struct cment *alloc_cment();const struct cment *get_cment(const struct cment *head, const char *ident);void free_cment(struct cment *ent);struct cment *parse_config(const char *cfgname);void free_config(struct cment **head);tgtstat_t *alloc_tgtstatus(const struct cment *ent);tgtstat_t *get_tgtstatus(const struct cment *ent);int put_tgtstatus(const struct cment *ent, const tgtstat_t *tstat);void free_tgtstatus(tgtstat_t *tstat);#endif  /* _TABLES_H *//* *  tables.h *  (C)Copyright 2005-2006, RW Penney */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -