Content-type: text/html
Man page of LCG_STMD
LCG_STMD
Section: Library Functions (3)
Updated: $Date: 2008/05/07 12:40:28 $
Index
Return to Main Contents
NAME
lcg_stmd - get space tokens associated to a space token description, and their metadata
SYNOPSIS
import lcg_util
(int returncode,
listOfDict spacemd,
string errmsg
) lcg_stmd (string spacetokendesc,
string endpoint,
int nobdii,
int timeout)
DESCRIPTION
lcg_stmd
gets space tokens associated to a space token description, and their metadata
- spacetokendesc
-
the space token description whom you want to get metadata.
- endpoint
-
the endpoint of the SE where the
spacetokendesc
is defined. Note that as only SRMv2 supports space tokens the endpoint must be SRMv2-compliant.
- nobdii
-
If set to a non-zero value, it means that you don't want to make BDII calls to get SE type.
So, you must provide the full (SRMv2) endpoint.
- timeout
-
specifies the value of timeout (default 0).
NOTES
Only SRMv2 supports space tokens, so this function is compatible with SRMv2 endpoints only.
The environment variable LCG_GFAL_INFOSYS must point to the BDII, unless
nobdii
is set to a non-zero value.
RETURN VALUE
This routine returns 0 if the operation was successful or -1 if the operation
failed. In the latter case,
errno
is set appropriately.
ERRORS
- EINVAL
-
At least one of the arguments is not correct.
- ENOMEM
-
Memory problem, maybe not enough free memory.
- ECOMM
-
Communication error.
SEE ALSO
lcg_aa_python(3),
lcg_cp_python(3),
lcg_cr_python(3),
lcg_del_python(3),
lcg_gt_python(3),
lcg_la_python(3),
lcg_lg_python(3),
lcg_lr_python(3),
lcg_ra_python(3),
lcg_rep_python(3),
lcg_rf_python(3),
lcg_sd_python(3),
lcg_stmd_python(3),
lcg_uf_python(3)
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- NOTES
-
- RETURN VALUE
-
- ERRORS
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 14:16:53 GMT, July 14, 2009