dot_o_fibre.c

来自「reiser4progs ReiserFS V4 ReiserFs官方已经关」· C语言 代码 · 共 30 行

C
30
字号
/* Copyright (C) 2001-2005 by Hans Reiser, licensing governed by   reiser4progs/COPYING.      dot_o.c -- ".o" fibration code. */#ifdef ENABLE_DOT_O_FIBRE#include <reiser4/plugin.h>static uint8_t fibre_dot_o_build(char *name, uint32_t len) {	aal_assert("vpf-1565", name != NULL);		if (len > 2 && name[len - 1] == 'o' && name[len - 2] == '.')		return 1;		return 0;}reiser4_fibre_plug_t fibre_dot_o_plug = {	.p = {		.id    = {FIBRE_DOT_O_ID, 0, FIBRE_PLUG_TYPE},#ifndef ENABLE_MINIMAL		.label = "dot_o_fibre",		.desc  = "'.o' fibration plugin.",#endif	},	.build = fibre_dot_o_build};#endif

⌨️ 快捷键说明

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