1MP_GetMultipathLusC(o3mMmPoAnPIM)ultipath Management LibraryMFPu_nGcettiMounlstipathLus(3MPAPI)
2
3
4
6 MP_GetMultipathLus - return a list of multipath logical units
7
9 cc [ flag... ] file... -lMPAPI [ library... ]
10 #include <mpapi.h>
11
12 MP_STATUS MP_GetMultipathLus(MP_OID oid, MP_OID_LIST **ppList);
13
14
16 oid The object ID of the plugin or device product object.
17
18
19 ppList A pointer to a pointer to an object ID that has type
20 MP_OID_LIST structure. With a successful return, this con‐
21 tains a pointer to an MP_OID_LIST that contains the object
22 IDs of all the (multipath) logical units associated with the
23 specified plugin object ID.
24
25
27 The MP_GetMultipathLus() function returns a list of multipath logical
28 units associated to a plugin.
29
30
31 When the caller is finished using the list it must free the memory used
32 by the list by calling MP_FreeOidList.
33
35 MP_STATUS_INVALID_OBJECT_TYPE
36
37 The oid does not specify any valid object type. This is most likely
38 to happen if an uninitialized object ID is passed to the API.
39
40
41 MP_STATUS_INVALID_PARAMETER
42
43 The ppList is null or specifies a memory area that cannot be writ‐
44 ten, or when oid has a type subfield other than
45 MP_OBJECT_TYPE_DEVICE_PRODUCT or MP_OBJECT_TYPE_PLUG IN.
46
47
48 MP_STATUS_OBJECT_NOT_FOUND
49
50 The oid owner ID or object sequence number is invalid.
51
52
53 MP_STATUS_SUCCESS
54
55 The operation is successful.
56
57
58 MP_STATUS_FAILED
59
60 The plugin for the specified object ID is not found.
61
62
63 MP_STATUS_INSUFFICIENT_MEMORY
64
65 A memory allocation failure occurred.
66
67
69 See attributes(5) for descriptions of the following attributes:
70
71
72
73
74 ┌─────────────────────────────┬─────────────────────────────┐
75 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
76 ├─────────────────────────────┼─────────────────────────────┤
77 │Interface Stability │Standard: ANSI INCITS 412 │
78 │ │Multipath Management API │
79 ├─────────────────────────────┼─────────────────────────────┤
80 │MT-Level │Safe │
81 └─────────────────────────────┴─────────────────────────────┘
82
84 libMPAPI(3LIB), MP_GetMPLogicalUnitProperties(3MPAPI), attributes(5)
85
86
87 Multipath Management API Version 1.0
88
89
90
91SunOS 5.11 15 Feb 2006 MP_GetMultipathLus(3MPAPI)