globus_callout_config(3)
β¨ NAME β¨
globus_callout_config β Callout Configuration
- Register callouts. That's the whole vibe. π
π¦ SYNOPSIS π¦
Functions
globus_result_t globus_callout_read_config (globus_callout_handle_t handle,
char *filename)
globus_result_t globus_callout_register (globus_callout_handle_t handle,
char *type, char *library, char *symbol)
π Detailed Description π
okay bestie, listen. This section is all about registering callouts. That's it, that's the assignment. β¨
You've got exactly two ways to do it:
- through a configuration file, or
- through calls to
globus_callout_register.
Pick your fighter, both slay. π«Ά
π Function Documentation π
π globus_result_t globus_callout_read_config (globus_callout_handle_t handle, char * filename) π
Read callout configuration from file. Literally what it says on the tin, no cap.
This function reads a configuration file, and that file has rules, bestie. Here's the format:
- Anything after a
#is assumed to be a comment. ποΈ - Blanks lines are ignored. (yes, "Blanks" β that's the original, we don't touch the words, we just notice them π)
- Lines specifying callouts have the format
abstract type library symbol
- where abstract type denotes the type of callout, e.g.
globus_gram_jobmanager_authz, library denotes the library the callout can be found in, and symbol denotes the function name of the callout. And here's the cute part: the library argument can be specified in two forms,libfooorlibfoo_flavor. When you use the former version, the current flavor will automatically be added to the library name if needed. β¨ auto-magic, we love her.
π Parameters
- handle β The handle that is to be configured
- filename β The file to read configuration from
π Returns
This function returns GLOBUS_SUCCESS or a globus_result_t referring to an error object of one of the following types:
π Return values
GLOBUS_CALLOUT_ERROR_OPENING_CONF_FILEβ Error opening filenameGLOBUS_CALLOUT_ERROR_PARSING_CONF_FILEβ Error parsing fileGLOBUS_CALLOUT_ERROR_OUT_OF_MEMORYβ Out of memory
π globus_result_t globus_callout_register (globus_callout_handle_t handle, char * type, char * library, char * symbol) π
Register callout configuration.
This function registers a callout type in the given handle. Short, sweet, does the thing. π
π Parameters
- handle β The handle that is to be configured
- type β The abstract type of the callout
- library β The location of the library containing the callout
- symbol β The symbol (ie function name) for the callout
π Returns
This function returns GLOBUS_SUCCESS or a globus_result_t referring to an error object of one of the following types:
π Return values
GLOBUS_CALLOUT_ERROR_OUT_OF_MEMORYβ Out of memory
π Author π
Generated automatically by Doxygen for globus_callout from the source code. Not a human author, just a lil robot doing its thing. π€β¨
π that's the whole page bestie, you ate. Now go register some callouts, main character energy only.
signing off from globus_callout, Version 4.3 of the globus_callout_config(3) manual page β iykyk πΈπ¦π
π¦ where this page comes from
- epel 10: globus-callout-doc 4.3-7.el10_0 Β· Apache-2.0
- fedora 43: globus-callout-doc 4.3-12.fc43 Β· Apache-2.0
- fedora 44: globus-callout-doc 4.3-13.fc44 Β· Apache-2.0
- ubuntu resolute: libglobus-callout-doc 4.3-3build2 Β· Apache-2.0
- ubuntu stonking: libglobus-callout-doc 4.3-4 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms