2 #ifndef __VOMSCLIENT_H_
3 #define __VOMSCLIENT_H_
9 #define DEFAULT_VOMS_DIR "/etc/grid-security/vomsdir"
10 #define DEFAULT_CACERT_DIR "/etc/grid-security/certificates"
13 typedef struct voms_command_s
18 struct voms_command_s *next;
22 void get_voms_proxy(myproxy_socket_attrs_t *attrs,
23 myproxy_creds_t *creds,
24 myproxy_request_t *request,
25 myproxy_response_t *response,
26 myproxy_server_context_t *config);
36 int voms_init_delegation(myproxy_socket_attrs_t *attrs,
37 const char *delegfile,
38 const int lifetime_seconds,
40 char *voname,
char *vomses,
char *voms_userconf);
42 int voms_contact(SSL_CREDENTIALS *creds,
int lifetime,
43 char *voname,
char *vomses,
char *voms_userconf,
44 unsigned char **aclist,
int *aclist_length);