Provided by: liblfc-dev_1.13.0-1_amd64
NAME
lfc_readdirxr - read LFC directory opened by lfc_opendir in the name server
SYNOPSIS
#include <sys/types.h> #include "lfc_api.h" struct lfc_direnrep *lfc_readdirxr (lfc_DIR *dirp, char *se)
DESCRIPTION
lfc_readdirxr reads the LFC directory opened by lfc_opendir in the name server.xr caches a variable number of such entries, depending on the filename size, to minimize the number of requests to the name server. dirp specifies the pointer value returned by lfc_opendir. se allows to restrict the replica entries to a given SE.
RETURN VALUExr returns a null pointer both at the end of the directory and on error, an application wishing to check for error situations should set serrno to 0, then call lfc_readdirxr, se exceeds CA_MAXHOSTNAMELEN. SECOMERR Communication error. ENSNACT Name server is not running or is being shutdown.
SEE ALSO
lfc_closedir(3), lfc_opendirg(3), lfc_rewinddir(3)
AUTHOR
LCG Grid Deployment Team