Grid Community Toolkit
6.2.1566487665 (tag: v6.2.20190829)
|
Register callouts. More...
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) |
Register callouts.
This section defines operations for registering callouts. Callouts may be registered either through a configuration file or through calls to globus_callout_register.
globus_result_t globus_callout_read_config | ( | globus_callout_handle_t | handle, |
char * | filename | ||
) |
Read callout configuration from file.
This function read a configuration file with the following format:
abstract type library symbol
handle | The handle that is to be configured |
filename | The file to read configuration from |
GLOBUS_CALLOUT_ERROR_OPENING_CONF_FILE | Error opening filename |
GLOBUS_CALLOUT_ERROR_PARSING_CONF_FILE | Error parsing file |
GLOBUS_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.
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 |
GLOBUS_CALLOUT_ERROR_OUT_OF_MEMORY | Out of memory |