par_structs(3g) — Subroutines
Name
par_structs − Specifies the archive file identifier and the list of structure identifiers for the structures to be archived.
Operating States: PHOP, ∗, ∗, AROP
PHIGS standard function
Syntax
void par_structs (
Pint archive_id, /∗ (I) Archive file identifier ∗/
const Pint_list ∗struct_ids /∗ (I) List of structure identifiers ∗/
)
Data Structures
typedef struct {
Pint num_ints; /∗ number of Pints in the list ∗/
Pint ∗ints; /∗ list of integers ∗/
} Pint_list;
Description
par_structs specifies the archive file identifier and the list of structure identifiers for the structures to be archived.
This function archives the specified structure or list of structures in the specified open archive file. The value of the archive conflict resolution flag (MAINTAIN, ABANDON, or UPDATE) determines how the function treats existing structures encountered in the specified archive file.
If a structure is open, the function operation closes that structure, archives it, and then reopens it in the CSS. If the archive file is filled before the operation archives all structures, it stops archiving and issues a warning message. (The last stored structure is complete; no structure is archived in part.) If a structure does not exist, you receive a warning message, and no other action is taken for that structure.
See Also
par_all_structs
par_struct_nets
pdel_struct_net
pinq_all_conf_structs
pinq_conf_res
pinq_conf_structs_net
popen_ar_file
pret_structs
pret_struct_ids
pset_conf_res