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