Other GRAM Client Functions

Functions


Function Documentation

void globus_gram_client_debug ( void   ) 

Enable debugging messages.

Enables the displaying of internal debugging information.

Returns:
void
int globus_gram_client_version ( void   ) 

Version checkingReturn the version of the GRAM protocol which this implementation of the GRAM client library understands.

Returns:
An integer representing the protocol revision.
int globus_gram_client_set_credentials ( gss_cred_id_t  new_credentials  ) 

Set the default GRAM credentialSet the credential to use by default for all future GRAM network operations.

These include job requests, job signals, callback registration, and job state callbacks. The credential must no longer be used by the caller, and will be freed by GRAM when no longer needed.

Parameters:
new_credentials New GSSAPI credential to use.
Returns:
This function returns GLOBUS_SUCCESS if the default credential has been set.
const char* globus_gram_client_error_string ( int  error_code  ) 

Error code translation.

This function takes the error code value and returns the associated error code string. The string is statically allocated by the Globus GRAM Client library and should not be modified or freed.

Parameters:
error_code The error code to look up.
Returns:
An error string containing the reason for the error. The error string is written to be used in the context "[operation] failed because [error_string]".
int globus_gram_client_job_contact_free ( char *  job_contact  ) 

Releases the resources storing a job contact string.

Parameters:
job_contact A job contact string returned in a successful call to globus_gram_client_job_request()

about globus | globus toolkit | dev.globus

Comments? webmaster@globus.org