DPNS_DELREPLICA(3) | DPNS Library Functions | DPNS_DELREPLICA(3) |
dpns_delreplica - delete a replica for a given file
#include <sys/types.h>
#include "dpns_api.h"
int dpns_delreplica (const char *guid, struct dpns_fileid *file_uniqueid, const char *sfn)
dpns_delreplica deletes a given replica. An extra check may be obtained by specifying guid or file_uniqueid. If both are given, file_uniqueid is used.
This routine returns 0 if the operation was successful or -1 if the operation failed. In the latter case, serrno is set appropriately.
$Date: 2005/07/26 12:09:11 $ | DPNS |