iotype.h

来自「iscsi企业级target.很好用」· C头文件 代码 · 共 29 行

H
29
字号
/* * (C) 2004 - 2005 FUJITA Tomonori <tomof@acm.org> * This code is licenced under the GPL. */#include "iscsi.h"#ifndef __IOTYPE_H__#define __IOTYPE_H__struct iotype {	const char *name;	struct list_head iot_list;	int (*attach)(struct iet_volume *dev, char *args);	int (*make_request)(struct iet_volume *dev, struct tio *tio, int rw);	int (*sync)(struct iet_volume *dev, struct tio *tio);	void (*detach)(struct iet_volume *dev);	void (*show)(struct iet_volume *dev, struct seq_file *seq);};extern struct iotype fileio;extern struct iotype nullio;extern int iotype_init(void);extern void iotype_exit(void);#endif

⌨️ 快捷键说明

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