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

📄 iscsi-io.h

📁 这个linux源代码是很全面的~基本完整了~使用c编译的~由于时间问题我没有亲自测试~但就算用来做参考资料也是非常好的
💻 H
字号:
#ifndef ISCSI_IO_H_#define ISCSI_IO_H_/* * iSCSI driver for Linux * Copyright (C) 2002 Cisco Systems, Inc. * maintained by linux-iscsi@cisco.com * * This program 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. * * This program 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. * * See the file COPYING included with this distribution for more details. * * $Id: iscsi-io.h,v 1.2 2002/09/19 20:54:29 smferris Exp $ * * iscsi-io.h * *   define the PDU I/O functions needed by the login library *  */# include "iscsi-protocol.h"# include "iscsi-session.h"# include "iscsi-platform.h"extern int  iscsi_connect(iscsi_session_t *session);extern void iscsi_disconnect(iscsi_session_t *session);/* functions used in iscsi-login.c that must be implemented for each platform */extern int iscsi_send_pdu(iscsi_session_t *session, struct IscsiHdr *header, char *data, int timeout);extern int iscsi_recv_pdu(iscsi_session_t *session,                           struct IscsiHdr *header, int max_header_length,                           char *data, int max_data_length,                           int timeout);#endif

⌨️ 快捷键说明

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