SYNOPSIS

#include <sys/types.h>

#include "dpm_api.h"

int dpm_releasespace (char *s_token, int force)

DESCRIPTION

dpm_releasespace releases space.

The input arguments are:

s_token

specifies the token returned by a previous reservespace request.

force

force file release. If force is false (default), the space will not be released if it has files that are still pinned in the space.

RETURN VALUE

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

ERRORS

EINVAL

s_token is invalid (too long) or unknown.

SENOSHOST

Host unknown.

SEINTERNAL

Database error.

SECOMERR

Communication error.