key_common.h

来自「reiser4progs ReiserFS V4 ReiserFs官方已经关」· C头文件 代码 · 共 38 行

H
38
字号
/* Copyright (C) 2001-2005 by Hans Reiser, licensing governed by   reiser4progs/COPYING.      key_common.h -- reiser4 common for all keys functions. */#ifndef KEY_COMMON_H#define KEY_COMMON_H#include <aal/libaal.h>#include <aux/aux.h>#include <reiser4/plugin.h>typedef enum {	/* File name key type */	KEY_FILENAME_MINOR = 0,    	/* Stat-data key type */	KEY_STATDATA_MINOR = 1,    	/* File attribute name */	KEY_ATTRNAME_MINOR = 2,    	/* File attribute value */	KEY_ATTRBODY_MINOR = 3,    	/* File body (tail or extent) */	KEY_FILEBODY_MINOR = 4,	KEY_LAST_MINOR} key_minor_t;extern key_minor_t key_common_type2minor(key_type_t type);extern key_type_t key_common_minor2type(key_minor_t minor);extern const char *key_common_minor2name(key_minor_t type);extern reiser4_key_t *key_common_minimal(reiser4_key_plug_t *plug);extern reiser4_key_t *key_common_maximal(reiser4_key_plug_t *plug);#endif

⌨️ 快捷键说明

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