1DPM_ABORTREQ(3) DPM Library Functions
2DPM_ABORTREQ(3)
3
4
5
6[1mNAME[0m
7 dpm_abortreq ‐ abort a given get, put or copy request
8
9[1mSYNOPSIS[0m
10 [1m#include <sys/types.h>[0m
11 [1m#include "dpm_api.h"[0m
12
13 [1mint dpm_abortreq (char *[4m[22mr_token[24m[1m)[0m
14
15[1mDESCRIPTION[0m
16 [1mdpm_abortreq [22maborts a given get, put or copy re‐
17quest. The request sta‐
18 tus and the status of every file belonging to this request
19and still in
20 the queue is set to [1mDPM_ABORTED[22m.
21
22 [4mr_token[0m
23 specifies the token returned by a previous
24get, put or copy
25 request.
26
27[1mRETURN VALUE[0m
28 This routine returns 0 if the operation was successful or
29‐1 if the
30 operation failed. In the latter case, [1mserrno [22mis set
31appropriately.
32
33[1mERRORS[0m
34 [1mEACCES [22mPermission denied.
35
36 [1mEFAULT [4m[22mr_token[24m is a NULL pointer.
37
38 [1mEINVAL [22mThe length of [4mr_token[24m ex‐
39ceeds [1mCA_MAXDPMTOKENLEN [22mor the
40 token is unknown.
41
42 [1mSENOSHOST [22mHost unknown.
43
44 [1mSEINTERNAL [22mDatabase error.
45
46 [1mSECOMERR [22mCommunication error.
47
48
49
50LCG $Date: 2006/03/23 06:12:41 $
51DPM_ABORTREQ(3)
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66