LFC_GETREPLICASS(3) | LFC Library Functions | LFC_GETREPLICASS(3) |
lfc_getreplicass - get the replica entries associated with a list of sfns
#include <sys/types.h>
#include "lfc_api.h"
int lfc_getreplicass (int nbsfns, const char **sfns, int *nbentries, struct lfc_filereplicas **rep_entries)
lfc_getreplicass gets the replica entries associated with a list of sfns.
struct lfc_filereplicas { char guid[CA_MAXGUIDLEN+1]; int errcode; u_signed64 filesize; time_t ctime; /* GUID creation time */ char csumtype[3]; char csumvalue[33]; time_t r_ctime; /* replica creation time */ time_t r_atime; /* last access to replica */ char status; char host[CA_MAXHOSTNAMELEN+1]; char sfn[CA_MAXSFNLEN+1]; };
This routine returns 0 if the operation was successful or -1 if the operation failed. In the latter case, serrno is set appropriately.
LCG Grid Deployment Team
$Date: 2010-09-13 07:52:37 +0200 (Mon, 13 Sep 2010) $ | LFC |