17 #ifndef GLOBUS_GSI_AUTHZ_H 18 #define GLOBUS_GSI_AUTHZ_H 1 32 #define GLOBUS_GSI_AUTHZ_MODULE (&globus_i_gsi_authz_module) 37 #ifndef GLOBUS_GLOBAL_DOCUMENT_SET 54 typedef struct globus_i_gsi_authz_handle_s *
55 globus_gsi_authz_handle_t;
57 typedef void (* globus_gsi_authz_cb_t)(
59 globus_gsi_authz_handle_t handle,
64 globus_gsi_authz_handle_t * handle,
65 const char * service_name,
66 const gss_ctx_id_t context,
67 globus_gsi_authz_cb_t callback,
72 globus_gsi_authz_handle_t handle,
75 globus_gsi_authz_cb_t callback,
80 globus_gsi_authz_handle_t handle);
84 globus_gsi_authz_handle_t handle,
85 globus_gsi_authz_cb_t callback,
90 globus_gsi_authz_handle_t handle,
92 globus_gsi_authz_cb_t callback,
globus_result_t globus_gsi_authz_handle_init(globus_gsi_authz_handle_t *handle, const char *service_name, const gss_ctx_id_t context, globus_gsi_authz_cb_t callback, void *callback_arg)
Initialize an authorization handle.
Definition: globus_gsi_authz.c:308
globus_result_t globus_gsi_authorize(globus_gsi_authz_handle_t handle, const void *action, const void *object, globus_gsi_authz_cb_t callback, void *callback_arg)
Start the authorization decision-making process.
Definition: globus_gsi_authz.c:430
globus_module_descriptor_t globus_i_gsi_authz_module
Definition: globus_gsi_authz.c:40
globus_result_t globus_gsi_authz_get_authorization_identity(globus_gsi_authz_handle_t handle, char **identity_ptr, globus_gsi_authz_cb_t callback, void *callback_arg)
Query for authorization identity.
Definition: globus_gsi_authz.c:672
globus_result_t globus_gsi_cancel_authz(globus_gsi_authz_handle_t handle)
Cancel Authorization.
Definition: globus_gsi_authz.c:529
globus_result_t globus_gsi_authz_handle_destroy(globus_gsi_authz_handle_t handle, globus_gsi_authz_cb_t callback, void *callback_arg)
Destroy an authz handle.
Definition: globus_gsi_authz.c:573
Headers common to all of Globus.
uint32_t globus_result_t
Definition: globus_types.h:99
Module Descriptor.
Definition: globus_module.h:69