Callout Handle Operations(3) globus callout Callout Handle Operations(3)NAME
Callout Handle Operations -
Typedefs
typedef struct
globus_i_callout_handle_s * globus_callout_handle_t"
Initialize Handle
globus_result_t globus_callout_handle_init (globus_callout_handle_t *handle)
Destroy Handle
globus_result_t globus_callout_handle_destroy (globus_callout_handle_t handle)
Detailed Description
Initialize and Destory a Globus Callout Handle structure.
This section defines operations for initializing and destroying Globus Callout Handle structure.
Typedef Documentation
typedef struct globus_i_callout_handle_s* globus_callout_handle_t
Callout handle type definition.
Function Documentation
globus_result_t globus_callout_handle_init (globus_callout_handle_t *handle)
Initialize a Globus Callout Handle. Parameters:
handle Pointer to the handle that is to be initialized
Returns:
GLOBUS_SUCCESS if successful A Globus error object on failure: GLOBUS_CALLOUT_ERROR_WITH_HASHTABLE
globus_result_t globus_callout_handle_destroy (globus_callout_handle_thandle)
Destroy a Globus Callout Handle. Parameters:
handle The handle that is to be destroyed
Returns:
GLOBUS_SUCCESS
Author
Generated automatically by Doxygen for globus callout from the source code.
Version 2.2 Mon Apr 30 2012 Callout Handle Operations(3)
Check Out this Related Man Page
Callout Configuration(3) globus callout Callout Configuration(3)NAME
Callout Configuration -
Configure Callouts
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
Functions for registering callouts.
This section defines operations for registering callouts. Callouts may be registered either through a configuration file or through calls
to globus_callout_register.
Function Documentation
globus_result_t globus_callout_read_config (globus_callout_handle_thandle, char *filename)
Read callout configuration from file. This function read a configuration file with the following format:
o Anything after a '#' is assumed to be a comment
o Blanks lines are ignored
o 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. The library argument can be specified in two forms, libfoo or libfoo_<flavor>. When using the former version the current flavor
will automatically be added to the library name.
Parameters:
handle The handle that is to be configured
filename The file to read configuration from
Returns:
GLOBUS_SUCCESS A Globus error object on failure: GLOBUS_CALLOUT_ERROR_OPENING_CONF_FILE GLOBUS_CALLOUT_ERROR_PARSING_CONF_FILE
GLOBUS_CALLOUT_ERROR_WITH_HASHTABLE GLOBUS_CALLOUT_ERROR_OUT_OF_MEMORY
globus_result_t globus_callout_register (globus_callout_handle_thandle, char *type, char *library, char *symbol)
Register callout configuration
This function registers a callout type in the given handle. 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:
GLOBUS_SUCCESS A Globus error object on failure: GLOBUS_CALLOUT_ERROR_WITH_HASHTABLE GLOBUS_CALLOUT_ERROR_OUT_OF_MEMORY
Author
Generated automatically by Doxygen for globus callout from the source code.
Version 2.2 Mon Apr 30 2012 Callout Configuration(3)