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
55 typedef struct globus_i_gsi_authz_handle_s *
56 globus_gsi_authz_handle_t;
58 typedef void (* globus_gsi_authz_cb_t)(
60 globus_gsi_authz_handle_t handle,
65 globus_gsi_authz_handle_t * handle,
66 const char * service_name,
67 const gss_ctx_id_t context,
68 globus_gsi_authz_cb_t callback,
73 globus_gsi_authz_handle_t handle,
76 globus_gsi_authz_cb_t callback,
81 globus_gsi_authz_handle_t handle);
85 globus_gsi_authz_handle_t handle,
86 globus_gsi_authz_cb_t callback,
91 globus_gsi_authz_handle_t handle,
93 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:71