| int globus_gram_client_attr_init | ( | globus_gram_client_attr_t * | attr | ) |
Initialize a GRAM client attribute.
| attr | Pointer to attribute to initialize. |
| GLOBUS_SUCCESS | Attribute was initialized successfully. | |
| GLOBUS_GRAM_PROTOCOL_ERROR_INVALID_ATTR | Null value was passed in for attribute. | |
| GLOBUS_GRAM_PROTOCOL_ERROR_MALLOC_FAILED | Unable to allocate memory to initialize attribute. |
| int globus_gram_client_attr_destroy | ( | globus_gram_client_attr_t * | attr | ) |
Destroy a GRAM client attribute.
| attr | Pointer to attribute to destroy. |
| GLOBUS_SUCCESS | Attribute was initialized successfully. | |
| GLOBUS_GRAM_PROTOCOL_ERROR_INVALID_ATTR | Null value was passed in for attribute. |
| int globus_gram_client_attr_set_credential | ( | globus_gram_client_attr_t | attr, | |
| gss_cred_id_t | credential | |||
| ) |
Associate a credential with an attribute set.
| attr | The attribute set to associate the credential with. | |
| credential | The credential to use. |
| GLOBUS_GRAM_PROTOCOL_ERROR_INVALID_ATTR | An invalid attribute set was passed to this function. |
| int globus_gram_client_attr_get_credential | ( | globus_gram_client_attr_t | attr, | |
| gss_cred_id_t * | credential | |||
| ) |
Get the credential associated with an attribute set.
| attr | The attribute set associated with the credential. | |
| credential | A pointer to a GSSAPI credential handle which will be set to the value of the credential currently associated with the attribute set. |
| GLOBUS_GRAM_PROTOCOL_ERROR_INVALID_ATTR | An invalid attribute set was passed to this function. | |
| GLOBUS_GRAM_PROTOCOL_ERROR_NULL_PARAMETER | A null credential pointer was passed to this function. |
| int globus_gram_client_attr_set_delegation_mode | ( | globus_gram_client_attr_t | attr, | |
| globus_io_secure_delegation_mode_t | mode | |||
| ) |
Set the delegation mode associated with an attribute set.
| attr | The attribute set to update. | |
| mode | The new value of the delegation mode. |
| GLOBUS_GRAM_PROTOCOL_ERROR_INVALID_ATTR | An invalid attribute set was passed to this function. |
| int globus_gram_client_attr_get_delegation_mode | ( | globus_gram_client_attr_t | attr, | |
| globus_io_secure_delegation_mode_t * | mode | |||
| ) |
Get the delegation mode associated with an attribute set.
| attr | The attribute set to query. | |
| mode | Pointer to a location to set to the value of the delegation mode. |
| GLOBUS_GRAM_PROTOCOL_ERROR_INVALID_ATTR | An invalid attribute set was passed to this function. | |
| GLOBUS_GRAM_PROTOCOL_ERROR_NULL_PARAMETER | An null mode pointer was passed to this function. |
about globus |
globus toolkit |
dev.globus
Comments? webmaster@globus.org