📄 ext_1_fibre.c
字号:
/* Copyright (C) 2001-2005 by Hans Reiser, licensing governed by reiser4progs/COPYING. ext_t.c -- 1 symbol extention fibration code. */#ifdef ENABLE_EXT_1_FIBRE#include <reiser4/plugin.h>static uint8_t fibre_ext_1_build(char *name, uint32_t len) { aal_assert("vpf-1566", name != NULL); if (len > 2 && name[len - 2] == '.') return (uint8_t)name[len - 1]; return 0;}reiser4_fibre_plug_t fibre_ext_1_plug = { .p = { .id = {FIBRE_EXT_1_ID, 0, FIBRE_PLUG_TYPE},#ifndef ENABLE_MINIMAL .label = "ext_1_fibre", .desc = "1-symbol extention fibration plugin.",#endif }, .build = fibre_ext_1_build};#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -