dpm_abortreq man page

DPM_ABORTREQ(3)              DPM Library Functions             DPM_ABORTREQ(3)

[1mNAME[0m
      dpm_abortreq - abort a given get, put or copy request

[1mSYNOPSIS[0m
      [1m#include <sys/types.h>[0m
      [1m#include "dpm_api.h"[0m

      [1mint dpm_abortreq (char *[4m[22mr_token[24m[1m)[0m

[1mDESCRIPTION[0m
      [1mdpm_abortreq [22maborts a given get, put or copy request.  The request sta-
      tus and the status of every file belonging to this request and still in
      the queue is set to [1mDPM_ABORTED[22m.

      [4mr_token[0m
             specifies  the  token  returned  by  a previous get, put or copy
             request.

[1mRETURN VALUE[0m
      This routine returns 0 if the operation was successful  or  -1  if  the
      operation failed. In the latter case, [1mserrno [22mis set appropriately.

[1mERRORS[0m
      [1mEACCES       [22mPermission denied.

      [1mEFAULT       [4m[22mr_token[24m is a NULL pointer.

      [1mEINVAL       [22mThe  length  of  [4mr_token[24m  exceeds [1mCA_MAXDPMTOKENLEN [22mor the
                   token is unknown.

      [1mSENOSHOST    [22mHost unknown.

      [1mSEINTERNAL   [22mDatabase error.

      [1mSECOMERR     [22mCommunication error.

LCG                      $Date: 2006/03/23 06:12:41 $          DPM_ABORTREQ(3)