'\" te .\" CDDL HEADER START .\" .\" The contents of this file are subject to the terms of the .\" Common Development and Distribution License (the "License"). .\" You may not use this file except in compliance with the License. .\" .\" You can obtain a copy of the license at CDDL.txt .\" or http://www.opensolaris.org/os/licensing. .\" See the License for the specific language governing permissions .\" and limitations under the License. .\" .\" When distributing Covered Code, include this CDDL HEADER in each .\" file and include the License file at CDDL.txt. .\" If applicable, add the following below this CDDL HEADER, with the .\" fields enclosed by brackets "[]" replaced with your own identifying .\" information: Portions Copyright [yyyy] [name of copyright owner] .\" .\" CDDL HEADER END .\" Copyright 2008 Sun Microsystems, Inc. All .\" rights reserved. Use is subject to license terms. .TH scds_print_port_list 3HA "13 Aug 2008" "Sun Cluster 3.2" "Sun Cluster HA and Data Services" .SH NAME scds_print_port_list \- print the contents of a port list .SH SYNOPSIS .LP .nf cc [\fIflags\fR\&.\|.\|.] \fB-I\fR /usr/cluster/include \fIfile\fR \fB-L\fR /usr/cluster/lib \fB -l \fR dsdev #include \fBvoid\fR \fBscds_print_port_list\fR(\fBscds_handle_t\fR \fIhandle\fR, \fBint\fR \fIdebug_level\fR, \fBconstscds_port_list_t *\fR\fIport_list\fR); .fi .SH DESCRIPTION .sp .LP The \fBscds_print_port_list()\fR function writes the contents of a port list, pointed to by \fIport_list\fR, to the system log, at the debugging level specified by \fIdebug_level\fR. If the specified debugging level is greater than the debugging level currently being used, no information is written. .SH PARAMETERS .sp .LP The following parameters are supported: .sp .ne 2 .mk .na \fB\fIhandle\fR\fR .ad .RS 20n .rt The handle returned from \fBscds_initialize\fR(3HA) .RE .sp .ne 2 .mk .na \fB\fIdebug_level\fR\fR .ad .RS 20n .rt Debugging level at which the data is to be written .RE .sp .ne 2 .mk .na \fB\fIport_list\fR\fR .ad .RS 20n .rt Pointer to a list of port-protocol pairs used by the resource group, retrieved with \fBscds_get_port_list()\fR. .RE .SH FILES .sp .ne 2 .mk .na \fB\fB/usr/cluster/include/rgm/libdsdev.h\fR\fR .ad .sp .6 .RS 4n Include file .RE .sp .ne 2 .mk .na \fB\fB/usr/cluster/lib/libdsdev.so\fR\fR .ad .sp .6 .RS 4n Library .RE .SH ATTRIBUTES .sp .LP See \fBattributes\fR(5) for descriptions of the following attributes: .sp .sp .TS tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) . ATTRIBUTE TYPEATTRIBUTE VALUE _ AvailabilitySUNWscdev _ Interface StabilityEvolving .TE .SH SEE ALSO .sp .LP \fBscds_get_port_list\fR(3HA), \fBscds_initialize\fR(3HA), \fBscds_syslog_debug\fR(3HA), \fBattributes\fR(5)