Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

globus_gssapi_error_utility(3) [debian man page]

Error Handling Helpers(3)					globus gssapi error					 Error Handling Helpers(3)

NAME
Error Handling Helpers - Error Match globus_bool_t globus_error_gssapi_match (globus_object_t *error, globus_module_descriptor_t *module, const OM_uint32 major_status) Wrap GSSAPI Error globus_object_t * globus_error_wrap_gssapi_error (globus_module_descriptor_t *base_source, OM_uint32 major_status, OM_uint32 minor_status, int type, const char *source_file, const char *source_func, int source_line, const char *short_desc_format,...) Detailed Description Helper functions for dealing with Globus GSSAPI Error objects. This section defines utility functions for dealing with Globus GSSAPI Error objects. Function Documentation globus_bool_t globus_error_gssapi_match (globus_object_t *error, globus_module_descriptor_t *module, const OM_uint32major_status) Check whether the error originated from a specific module and match a specific major status. This function checks whether the error or any of it's causative errors originated from a specific module and contains a specific major status. If the module descriptor is left unspecified this function will check for any error of the specified major_status and vice versa. Parameters: error The error object for which to perform the check module The module descriptor to check for major_status The major status to check for Returns: GLOBUS_TRUE - the error matched the module and major status GLOBUS_FALSE - the error failed to match the module and major status globus_object_t* globus_error_wrap_gssapi_error (globus_module_descriptor_t *base_source, OM_uint32major_status, OM_uint32minor_status, inttype, const char *source_file, const char *source_func, intsource_line, const char *short_desc_format, ...) Allocate and initialize an error of type GLOBUS_ERROR_TYPE_GLOBUS which contains a causal error of type GLOBUS_ERROR_TYPE_GSSAPI. Parameters: base_source Pointer to the originating module. major_status The major status to use when generating the causal error. minor_status The minor status to use when generating the causal error. type The error type. We may reserve part of this namespace for common errors. Errors not in this space are assumed to be local to the originating module. source_file Name of file. Use __FILE__ source_func Name of function. Use _globus_func_name and declare your func with GlobusFuncName(<name>) source_line Line number. Use __LINE__ short_desc_format Short format string giving a succinct description of the error. To be passed on to the user. ... Arguments for the format string. Returns: The resulting error object. It is the user's responsibility to eventually free this object using globus_object_free(). A globus_result_t may be obtained by calling globus_error_put() on this object. Author Generated automatically by Doxygen for globus gssapi error from the source code. Version 4.1 Wed Jan 25 2012 Error Handling Helpers(3)

Check Out this Related Man Page

Error Construction(3)						   globus common					     Error Construction(3)

NAME
Error Construction - Macros #define GLOBUS_ERROR_TYPE_ERRNO Construct Error globus_object_t * globus_error_construct_errno_error (globus_module_descriptor_t *base_source, globus_object_t *base_cause, const int system_errno) Initialize Error globus_object_t * globus_error_initialize_errno_error (globus_object_t *error, globus_module_descriptor_t *base_source, globus_object_t *base_cause, const int system_errno) Detailed Description Create and initialize a Globus Errno Error object. This section defines operations to create and initialize Globus Errno Error objects. Macro Definition Documentation #define GLOBUS_ERROR_TYPE_ERRNO Error type definition. Function Documentation globus_object_t* globus_error_construct_errno_error (globus_module_descriptor_t *base_source, globus_object_t *base_cause, const intsystem_errno) Allocate and initialize an error of type GLOBUS_ERROR_TYPE_ERRNO. Parameters: base_source Pointer to the originating module. base_cause The error object causing the error. If this is the original error, this paramater may be NULL. system_errno The system errno. Returns: The resulting error object. It is the user's responsibility to eventually free this object using globus_object_free(). A globus_result_t may be obtained by calling globus_error_put() on this object. globus_object_t* globus_error_initialize_errno_error (globus_object_t *error, globus_module_descriptor_t *base_source, globus_object_t *base_cause, const intsystem_errno) Initialize a previously allocated error of type GLOBUS_ERROR_TYPE_ERRNO. Parameters: error The previously allocated error object. base_source Pointer to the originating module. base_cause The error object causing the error. If this is the original error this paramater may be NULL. system_errno The system errno. Returns: The resulting error object. You may have to call globus_error_put() on this object before passing it on. Author Generated automatically by Doxygen for globus common from the source code. Version 14.7 Tue Nov 27 2012 Error Construction(3)
Man Page