Main Page   Modules   Compound List   File List   Compound Members  

RLI Operations


Compounds

struct  globus_rls_lrc_info_t

Functions

globus_result_t globus_rls_client_rli_exists (globus_rls_handle_t *h, char *key, globus_rls_obj_type_t objtype)
globus_result_t globus_rls_client_rli_get_lrc (globus_rls_handle_t *h, char *lfn, int *offset, int reslimit, globus_list_t **str2_list)
globus_result_t globus_rls_client_rli_get_lrc_bulk (globus_rls_handle_t *h, globus_list_t *lfnlist, globus_list_t **str2bulk_list)
globus_result_t globus_rls_client_rli_get_lrc_wc (globus_rls_handle_t *h, char *lfn_pattern, globus_rls_pattern_t type, int *offset, int reslimit, globus_list_t **str2_list)
globus_result_t globus_rls_client_rli_lrc_list (globus_rls_handle_t *h, globus_list_t **lrcinfo_list)
globus_result_t globus_rls_client_rli_mapping_exists (globus_rls_handle_t *h, char *lfn, char *lrc)

Detailed Description

Functions to view and update data managed by a RLI server.

Function Documentation

globus_result_t globus_rls_client_rli_exists globus_rls_handle_t   h,
char *    key,
globus_rls_obj_type_t    objtype
 

Check if an object exists in the RLI database.

Parameters:
h  Handle connected to an RLS server.
key  LFN or LRC that identifies object.
objtype  Type of object key refers to (globus_rls_obj_rli_lfn or globus_rls_obj_rli_lrc).
Return values:
GLOBUS_SUCCESS  Object exists.

globus_result_t globus_rls_client_rli_get_lrc globus_rls_handle_t   h,
char *    lfn,
int *    offset,
int    reslimit,
globus_list_t **    str2_list
 

Return LRCs mapped to LFN in the RLI database.

Parameters:
h  Handle connected to an RLS server.
lfn  LFN whose list of LRCs is desired.
offset  Offset into result list. Used in conjunction with reslimit to retrieve results a few at a time. Use 0 to begin with first result.
reslimit  Maximum number of results to return. Used in conjunction with offset to retrieve results a few at a time. Use 0 to retrieve all results.
str2_list  List of LRCs that @lfn maps to. Each list datum will be a globus_rls_string2_t structure. s1 will be the LFN, and s2 the LRC it maps to. str2_list should be freed with globus_rls_client_free_list().
Return values:
GLOBUS_SUCCESS  List of LRCs that map to lfn in str2_list. See Query Results.

globus_result_t globus_rls_client_rli_get_lrc_bulk globus_rls_handle_t   h,
globus_list_t *    lfnlist,
globus_list_t **    str2bulk_list
 

Bulk return LRCs mapped to LFN in the RLI database.

Parameters:
h  Handle connected to an RLS server.
lfnlist  LFNs to search for.
str2bulk_list  Results of queries. Each list datum will be a globus_rls_string2_bulk_t structure. str2.s1 will be the LFN, and str2.s2 the LRC it maps to, and rc will be the result code from the query.

globus_result_t globus_rls_client_rli_get_lrc_wc globus_rls_handle_t   h,
char *    lfn_pattern,
globus_rls_pattern_t    type,
int *    offset,
int    reslimit,
globus_list_t **    str2_list
 

Return LRCs mapped to wildcarded LFN in the RLI database.

Parameters:
h  Handle connected to an RLS server.
lfn_pattern  LFN pattern to search for.
type  Identifies wildcard characters used in lfn_pattern. Wildcard chars can be Unix file globbing chars (* matches 0 or more characters, ? matches any single character) or SQL "like" wildcard characters (% matches 0 or more charactes, _ matches any single character).
offset  Offset into result list. Used in conjunction with reslimit to retrieve results a few at a time. Use 0 to begin with first result.
reslimit  Maximum number of results to return. Used in conjunction with offset to retrieve results a few at a time. Use 0 to retrieve all results.
str2_list  List of LRCs that map to @lfn_pattern. Each list datum will be a globus_rls_string2_t. s1 will be the LFN, and s2 the LRC it maps to. str2_list should be freed with globus_rls_client_free_list().
Return values:
GLOBUS_SUCCESS  List of LRCs that map to lfn_pattern in str2_list. See Query Results.

globus_result_t globus_rls_client_rli_lrc_list globus_rls_handle_t   h,
globus_list_t **    lrcinfo_list
 

Get list of LRCs updating this RLI server. Similar to globus_rls_client_rli_get_part() except no partition information is returned, just the LRC URLs.

Parameters:
h  Handle connected to an RLS server.
lrcinfo_list  Datums in lrcinfo_list will be of type globus_rls_lrc_info_t. lrcinfo_list should be freed with globus_rls_client_free_list().
Return values:
GLOBUS_SUCCESS  List of LRCs updating RLI added to lrcinfo_list.

globus_result_t globus_rls_client_rli_mapping_exists globus_rls_handle_t   h,
char *    lfn,
char *    lrc
 

Check if a mapping exists in the RLI database.

Parameters:
h  Handle connected to an RLS server.
lfn  LFN of mapping.
lrc  LRC of mapping.
Return values:
GLOBUS_SUCCESS  Mapping exists.


Generated on Tue May 27 15:56:07 2003 for Globus Replica Location Service by doxygen1.2.17