Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

SET CONFLICT RESOLUTION(3P)  —  Kubota Pacfic Computer Inc. (29 February 1991)

NAME

SET CONFLICT RESOLUTION − set the conflict resolution flags

SYNOPSIS

C Syntax

void
pset_conf_res ( archival_resolution, retrieval_resolution )
Pconf_resarchival_resolution;archival conflict resolution
Pconf_resretrieval_resolution;retrieval conflict resolution

Required PHIGS Operating States

(PHOP, ∗, ∗, ∗)

DESCRIPTION

Purpose

The SET CONFLICT RESOLUTION subroutine sets the conflict resolution flags controlling how structure archival and retrieval conflicts are resolved.  The flag value can be MAINTAIN, ABANDON, or UPDATE. 

The default value of the archival conflict resolution flag is UPDATE.  The default value of the retrieval conflict resolution flag is ABANDON. 

C Input Parameters

archival_resolution
An enumerated variable specifying the value of the archival conflict resolution flag.

retrieval_resolution
An enumerated variable specifying the value of the retrieval conflict resolution flag.

Valid values (defined in phigs.h) for these two flags are:

PRES_MAINTAIN
PRES_ABANDON
PRES_UPD

Execution

The SET CONFLICT RESOLUTION subroutine sets the conflict resolution flags in the PHIGS 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. 

The flag values can be MAINTAIN, ABANDON, or UPDATE.  A value of MAINTAIN prevents conflicting structures from being overwritten;  a value of UPDATE allows conflicting structures to be overwritten;  and a value of ABANDON 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. 

ERRORS

002Ignoring function, function requires state (PHOP, ∗, ∗, ∗)

SEE ALSO

ARCHIVE STRUCTURES (3P)
INQUIRE ALL CONFLICTING STRUCTURES (3P)
INQUIRE CONFLICTING STRUCTURES IN NETWORK (3P)
INQUIRE CONFLICT RESOLUTION (3P)
RETRIEVE STRUCTURES (3P)

September 02, 1992

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026