1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
|
.\"##
.\" $XConsortium: p301,v 5.1 91/02/16 09:42:46 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 "SET CONFLICT RESOLUTION" 3P "29 February 1991"
.SH NAME
SET CONFLICT RESOLUTION \- set the conflict resolution flags
.IX "Archive Files" "SET CONFLICT RESOLUTION"
.SH SYNOPSIS
.SS C Syntax
.ft B
.ta 1.25i 3i
.nf
void
pset_conf_res ( archival_resolution, retrieval_resolution )
Pconf_res archival_resolution; \fIarchival conflict resolution\fP
Pconf_res retrieval_resolution; \fIretrieval conflict resolution\fP
.fi
.ft R
.SS Required PHIGS Operating States
(PHOP, *, *, *)
.SH DESCRIPTION
.SS Purpose
The \s-2SET CONFLICT RESOLUTION\s+2 subroutine sets the conflict resolution
flags controlling how structure archival and retrieval conflicts are resolved.
The flag value can be \s-2MAINTAIN\s+2, \s-2ABANDON\s+2, or \s-2UPDATE\s+2.
.LP
The default value of the archival conflict resolution flag is \s-2UPDATE\s+2.
The default value of the retrieval conflict resolution flag is \s-2ABANDON\s+2.
.SS C Input Parameters
.IP \fIarchival_resolution\fP
An enumerated variable specifying the value of the archival
conflict resolution flag.
.IP \fIretrieval_resolution\fP
An enumerated variable specifying the value of the retrieval
conflict resolution flag.
.LP
Valid values (defined in phigs.h) for these two flags are:
.sp .2
.ta .3i
.nf
PRES_MAINTAIN
PRES_ABANDON
PRES_UPD
.fi
.SS Execution
The \s-2SET CONFLICT RESOLUTION\s+2 subroutine sets the conflict resolution
flags in the \s-2PHIGS\s+2 workstation state list.
The archival conflict resolution flag controls what happens when an attempt
is made to archive structures whose identifiers already exist in the archive
file.
The retrieval conflict resolution flag controls what happens when an attempt
is made to retrieve structures whose identifiers already exist in the Central
Structure Store.
.LP
The flag values can be \s-2MAINTAIN\s+2, \s-2ABANDON\s+2, or \s-2UPDATE\s+2.
A value of \s-2MAINTAIN\s+2 prevents conflicting structures from being
overwritten; a value of \s-2UPDATE\s+2 allows conflicting structures to be
overwritten; and a value of \s-2ABANDON\s+2 indicates that the entire
archival or retrieval operation should be abandoned, with no changes made
to the archive or the Central Structure Store if there are any conflicts.
.SH ERRORS
.IP 002
Ignoring function, function requires state
(\s-2PHOP\s+2, \s-2*\s+2, \s-2*\s+2, \s-2*\s+2)
.SH SEE ALSO
.nf
.IP
.ta 0.5i
.SM "ARCHIVE STRUCTURES (3P)"
.SM "INQUIRE ALL CONFLICTING STRUCTURES (3P)"
.SM "INQUIRE CONFLICTING STRUCTURES IN NETWORK (3P)"
.SM "INQUIRE CONFLICT RESOLUTION (3P)"
.SM "RETRIEVE STRUCTURES (3P)"
.fi
|