Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

globus_gram_jobmanager_callout_error_activation(3) [debian man page]

Activation(3)					       globus gram job manager callout error					     Activation(3)

NAME
Activation - Defines #define GLOBUS_GRAM_JOBMANAGER_CALLOUT_ERROR_MODULE Detailed Description Globus GRAM Jobmanager Callout Error API uses standard Globus module activation and deactivation. Before any Globus GRAM Jobmanager Callout Error API functions are called, the following function must be called: globus_module_activate(GLOBUS_GRAM_JOBMANAGER_CALLOUT_ERROR_MODULE) This function returns GLOBUS_SUCCESS if the Globus GRAM Jobmanager Callout Error API was successfully initialized, and you are therefore allowed to subsequently call Globus GRAM Jobmanager Callout Error API functions. Otherwise, an error code is returned, and Globus GSI Credential functions should not be subsequently called. This function may be called multiple times. To deactivate Globus GRAM Jobmanager Callout Error API, the following function must be called: globus_module_deactivate(GLOBUS_GRAM_JOBMANAGER_CALLOUT_ERROR_MODULE) This function should be called once for each time Globus GRAM Jobmanager Callout Error API was activated. Define Documentation #define GLOBUS_GRAM_JOBMANAGER_CALLOUT_ERROR_MODULE Module descriptor. Author Generated automatically by Doxygen for globus gram job manager callout error from the source code. Version 2.1 Wed Jan 25 2012 Activation(3)

Check Out this Related Man Page

Error Messages(3)					       globus gram protocol						 Error Messages(3)

NAME
Error Messages - Functions const char * globus_gram_protocol_error_string (int error_code) void globus_gram_protocol_error_7_hack_replace_message (const char *message) void globus_gram_protocol_error_10_hack_replace_message (const char *message) Detailed Description Functions in this section handle converting GRAM error codes to strings which can help the user diagnose GRAM problems. Function Documentation const char* globus_gram_protocol_error_string (interror_code) Get a description of a a GRAM error code. The globus_gram_protocol_error_string() function takes a GRAM error code value and returns the associated error code string for the message. The string is statically allocated by the GRAM Protocol library and should not be modified or freed by the caller. The string is intended to complete a sentence of the form '[operation] failed because ...' Parameters: error_code The error code to translate into a string. Returns: The globus_gram_protocol_error_string() function returns a static string containing an explanation of the error. void globus_gram_protocol_error_7_hack_replace_message (const char *message) Replace the error message associated with error 7 with a custom message. The globus_gram_protocol_error_7_hack_replace_message() function creates a custom version of the error message for the error GLOBUS_GRAM_PROTOCOL_ERROR_AUTHORIZATION. The string pointed to by the message parameter is copied to thread-local storage, and subsequent calls to globus_gram_protocol_error_string() with this error number will return this copy of the string. Each time globus_gram_protocol_error_7_hack_replace_message() is called for a particular thread, the previous message is freed. The purpose of this function is to allow more meaningful error messages to be generated when authentication failures occur. In particular, the specific GSSAPI error reason can be used in place of a generic authorization failure message. Parameters: message The new message to be associated with the GLOBUS_GRAM_PROTOCOL_ERROR_AUTHORIZATION error code. Note: Since Globus 5.0.0, this function uses thread-specific storage, so that the value returned by globus_gram_protocol_error_string() for GLOBUS_GRAM_PROTOCOL_ERROR_AUTHORIZATION is that for the last authorization error where globus_gram_protocol_error_7_hack_replace_message() was called from this thread. void globus_gram_protocol_error_10_hack_replace_message (const char *message) Replace the error message associated with error 10 with a custom message. The globus_gram_protocol_error_10_hack_replace_message() function creates a custom version of the error message for the error GLOBUS_GRAM_PROTOCOL_ERROR_PROTOCOL_FAILED. The string pointed to by the message parameter is copied to thread-local storage, and subsequent calls to globus_gram_protocol_error_string() with this error number will return this copy of the string. Each time globus_gram_protocol_error_10_hack_replace_message() is called for a particular thread, the previous message is freed. The purpose of this function is to allow more meaningful error messages to be generated when protocol errors occur. In particular, the specific XIO error reason can be used in place of a generic protocol failure message. Parameters: message The new message to be associated with the GLOBUS_GRAM_PROTOCOL_ERROR_PROTOCOL_FAILED error code. Note: Since Globus 5.0.0, this function uses thread-specific storage, so that the value returned by globus_gram_protocol_error_string() for GLOBUS_GRAM_PROTOCOL_ERROR_PROTOCOL_FAILED is that for the last authorization error where globus_gram_protocol_error_10_hack_replace_message() was called from this thread. Author Generated automatically by Doxygen for globus gram protocol from the source code. Version 11.3 Mon Apr 30 2012 Error Messages(3)
Man Page