DPM_ABORTFILES(3) | DPM Library Functions | DPM_ABORTFILES(3) |
dpm_abortfiles - abort a set of file requests
#include <sys/types.h>
#include "dpm_api.h"
int dpm_abortfiles (char *r_token, int nbsurls, char **surls, int *nbreplies, struct dpm_filestatus **filestatuses)
dpm_abortfiles aborts a set of file requests. File requests in status DPM_QUEUED are removed from the queue of pending requests, the ones in status DPM_READY or DPM_DONE are released (unpinned).
The input arguments are:
The output arguments are:
struct dpm_filestatus { char *surl; int status; char *errstring; };
This routine returns 0 if the operation was successful or -1 if the operation failed. In the latter case, serrno is set appropriately.
$Date: 2006/08/01 07:37:06 $ | LCG |