DOKK / manpages / debian 10 / libdpm-dev / dpm_abortreq.3.en
DPM_ABORTREQ(3) DPM Library Functions DPM_ABORTREQ(3)

dpm_abortreq - abort a given get, put or copy request

#include <sys/types.h>
#include "dpm_api.h"

int dpm_abortreq (char *r_token)

dpm_abortreq aborts a given get, put or copy request. The request status and the status of every file belonging to this request and still in the queue is set to DPM_ABORTED.

specifies the token returned by a previous get, put or copy request.

This routine returns 0 if the operation was successful or -1 if the operation failed. In the latter case, serrno is set appropriately.

Permission denied.
r_token is a NULL pointer.
The length of r_token exceeds CA_MAXDPMTOKENLEN or the token is unknown.
Host unknown.
Database error.
Communication error.
$Date: 2006/03/23 06:12:41 $ LCG