globus_gram_client_attr(3) | globus_gram_client | globus_gram_client_attr(3) |
globus_gram_client_attr - GRAM Client Attribute Functions
- GRAM Client Attribute Functions.
#define GLOBUS_GRAM_CLIENT_NO_ATTR
Default GRAM client operation attribute.
typedef void * globus_gram_client_attr_t
GRAM client operation attribute.
int globus_gram_client_attr_init
(globus_gram_client_attr_t *attr)
Initialize a GRAM client attribute. int globus_gram_client_attr_destroy
(globus_gram_client_attr_t *attr)
Destroy a GRAM client attribute. int
globus_gram_client_attr_set_credential
(globus_gram_client_attr_t attr, gss_cred_id_t credential)
Set a GRAM client attribute's security credential. int
globus_gram_client_attr_get_credential
(globus_gram_client_attr_t attr, gss_cred_id_t *credential)
Get a GRAM client attribute's security credential. int
globus_gram_client_attr_set_delegation_mode
(globus_gram_client_attr_t attr, globus_io_secure_delegation_mode_t
mode)
Set a GRAM client attribute's delegation mode. int
globus_gram_client_attr_get_delegation_mode
(globus_gram_client_attr_t attr, globus_io_secure_delegation_mode_t
*mode)
Get a GRAM client attribute's security credential.
GRAM Client Attribute Functions.
Default GRAM client operation attribute. The GLOBUS_GRAM_CLIENT_NO_ATTR macro defines a constant for use when a user of the GRAM client API does not want to specify any non-default GRAM attributes.
GRAM client operation attribute. The globus_gram_client_attr_t type is an opaque type describing GRAM attributes. It can be accessed or modified by functions in the GRAM Client Attribute Functions documentation.
Destroy a GRAM client attribute. The globus_gram_client_attr_destroy() function destroys and frees a GRAM client attribute. After this function returns, the value pointed to by attr is no longer valid and must not be used.
Parameters
Returns
Return values
See also
Get a GRAM client attribute's security credential. The globus_gram_client_attr_get_credential() function gets the value of the credential in an attribute and modifies the credential parameter to point to it. This is a shallow copy.
Parameters
Returns
Return values
See also
Get a GRAM client attribute's security credential. The globus_gram_client_attr_get_delegation_mode() function gets the value of the delegation_mode in an attribute and modifies the mode parameter to point to its value.
Parameters
Returns
Return values
See also
Initialize a GRAM client attribute. The globus_gram_client_attr_init() function creates a new opaque structure that can be used to specify custom attributes for performing GRAM client operations.
Parameters
Returns
Return values
See also
Set a GRAM client attribute's security credential. The globus_gram_client_attr_set_credential() function sets the value of the credential in an attribute to the GSSAPI credential named by the credential parameter. This is done as a shallow copy, so the value of credential must not be freed until the attribute will no longer be used.
Parameters
Returns
Return values
See also
Set a GRAM client attribute's delegation mode. The globus_gram_client_attr_set_delegation_mode() function sets the value of the delegation_mode in an attribute to the delegation mode in the mode parameter.
The GRAM client supports the following delegation modes:
Parameters
Returns
Return values
See also
Generated automatically by Doxygen for globus_gram_client from the source code.
Tue Jul 5 2022 | Version 14.6 |