1DPM_ABORTREQ(3) DPM Library Functions DPM_ABORTREQ(3)
2
3
4
6 dpm_abortreq - abort a given get, put or copy request
7
9 #include <sys/types.h>
10 #include "dpm_api.h"
11
12 int dpm_abortreq (char *r_token)
13
15 dpm_abortreq aborts a given get, put or copy request. The request sta‐
16 tus and the status of every file belonging to this request and still in
17 the queue is set to DPM_ABORTED.
18
19 r_token
20 specifies the token returned by a previous get, put or copy
21 request.
22
24 This routine returns 0 if the operation was successful or -1 if the
25 operation failed. In the latter case, serrno is set appropriately.
26
28 EACCES Permission denied.
29
30 EFAULT r_token is a NULL pointer.
31
32 EINVAL The length of r_token exceeds CA_MAXDPMTOKENLEN or the
33 token is unknown.
34
35 SENOSHOST Host unknown.
36
37 SEINTERNAL Database error.
38
39 SECOMERR Communication error.
40
41
42
43LCG $Date: 2006/03/23 06:12:41 $ DPM_ABORTREQ(3)