int drms_getsudirs ( DRMS_Env_t env,
DRMS_StorageUnit_t **  su,
int  num,
int  retrieve,
int  dontwait 
)

Request one or more storage units from SUMS. This function is a client wrapper for the drms_su_getsudirs / :: drms_server_getsudirs functions - the semantics are identical for all three functions. Please see the documentation for drms_su_getsudirs for more information.

Parameters:
env DRMS session information.
su An array of DRMS_StorageUnit_t structs. Each struct contains sunum field that has the SUNUM of the storage unit being requested.
num The number of structures in the array specified by the su parameter.
retrieve If set to 1, then SUMS will retrieve offline storage units from tape ato disk.
dontwait DEPRECATED - SUMS does not support dontwait == true, so this parameter is ignored.
Returns:
DRMS status (see drms_statuscodes.h). 0 if successful, non-0 otherwise.

Definition at line 1764 of file drms_client.c.


Generated on Mon Mar 26 07:00:50 2018 for JSOC_Documentation by  doxygen 1.5.7.1