1stmfGetHostGroupLiSsCtS(I3STTaMrFg)et Mode Framework LibrarysFtumnfcGteitoHnosstGroupList(3STMF)
2
3
4
6 stmfGetHostGroupList - retrieve the list of host groups
7
9 cc [ flag... ] file... -lstmf [ library... ]
10 #include <libstmf.h>
11
12 int stmfGetInitiatorGroupList(stmfGroupList **hostGroupList);
13
14
16 hostGroupList A pointer to a pointer to an stmfGroupList structure.
17 On successful return, this will contain a list of host
18 groups.
19
20
22 The stmfGetInitiatorGroupList() function retrieves the list of host
23 groups. The caller should call stmfFreeMemory(3STMF) when this list is
24 no longer needed.
25
27 The following values are returned:
28
29 STMF_ERROR_NOMEM The library was unable to allocate sufficient
30 memory for hostGroupList.
31
32
33 STMF_STATUS_SUCCESS The API call was successful.
34
35
37 See attributes(5) for descriptions of the following attributes:
38
39
40
41
42 ┌─────────────────────────────┬─────────────────────────────┐
43 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
44 ├─────────────────────────────┼─────────────────────────────┤
45 │Interface Stability │Committed │
46 ├─────────────────────────────┼─────────────────────────────┤
47 │MT-Level │Safe │
48 └─────────────────────────────┴─────────────────────────────┘
49
51 stmfFreeMemory(3STMF), libstmf(3LIB), attributes(5)
52
53
54
55SunOS 5.11 9 Jun 2008 stmfGetHostGroupList(3STMF)