Skip Navigation Links | |
Exit Print View | |
Oracle Solaris Cluster Reference Manual Oracle Solaris Cluster 4.0 |
scds_get_current_method_name(3HA)
scds_get_resource_group_name(3HA)
scds_get_resource_type_name(3HA)
- retrieve the port list used by a resource
cc [flags…] -I /usr/cluster/include file -L /usr/cluster/lib -l dsdev #include <rgm/libdsdev.h> scha_err_t scds_get_port_list(scds_handle_t handle, scds_port_list_t **port_list);
The scds_get_port_list() function returns a list of port-protocol pairs used by the resource. Values for the protocol type are defined in the header file netinet/in.h.
Free the memory allocated and returned by this function with scds_free_port_list().
The following parameters are supported:
The handle returned from scds_initialize()
List of port-protocol pairs used by the resource group
The scds_get_port_list() function returns the following:
The function succeeded.
The function failed.
Indicates the function succeeded.
Indicate the function failed. See scha_calls(3HA) for the meaning of failure codes.
Include file
Library
See attributes(5) for descriptions of the following attributes:
|