.\"## .\" $XConsortium: p087,v 5.2 94/04/17 20:55:20 rws Exp $ .\"## .\"## $XMCOPY .\"## Copyright (c) 1990, 1991 by Sun Microsystems, Inc. .\"## .\"## All Rights Reserved .\"## .\"## Permission to use, copy, modify, and distribute this software and its .\"## documentation for any purpose and without fee is hereby granted, .\"## provided that the above copyright notice appear in all copies and that .\"## both that copyright notice and this permission notice appear in .\"## supporting documentation, and that the name of Sun Microsystems, .\"## not be used in advertising or publicity .\"## pertaining to distribution of the software without specific, written .\"## prior permission. .\"## .\"## SUN MICROSYSTEMS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, .\"## INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO .\"## EVENT SHALL SUN MICROSYSTEMS BE LIABLE FOR ANY SPECIAL, INDIRECT OR .\"## CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF .\"## USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR .\"## OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR .\"## PERFORMANCE OF THIS SOFTWARE. .TH "INQUIRE ALL CONFLICTING STRUCTURES" 3P "29 February 1991" .SH NAME INQUIRE ALL CONFLICTING STRUCTURES \- inquire all conflicting structures in the Central Structure Store and an archive file .IX "Archive Files" "INQUIRE ALL CONFLICTING STRUCTURES" .SH SYNOPSIS .SS C Syntax .ft B .ta 1.25i 3i .nf void pinq_all_conf_structs ( ar_id, length, start, error_ind, ids, total_length ) Pint ar_id; \fIarchive identifier\fP Pint length; \fIlength of application list\fP Pint start; \fIstarting position\fP Pint *error_ind; \fI\s-2OUT\s+2 error indicator\fP Pint_list *ids; \fI\s-2OUT\s+2 list of conflicting structure ids\fP Pint *total_length; \fI\s-2OUT\s+2 length of list in \s-2PHIGS\s+2\fP .fi .ft R .SS Required PHIGS Operating States (PHOP, *, *, AROP) .SH DESCRIPTION .SS Purpose \s-2INQUIRE ALL CONFLICTING STRUCTURES\s+2 obtains a list of the identifiers of all structures which exist in both the Central Structure Store and the specified open archive file. .SS C Input Parameters .IP \fIar_id\fP The archive identifier specifying the open archive file to use. .IP \fIlength\fP The number of \fIints\fP items in the \fIids\fP output parameter for which the application has allocated memory. \fIlength\fP is the number of list elements (structure identifiers) that the system can return in \fIints\fP. If a value of 0 is used here, no data will be returned in the \fIints\fP list, but the total number of conflicting structures will be returned in \fItotal_length\fP. .IP \fIstart\fP Starting position in the list of identifiers of conflicting structures at which to begin the inquiry. The elements of the list of structure identifiers, beginning with the item number specified by \fIstart\fP, are copied sequentially into \fIints\fP until \fIints\fP is full or all the structure identifiers have been copied. .SS C Output Parameters .IP \fIerror_ind\fP A pointer to the location to store the error number of any error detected by this function. .IP \fIids\fP A pointer to a Pint_list structure in which the list of identifiers of conflicting structures is returned. The Pint_list structure is defined in phigs.h as follows: .sp .4 .ta .5i +\w'Pint 'u +\w'*num_ints; 'u .nf typedef struct { .sp .2 Pint num_ints; /* number of Pints in list */ Pint *ints; /* list of integers */ .sp .2 } Pint_list; .fi .sp The \fInum_ints\fP component specifies the number of structure identifiers in the list. The \fIints\fP component is a pointer to a list, \fInum_ints\fP long, of the structure identifiers. .sp The application must allocate memory for \fIlength\fP elements in the \fIints\fP list. .IP \fItotal_length\fP A pointer to an integer in which the total number of conflicting structures is returned. This is the value required for \fIlength\fP if all structure identifiers are to be returned. .SH ERRORS .IP 007 Ignoring function, function requires state (\s-2PHOP, *, *, AROP\s+2) .IP 404 Ignoring function, the specified archive file is not open .SH SEE ALSO .nf .IP .ta 0.5i .SM "INQUIRE CONFLICTING STRUCTURES IN NETWORK (3P)" .fi