Aci_view, Aci_view -123, Figure 4-114 – ADIC Server User Manual
Page 165: Figure 4-115

aci_view
4-123
21 Dec 2001
aci_view
The aci_view function is used to view a database entry for a
volume. See Figure 4-114.
Figure 4-114
aci_view Function Call
Return the database entry for the volume named volser of
media type type. The database entry is returned in the
aci_volume_desc
structure. See Figure 4-115.
For additional information, refer to
aci_qvolsrange on page 4-98, and
aci_inventory on page 4-81.
Figure 4-115
Volser Information Contained in the aci_volume_desc Structure
The structure returns the AMU archive catalog, which robot
owns the volume, a volume attribute of mounted, ejected,
occupied
, or undefined, and the volser media type. Refer
#include "aci.h"
int aci_view( char *volser,
enum aci_media type,
struct aci_volume_desc *desc )
struct aci_volume_desc {
char coordinate[ACI_COORD_LEN];
char owner;
char attrib;
char type;
char volser[ACI_VOLSER_LEN]
char vol_owner;
int use_count;
int crash_count;
};