pinq_ar_files(3g) — Subroutines
Name
pinq_ar_files − Returns a list of open archive files.
Operating States: PHOP, ∗, ∗, ∗
PHIGS standard function
Syntax
void pinq_ar_files (
Pstore store, /∗ (I) Handle to store the object.
store manages the memory
referenced by ar_files. ∗/
Pint ∗error_ind, /∗ (O) Error indicator. ∗/
Par_file_list ∗∗ar_files /∗ (O) List of archive file names and
identifiers. ∗/
)
Data Structures
typedef void ∗Pstore;
typedef struct {
Pint num_ar_files; /∗ number of archive files ∗/
Par_file ∗ar_files; /∗ list of archive files ∗/
} Par_file_list;
typedef struct {
Pint id; /∗ archive file identifier ∗/
char ∗name; /∗ archive file name ∗/
} Par_file;
Description
pinq_ar_files queries the PHIGS state list and returns a list of open archive files. For each open archive file, the function provides both the file name and the archive identifier specified when Digital PHIGS opened the file. In the ARCL (archive closed) archive state, both lists are empty.
See Also
pclose_ar_file
pcreate_store
pdel_store
pinq_ar_st
popen_ar_file