xref: /titanic_52/usr/src/lib/mpapi/libmpapi/common/mpapi-sun.h (revision fcf3ce441efd61da9bb2884968af01cb7c1452cc)
1 
2 /*
3  * CDDL HEADER START
4  *
5  * The contents of this file are subject to the terms of the
6  * Common Development and Distribution License (the "License").
7  * You may not use this file except in compliance with the License.
8  *
9  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10  * or http://www.opensolaris.org/os/licensing.
11  * See the License for the specific language governing permissions
12  * and limitations under the License.
13  *
14  * When distributing Covered Code, include this CDDL HEADER in each
15  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16  * If applicable, add the following below this CDDL HEADER, with the
17  * fields enclosed by brackets "[]" replaced with your own identifying
18  * information: Portions Copyright [yyyy] [name of copyright owner]
19  *
20  * CDDL HEADER END
21  */
22 /*
23  * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
24  * Use is subject to license terms.
25  */
26 
27 /*
28  *
29  * Description
30  *  mpapi-sun.h - general header file for Sun extension to the Multipath
31  *  Management API Version 1.0 client
32  *
33  */
34 
35 #ifndef _MPAPI_SUN_H
36 #define _MPAPI_SUN_H
37 
38 #include <sys/scsi/impl/uscsi.h>
39 
40 #ifdef __cplusplus
41 extern "C" {
42 #endif
43 
44 
45 #ifndef MPAPI_SUN_H
46 #define MPAPI_SUN_H
47 
48 /**
49  ******************************************************************************
50  *
51  * The APIs for path management.
52  *
53  * - Sun_MP_SendScsiCmd
54  *
55  ******************************************************************************
56  */
57 
58 
59 MP_STATUS Sun_MP_SendScsiCmd(
60    MP_OID		pathOid,
61    struct uscsi_cmd	*cmd
62 );
63 
64 
65 #endif
66 
67 #ifdef __cplusplus
68 };
69 #endif
70 
71 #endif /* _MPAPI_SUN_H */
72