1stmfGetProviderDatSaC(S3ISTTMaFr)get Mode Framework Library FsutnmcftGieotnPsroviderData(3STMF)
2
3
4

NAME

6       stmfGetProviderData - retrieve the data for the specified provider
7

SYNOPSIS

9       cc [ flag... ] file... -lstmf [ library... ]
10       #include <libstmf.h>
11
12       int stmfGetProviderData(char *providerName, nvlist_t **nvl,
13            int providerType);
14
15

PARAMETERS

17       providerNane    The  name  of  the  provider  for  which  data is being
18                       retrieved.
19
20
21       nvl             A pointer to a pointer to an nvlist_t. On success, this
22                       will  contain the nvlist retrieved. Caller is responsi‐
23                       ble  for  freeing  the  returned  nvlist   by   calling
24                       nvlist_free(3NVPAIR).
25
26
27       providerType    The   value   for   this   parameter   must  be  either
28                       STMF_LU_PROVIDER_TYPE or STMF_PORT_PROVIDER_TYPE.
29
30

DESCRIPTION

32       The stmfGetProviderData() function retrieves the data for the specified
33       provider.
34

RETURN VALUES

36       The following values are returned:
37
38       STMF_ERROR_NOMEM       The  library  was  unable to allocate sufficient
39                              memory to return the data.
40
41
42       STMF_STATUS_SUCCESS    The API call was successful.
43
44

ATTRIBUTES

46       See attributes(5) for descriptions of the following attributes:
47
48
49
50
51       ┌─────────────────────────────┬─────────────────────────────┐
52       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
53       ├─────────────────────────────┼─────────────────────────────┤
54       │Interface Stability          │Committed (Obsolete)         │
55       ├─────────────────────────────┼─────────────────────────────┤
56       │MT-Level                     │Safe                         │
57       └─────────────────────────────┴─────────────────────────────┘
58

SEE ALSO

60       libstmf(3LIB),  nvlist_free(3NVPAIR),   stmfGetProviderDataProt(3STMF),
61       attributes(5)
62

NOTES

64       The  stmfGetProviderData()  function is deprecated in favor of stmfGet‐
65       ProviderDataProt(3STMF) and may be removed in a future revision of lib‐
66       stmf(3LIB).
67
68
69
70SunOS 5.11                        7 Oct 2008        stmfGetProviderData(3STMF)
Impressum