#include <time.h>
#include <string.h>
#include <unistd.h>
#include <regex.h>
#include <stdlib.h>
#include <errno.h>
#include "../gfal_common_internal.h"
#include "gfal_common_srm_endpoint.h"
#include "../gfal_common_errverbose.h"
#include "../mds/gfal_common_mds.h"
Functions | |
int | gfal_srm_determine_endpoint (gfal_srmv2_opt *opts, const char *surl, char *buff_endpoint, size_t s_buff, enum gfal_srm_proto *srm_type, GError **err) |
extract endpoint and srm_type from a surl determine the best endpoint associated with the surl and the param of the actual handle (no bdii check or not) see the diagram in doc/diagrams/surls_get_endpoint_activity_diagram.svg for more informations | |
gboolean | gfal_check_fullendpoint_in_surlG (const char *surl, GError **err) |
int | gfal_get_fullendpointG (const char *surl, char *buff_endpoint, size_t s_buff, GError **err) |
create a full endpoint from a "full-surl" | |
int | gfal_select_best_protocol_and_endpointG (gfal_srmv2_opt *opts, char **tab_se_type, char **tab_endpoint, char *buff_endpoint, size_t s_buff, enum gfal_srm_proto *srm_type, GError **err) |
int | gfal_get_hostname_from_surlG (const char *surl, char *buff_hostname, size_t s_buff, GError **err) |
get the hostname from a surl | |
int | gfal_get_endpoint_and_setype_from_bdiiG (gfal_srmv2_opt *opts, const char *surl, char *buff_endpoint, size_t s_buff, enum gfal_srm_proto *srm_type, GError **err) |
get endpoint from the bdii system only |
gboolean gfal_check_fullendpoint_in_surlG | ( | const char * | surl, | |
GError ** | err | |||
) |
return TRUE if a full endpoint is contained in surl else FALSE
int gfal_get_endpoint_and_setype_from_bdiiG | ( | gfal_srmv2_opt * | opts, | |
const char * | surl, | |||
char * | buff_endpoint, | |||
size_t | s_buff, | |||
enum gfal_srm_proto * | srm_type, | |||
GError ** | err | |||
) |
get endpoint from the bdii system only
int gfal_get_hostname_from_surlG | ( | const char * | surl, | |
char * | buff_hostname, | |||
size_t | s_buff, | |||
GError ** | err | |||
) |
get the hostname from a surl
int gfal_select_best_protocol_and_endpointG | ( | gfal_srmv2_opt * | opts, | |
char ** | tab_se_type, | |||
char ** | tab_endpoint, | |||
char * | buff_endpoint, | |||
size_t | s_buff, | |||
enum gfal_srm_proto * | srm_type, | |||
GError ** | err | |||
) |
select the best protocol choice and the best endpoint choice from a list of protocol and endpoints obtained by the bdii
int gfal_srm_determine_endpoint | ( | gfal_srmv2_opt * | opts, | |
const char * | surl, | |||
char * | buff_endpoint, | |||
size_t | s_buff, | |||
enum gfal_srm_proto * | srm_type, | |||
GError ** | err | |||
) |
extract endpoint and srm_type from a surl determine the best endpoint associated with the surl and the param of the actual handle (no bdii check or not) see the diagram in doc/diagrams/surls_get_endpoint_activity_diagram.svg for more informations