Skip Navigation Links
Exit Print View
| Oracle Solaris Cluster Reference Manual Oracle Solaris Cluster 4.1

Search Scope:

- This Document
- Entire Library

### scds_print_port_list

- print the contents of a port list

### Synopsis

    cc [flags…] -I /usr/cluster/include file
       -L /usr/cluster/lib -l dsdev
    #include <rgm/libdsdev.h>

    void scds_print_port_list(scds_handle_t handle,
    int debug_level, constscds_port_list_t *port_list);

## Description

The `scds_print_port_list()` function writes the contents of a port list, pointed to by port_list, to the system log, at the debugging level specified by debug_level. If the specified debugging level is greater than the debugging level currently being used, no information is written.

## Parameters

The following parameters are supported:

handle

  The handle returned from `scds_initialize`(3HA)

debug_level

  Debugging level at which the data is to be written

port_list

  Pointer to a list of port-protocol pairs used by the resource group, retrieved with `scds_get_port_list()`.

## Files

`/usr/cluster/include/rgm/libdsdev.h`

  Include file

`/usr/cluster/lib/libdsdev.so`

  Library

## Attributes

See `attributes`(5) for descriptions of the following attributes:

ATTRIBUTE TYPE | ATTRIBUTE VALUE
--- | ---
Availability | ha-cluster/developer/api
Interface Stability | Evolving

## See Also

`scds_get_port_list`(3HA), `scds_initialize`(3HA), `scds_syslog_debug`(3HA), `attributes`(5)

Copyright © 2000, 2012, Oracle and/or its affiliates. All rights reserved. Legal Notices |