00001 /* 00002 * Copyright IBM Corp. 2008 00003 * All rights reserved. This program and the accompanying materials 00004 * are made available under the terms of the Common Public License v1.0 00005 * which accompanies this distribution, and is available at 00006 * http://www.ibm.com/developerworks/library/os-cpl.html 00007 * 00008 * Authors: Sven Schuetz <sven@de.ibm.com> 00009 * 00010 * File: vlib_sg.h 00011 * 00012 * Description: 00013 * Function declarations for functions using the sg_utils library 00014 * 00015 */ 00016 00017 #ifndef _VLIB_SG_H_ 00018 #define _VLIB_SG_H_ 00019 00020 HBA_STATUS sgutils_SendScsiInquiry(char* sg_dev, HBA_UINT8 EVPD, 00021 HBA_UINT32 PageCode, void *pRspBuffer, 00022 HBA_UINT32 RspBufferSize, void *pSenseBuffer, 00023 HBA_UINT32 SenseBufferSize); 00024 HBA_STATUS sgutils_SendReportLUNs(char* sg_dev, void *pRspBuffer, 00025 HBA_UINT32 RspBufferSize); 00026 00027 00028 #endif /*_VLIB_SG_H_*/