cc [ flag... ] file... –lstmf [ library... ] #include <libstmf.h> int stmfSetProviderData(char *providerName, nvlist_t *nvl, int providerType);
The name of the provider for which data is being set.
A pointer to an nvlist_t containing the nvlist to be set.
The value must be either STMF_LU_PROVIDER_TYPE or STMF_PORT_PROVIDER_TYPE.
The stmfSetProviderData() function sets the data for the specified provider.
The following values are returned:
The library was unable to allocate sufficient memory to return the data.
The API call was successful.
See attributes(5) for descriptions of the following attributes:
|
libstmf(3LIB), stmfSetProviderDataProt(3STMF), attributes(5)
The stmfSetProviderData() function is deprecated in favor of stmfSetProviderDataProt(3STMF) and may be removed in a future revision of libstmf(3LIB).