User Guide

5-48 Ampex 1308911-02
Model No.
Running Head
dst_setdrive libdd2 API Functions
u_char rdretryct; /* Read retry count (0-80) */
u_char wrretryct; /* Write retry count (0-127) */
u_char wrbuffull; /* Write buffer full ratio/256 (25-200) */
u_char rdbuffull; /* Read buffer full ratio/256 (25-200) */
int wrdelay; /* Write delay 100 millisecs (1-65535) */
u_char sctimeout; /* Scanner timeout in minutes (0-30) */
u_char thtimeout; /* Thread timeout in seconds (6-30) */
int ewoffset; /* EW offset before EMW, in PBs (0-) */
int cleantime; /* Cleaning time in seconds (1-) */
dst_ddver_st ddver; /* DST Driver version info (read only) */
dst_tdver_st tdver; /* Tape drive version info (read only) */
u_int capability; /* Drive capabilities (read only) */
int bufsize; /* Drive buffer size in bytes (read only) */
} dst_drive_st;
STRUCTURE MEMBERS
The members of the dst_drive_st structure are defined below.
This structure type is used by both dst_getdrive() and dst_setdrive(). The read only members
are valid only for dst_getdrive().
valid On input, indicates which members to modify. On return, indicates
which members contain valid information. The following definitions
apply:
DST_CFG_VALID
DST_DDVER_VALID
DST_RDRTY_VALID
DST_WRRTY_VALID
DST_WRBUF_VALID
DST_RDBUF_VALID
DST_WRDLY_VALID
DST_SCTO_VALID
DST_THTO_VALID
DST_EWOFF_VALID
DST_CLTM_VALID
DST_TDVER_VALID
DST_CAP_VALID
DST_CFG_VALID
DST_BUFSZ_VALID
config
Bit mask of the desired drive configuration. The following definitions
apply (see the
dstio.h file for details):
DST_POST_ERR - post internal retry errors
DST_SYNC_EW - synchronize buffer at early warning (EW)
DST_EOR_BLOAD - search forward after load
DST_PARK_ANY - park anywhere
DST_CHECKSUM - enable data block checksums