globus_ope...or_utility(3)
π globus_openssl_error_utility β Error Object Helper Functions π
okay bestie, come closer, we're doing globus_ope...or_utility(3) from the Library Functions Manual today and honestly? it's giving niche-but-iconic β¨
πΈ NAME πΈ
globus_openssl_error_utility β Error Object Helper Functions π
- Error Object Helper Functions.
π¦ SYNOPSIS π¦
Functions
globus_bool_t globus_error_match_openssl_error (globus_object_t *error,
unsigned long library, unsigned long function, unsigned long reason)
globus_object_t * globus_error_wrap_openssl_error
(globus_module_descriptor_t *base_source, int error_type, const char
*source_file, const char *source_func, int source_line, const char
*format,...)
β¨ Detailed Description β¨
Error Object Helper Functions π
so the functions in the Error Object Helper Functions section are the ones that deal with Globus error objects built out of OpenSSL error data. literally what they do is manipulate the generic globus_object_t representation of an OpenSSL error. that's the whole vibe, no cap π«Ά
π Function Documentation π
π globus_bool_t globus_error_match_openssl_error (globus_object_t * error, unsigned long library, unsigned long function, unsigned long reason)
Check whether the error originated from a specific library, from a specific function and is of a specific type. π
this one checks whether the error β or any of its causative errors β originated from a specific library, a specific function, and is of a specific type. it goes digging through the whole little error family tree, fr fr π³
Parameters
- error β The error object for which to perform the check
- library β The library to check for
- function β The function to check for
- reason β The type to check for
Return values
GLOBUS_TRUEβ Error matched π₯GLOBUS_FALSEβ Error failed to match π
π globus_object_t * globus_error_wrap_openssl_error (globus_module_descriptor_t * base_source, int error_type, const char * source_file, const char * source_func, int source_line, const char * format, ...)
Wrap the OpenSSL error and create a wrapped globus error object from the error. π¦
this function gets all the OpenSSL errors out of the error list, and chains them together using the globus error string object. and the resulting globus error object? it's a wrapper to the OpenSSL error sitting at the end of the chain. the way that it just collects them all and links them upβ¦ obsessed β¨
Parameters
- base_source β The module that the error was generated from
- error_type β The type of error encapsulating the OpenSSL error
- source_file β Name of file. Use
FILE - source_func β Name of function. Use
_globus_func_nameand declare your func withGlobusFuncName(<name>) - source_line β Line number. Use
LINE - format β format string for the description of the error entry point where the OpenSSL error occurred, should be followed by parameters to fill the format string (like in
printf).
Returns
The globus error object. A globus_result_t object can be created using the globus_error_put function π
See also
globus_error_put()
not me pointing out that these param descriptions are doing the most with capital letters, but bestie, copy them exactly like that, iykyk π
π Author π
Generated automatically by Doxygen for globus_gsi_openssl_error from the source code. π€β¨
and that's the whole page, bestie, we ate and left absolutely zero crumbs π
signing off from the globus_gsi_openssl_error era, Version 4.4 π mwah π
π¦ where this page comes from
- epel 10: globus-gsi-openssl-error-doc 4.4-4.el10_0 Β· Apache-2.0
- fedora 43: globus-gsi-openssl-error-doc 4.4-9.fc43 Β· Apache-2.0
- fedora 44: globus-gsi-openssl-error-doc 4.4-10.fc44 Β· Apache-2.0
- ubuntu resolute: libglobus-gsi-openssl-error-doc 4.4-3build1 Β· Apache-2.0
- ubuntu stonking: libglobus-gsi-openssl-error-doc 4.4-3build2 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms