00001 #pragma once
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00026 #include <glib.h>
00027 #include <lber.h>
00028 #include <ldap.h>
00029 #include "../gfal_common_errverbose.h"
00030 #include "gfal_common_mds.h"
00031
00032
00033
00034 LDAP* gfal_mds_ldap_connect(const char* uri, GError** err);
00035
00036 int gfal_mds_get_ldapuri(char* buff, size_t s_buff, GError** err);
00037
00038 int gfal_mds_get_srm_types_endpoint(LDAP* ld, LDAPMessage *result, gfal_mds_endpoint* endpoints, size_t s_endpoint, GError** err);
00039
00040 int gfal_mds_bdii_get_srm_endpoint(const char* base_url, gfal_mds_endpoint* endpoints, size_t s_endpoint, GError** err);