|
The scds_get_rs_hostnames() function retrieves a
list of hostnames used by the resource. If the resource property Network_resources_used is set, then the hostnames correspond to
the network resources listed in Network_resources_used.
Otherwise, they correspond to all the network resources in the resource group
containing the resource.
This function returns a pointer to the list in netresource_list. It is possible for a resource group to contain no network resources
or to contain resources that do not use network resources, so this function
can return netresource_list set to NULL.
Free the memory allocated and returned by this function with scds_free_net_list(3HA).
|